The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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


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).


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.