how we get matlab software with lisence
2 views (last 30 days)
Show older comments
How can I change the line color in a graph using plot?
0 Comments
Answers (2)
mbonus
on 8 Sep 2016
Purchase the license on MathWorks and download the software.
plot(x,y,'LineSpec')
LineSpec determines the color and type of line, options are found here http://www.mathworks.com/help/matlab/ref/plot.html#inputarg_LineSpec
0 Comments
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!