Create Own Legend With Colors and Boxes
Ältere Kommentare anzeigen
So basically what I've done is created a figure that shows the relative densities of a bunch of point cloud data. Then using getrect I will be able to have the user click and drag a smaller sample area. The only thing I want to do to enhance this is to create a legend which would basically be of the form:
White 0
Red 1 - 6400
Orange 6400 - 80000
Yellow 80001 - 500000
Green 500001 or More

Now when I plotted these areas I did not use a typical method. I ran a loop that determined where to plot an area, and colored the area according to the specifications listed above. I don't have a data set for which to throw into a legend function.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Legend finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!