Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top