how to display points from very light red to dark red?
68 visualizaciones (últimos 30 días)
davit petraasya el 11 de Mzo. de 2016
Hi I have 100 points.(100 x and 100 y). I want to plot the points from very light red to very dark red. 1-point very light red,sequence gets darker and darker, and final 100-point totally dark red. Is it possible to do it?
Más respuestas (1)
Chad Greene el 11 de Mzo. de 2016
I recommend brewermap because Jan Brewer's colormaps have been thoughtfully designed and have a nearly linear lightness gradient. That is, the changes in lightness of Jan Brewer's color maps occur at approximately the same rate as the changes in the data they represent.
Here's an example using scatter. Start with Matlab's default colormap:
Then change the colormap: