[GRASS-dev] [GRASS GIS] #3014: Add ticks to continuous raster legend
GRASS GIS
trac at osgeo.org
Fri Jun 3 09:27:17 PDT 2016
#3014: Add ticks to continuous raster legend
--------------------------+---------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.3.0
Component: Display | Version: svn-trunk
Resolution: | Keywords: d.legend, gsoc2016, cartography
CPU: Unspecified | Platform: All
--------------------------+---------------------------------------------
Comment (by annakrat):
Replying to [comment:1 lazaa]:
> Currently legend has ticks in regular intervals depend on
{{{labelnum}}}. The aim is to add option e.g. {{{steps=100}}} for display
label every hundred or {{{labels_at=[list of values]}}} to add one or more
labels at specific values? (value would have to be min < label_at < max)
Start with drawing the tick marks based on `labelnum`. You should probably
center the label at the tick.
If we want to further complicate it, there is couple of options. For
example, we could have a parameter `tick_value` (or something similar)
where user would specify values where to plot the ticks and labels.
Another option is to add `tick_step` which would create ticks based on the
step. But the `tick_start` may be needed to know where to draw the first
one.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3014#comment:2>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list