Scale data on a plot by opacity?
Mostrar comentarios más antiguos
Hi,
I have a set of data that is plotted, in 2D, as a bunch of points (a scatter plot). Each point also has an intensity associated with it. How can I plot the data such that the intensity is represented by relative opacity of one shade of color?
I.e. currently I'm specifying the appearance of the points with 'ro' string, such that each point is a red dot. How do I change this to be scaled such that the most "intense" value is deep red, and the least intense values are grey-red? The key is not to vary color, but to vary opacity in one color.
I've seen this done before, so I know it's possible.
Thanks!
1 comentario
Star Strider
el 3 de Mzo. de 2020
Respuestas (0)
Categorías
Más información sobre Bodies en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!