Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8990463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:30:20+00:00 2026-06-15T22:30:20+00:00

As the help document of Matlab saying, we can use gplot in such a

  • 0

As the help document of Matlab saying, we can use gplot in such a form as

gplot(A,Coordinates,LineSpec)

But when I try to modify the linewidth of the line and use a code like

gplot(A,Coordinates,'linewidth',2)

an error occurred and the error information saying that Error using gplot:
Too many input arguments.

I was wondering if their is anything wrong with my code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:30:21+00:00Added an answer on June 15, 2026 at 10:30 pm

    Building on the answer of PearsonArtPhoto, the lines can be modified if they are explicitly found using findall(gcf,'type','line').

    This is a working example:

    k = 1:30;
    [B,XY] = bucky;
    gplot(B(k,k),XY(k,:),'-*')
    set(findall(gcf,'type','line'),'LineWidth',5)
    axis square
    

    which produces the following figure
    Gplot with modified LineWidth.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

You can book mark a help document through Editor-> Add bookmark. But how to
Can anybody please help me with a link or document to run jbpm-5.2 on
Using document.GetElementById(thingieID) doesn't seem to work. Can anyone help this DOM newbie?
I need help how to use correctly the javascript : document.cookie or how to
Hi can anyone please provide me with some document who can help me setting
Possible Duplicate: $(document).ready shorthand Can someone help me to understand the JS code below,
can anyone help me.. [NSString stringWithFormat:@document.getElementsByTagName('body')[0].style.textAlign = 'right';];
Can I get some help with the following code? $(document).ready(function() { $('#searchform').submit(function() { var
Can someone help me please. I have the following (simplified) code. function save_all_des(){ document.getElementById(form_zoom1).submit();
I was hoping someone could help me with the following script: jQuery(document).ready(function($) { $(.infoBoxBtn

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.