Legend and scaled plot
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Perez Danny
am 6 Apr. 2021
Kommentiert: Star Strider
am 7 Apr. 2021
Hello community
I am trying to plot earthquakes. I would like to plot them using circles, which size is scaled with their magnitude and at the same time I would like to color them regarding the value of the depth. And, I want to represent them in the legend. Like the adjoint image.
I was trying with scatter, it works, if I do a "scaling/normalization" to the magnitude and then I can fill the circles with a color based on depth, but I do not know how to show the legend using the size of circles.
Another idea that I saw on this forum was the use of index, they scale perfectly the size of the circle, but how can I color them? and how can I plot the size of the circles on the legend?
Please, If someone has any suggestion or comment I would like to hear
Thanks
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!