Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


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


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



