Dec 22, 2006 #1 C 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
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
Dec 22, 2006 #2 ITpro Member level 2 Joined Oct 12, 2006 Messages 48 Helped 8 Reputation 16 Reaction score 3 Trophy points 1,288 Location G2 house Viet Nam Activity points 1,781 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
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
Dec 23, 2006 #3 C 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 Re: Matlab problem! Here, the matlab code % Plot the interpolated curve. plot(xys(1,: ),xys(2,: ),'b-'); hold off Click to expand... This code found from Matlab help command. Thanks in advance.
Re: Matlab problem! Here, the matlab code % Plot the interpolated curve. plot(xys(1,: ),xys(2,: ),'b-'); hold off Click to expand... This code found from Matlab help command. Thanks in advance.
Dec 23, 2006 #4 ITpro Member level 2 Joined Oct 12, 2006 Messages 48 Helped 8 Reputation 16 Reaction score 3 Trophy points 1,288 Location G2 house Viet Nam Activity points 1,781 Matlab problem! Can you tell me your command what you used
Dec 23, 2006 #5 safwatonline Advanced Member level 4 Joined Nov 19, 2005 Messages 1,341 Helped 219 Reputation 438 Reaction score 48 Trophy points 1,328 Location EGYPT Activity points 9,038 Matlab problem! i guess b for blue, as in the color of the plot
Dec 23, 2006 #6 Kit-the-great Full Member level 3 Joined Mar 30, 2002 Messages 150 Helped 5 Reputation 10 Reaction score 3 Trophy points 1,298 Location Russia Activity points 1,318 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
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