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: Changing a color of a line after being plotted
Replies: 1   Last Post: Jul 3, 2013 1:11 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
P.O.L.

Posts: 1
Registered: 7/3/13
Changing a color of a line after being plotted
Posted: Jul 3, 2013 12:06 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

I'm a bit of a novice. How do you change the color of a plotted line after being plotted?

i.e. figure; plot(x1, y1, x2, y2, x1, y3, x1, y4, 'LineWidth',2)

The plot comes up with 4 curves (all different colors), but I'd like to mess around with different colors for specific lines after plotting.

Is there a useful plot documentation out there? I'm having trouble plotting things "quickly" and find myself having to redo plots completely if I forget to something ahead of time (because I'm having trouble changing properties after plotting).

Thanks!
Alex



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.