如何使用绘图更改图表中的线条颜色?
4 次查看(过去 30 天)
显示 更早的评论
如何使用绘图更改图表中的线条颜色?
2 个评论
Steven Lord
2023-2-24
Google Translate says this question is "How to change the line color in a chart using plotly"
回答(1 个)
Joel
2023-3-14
Hi,
You can specify the colour of the line by simply specifying a string in the plot syntax. This string can specify the line color, type of line and type of marker at each data point.
Type the command “help plot” on your command line or refer to the MATLAB Documentation for more information: 2-D line plot - MATLAB plot - MathWorks India
1 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!