How can I change the line color in a graph using plot?
Show older comments
How can I change the line color in a graph using plot? any one please reply
Accepted Answer
More Answers (1)
SRI
on 23 Jul 2014
0 votes
T = 0:0.1:10;
Y = sin(T.*pi);
plot(y,'r')
Hi vivek Just try this
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!