MATLAB Answers

Kobi
0

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

Asked by Kobi
on 7 Oct 2018
Latest activity Answered by Image Analyst
on 7 Oct 2018
Accepted Answer by dpb
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.

Products


Release

R2016a

2 Answers

Answer by dpb
on 7 Oct 2018
 Accepted Answer

>> 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.


Answer by Image Analyst
on 7 Oct 2018

See attached demo for changing the default color order.

  0 Comments

Sign in to comment.