Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Legend won't pick up on plot colors
Replies: 3   Last Post: Mar 14, 2013 1:55 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 5,674
Registered: 2/7/05
Re: Legend won't pick up on plot colors
Posted: Mar 14, 2013 1:55 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 3/13/2013 11:13 PM, Nasser M. Abbasi wrote:

>
> Change you plot command to this and it will work:
>
> plot(t,y(1,:),'b',t,y(1,:),'r');
>


meant

plot(t,y_exact(1,:),'b',t,y(1,:),'r')

--Nasser





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.