what is the code for the default blue color for 2D plot?
23 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Kobi
el 7 de Oct. de 2018
Respondida: Image Analyst
el 7 de Oct. de 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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197287/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197289/image.png)
0 comentarios
Respuesta aceptada
dpb
el 7 de Oct. de 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 comentarios
Más respuestas (1)
Image Analyst
el 7 de Oct. de 2018
See attached demo for changing the default color order.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197286/image.png)
0 comentarios
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!