how we get matlab software with lisence
2 次查看(过去 30 天)
显示 更早的评论
How can I change the line color in a graph using plot?
0 个评论
回答(2 个)
mbonus
2016-9-8
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!