change contrast(brightness) of the scatter plot

1 visualización (últimos 30 días)
shaz
shaz el 13 de Dic. de 2012
a=1; b=200; scatter(a,b,1000,'r','filled')
how can i modify the contrast(to light red color or dark red color)

Respuestas (1)

Walter Roberson
Walter Roberson el 13 de Dic. de 2012
I'm not sure what you mean by "contrast" in this case? You can set() the color of the underlying axes, or you can use an RGB triple when you set the color.
scatter(a, b, 1000, [0.5 0 0]); %medium red

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by