define a color for plot
显示 更早的评论
I create a plot such as
Plot1=plot(Date,A,'Color',[0.1112456 0.2098437 0.31116789],'LineWidth',1.2)
Now I want to define a customized color beforehand so that I do not need to type
'Color',[0.1112456 0.2098437 0.31116789]
each time. Please advise.
采纳的回答
更多回答(1 个)
Image Analyst
2018-6-8
1 个投票
Regarding changing the default color order, see my attached demo.

类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!