How can I change the line color in a graph using plot?

5 views (last 30 days)
How can I change the *line color* in a graph using plot?

Accepted Answer

madhan ravi
madhan ravi on 18 Oct 2018
Edited: madhan ravi on 18 Oct 2018
plot(x,y,'r') %r refers to red color
See colors to know how many colours are available.

More Answers (0)

Categories

Find more on Line 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!