Colour legend for scatter plot
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Adam Fitchett
el 20 de Nov. de 2019
Respondida: Adam Fitchett
el 20 de Nov. de 2019
I created a 2D scatter plot with the vectors X, Y and Z and following code
scatter(X,Y,50,Z)
So that I would have X and Y plotted against one another, and Z would be represented as the graded colour of each marker. It worked fine, but I need a legend that shows the range of Z values represented by the range of marker colours. How do I make this?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Legend 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!