How can I change the line color in a graph using plot
3 views (last 30 days)
Show older comments
inhibitor181
on 19 Sep 2018
Answered: Walter Roberson
on 19 Sep 2018
How can I change the line color in a graph using plot
0 Comments
Accepted Answer
Walter Roberson
on 19 Sep 2018
Two examples:
plot(x, y, 'r') %named color, red
plot(x, y, 'Color', [0.37 0.88 .06]) %unnamed color given by relative intensities
0 Comments
More Answers (0)
See Also
Categories
Find more on Graph and Network Algorithms 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!