define a color for plot
Show older comments
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.
Accepted Answer
More Answers (1)
Image Analyst
on 8 Jun 2018
1 vote
Regarding changing the default color order, see my attached demo.

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!