#1049: optional histogram sidebar for legends ------------------------------+--------------------------------------------- Reporter: hamish | Owner: grass-dev@… Type: enhancement | Status: new Priority: minor | Milestone: 7.0.0 Component: Display | Version: svn-trunk Keywords: d.legend, ps.map | Platform: All Cpu: All | ------------------------------+---------------------------------------------
Comment(by hamish): Hi, I've added to this ticket a screenshot of the new functionality. https://trac.osgeo.org/grass/attachment/ticket/1049/dleg_histo.png shown is a horizontal legend for elevation.10m from Spearfish drawn with a histogram (-d flag), flipped left-right (-f flag, but setting at= as max,min has the same effect [wxGUI currently seems to be sorting at=, so that isn't working from the mouse]), and since I set the data units= with r.support the legend now displays "meters" too without needing a separate call to d.text. the color rules there are a new addition as well, "roygbiv". In the screenshot r.colors was run with the -e flag so the color scaling is set to equal areas under the histogram curve instead of a linear color transition from min to max. have fun, Hamish -- Ticket URL: <https://trac.osgeo.org/grass/ticket/1049#comment:3> GRASS GIS <http://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev