Problem with plotting graph in Matlab

Status
Not open for further replies.

Chest

Member level 3
Joined
Sep 18, 2006
Messages
67
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,756
Hi there,

I'm faced some problem in plotting graph in Matlab. What is the meaning of 'b-' in the following code? Thanks in advance.

Matlab code
% Plot the interpolated curve.
plot(xys(1,,xys(2,,'b-');
hold off
 

Matlab problem!

Could you write your code again , there a problem to see it , there are some emotion in your code ), set it in code tag
 

Re: Matlab problem!

Here, the matlab code

% Plot the interpolated curve.
plot(xys(1,: ),xys(2,: ),'b-');
hold off


This code found from Matlab help command. Thanks in advance.
 

Matlab problem!

i guess b for blue, as in the color of the plot
 

Matlab problem!

It is a line type. First character 'b' means that line will blue color. Second character '-' means that line will be continous. See 'LineSpec' in Matlab help.

Regards,
Kit
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…