Effacer les filtres
Effacer les filtres

what is the code for the default blue color for 2D plot?

16 vues (au cours des 30 derniers jours)
Kobi
Kobi le 7 Oct 2018
while ploting something i noticed that the default color is more like light blue, but when i define the color blue i get a different hue. what is the code for this default color?
see what i mean in the figures below:

Réponse acceptée

dpb
dpb le 7 Oct 2018
>> get(groot,'defaultAxesColorOrder')
ans =
0 0.4470 0.7410
0.8500 0.3250 0.0980
0.9290 0.6940 0.1250
0.4940 0.1840 0.5560
0.4660 0.6740 0.1880
0.3010 0.7450 0.9330
0.6350 0.0780 0.1840
>>
The letter monikers for colors are the pure colors, 'b' --> [0 0 1], etc., ...

Plus de réponses (1)

Image Analyst
Image Analyst le 7 Oct 2018
See attached demo for changing the default color order.

Produits


Version

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by