define a color for plot
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 8 Jun. 2018
1 Stimme
Regarding changing the default color order, see my attached demo.

Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!