MATLAB Answers

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

103 views (last 30 days)
Kobi
Kobi on 7 Oct 2018
Answered: Image Analyst on 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:

  0 Comments

Sign in to comment.

Accepted Answer

dpb
dpb on 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., ...

  0 Comments

Sign in to comment.

More Answers (1)

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

  0 Comments

Sign in to comment.

Products


Release

R2016a