Closed ericmelse closed 9 months ago
This is mathematical notation. []
is a closed interval (closed on both sides); (]
is an interval that is open on the left and closed on the right. Use option label()
to define how the intervals will be labeled. The default is label(1 = "[@lb,@ub]" * = "(@lb,@ub]")
because this how geoplot
defines the intervals. Type, for example, label(* = "[@lb,@ub]")
or label("[@lb,@ub]")
to use brackets for all intervals. See the information on label()
for details. You can also type label("@lab")
which is a synonym for label("@lb - @ub")
; some people prefer such labels over the mathematical notation.
Thank you for explaining it all. I got it working now just fine!
CBS_MobilityProv_20230705.zip
Dear Ben, I continue my exploration of
geoplot
using the same shpfile for the map of The Netherlands. Now I use data to color code the regions, using the variableVerplaasTot
which is the average number of persons that move by any means of transportation (as reported here by Statistics Netherlands). I attached the necessary files, should you want to replicate, and my code is:Which results in: The map itself and the color coding is fine. But, the legend labels/values are enclosed, mostly, by
(,]
and by[,]
for the first color code. I assume that the use of the round and straight bracket is controlled internally bygeoplot
. I suppose it has to be either an enclosing round or straight bracket at every label. Maybe some correction is needed. Having said that, I welcome an option to select either round or straight brackets to enclose label values of the legend.