Opened 14 years ago
Closed 14 years ago
#1147 closed enhancement (fixed)
user-defined tick labels for d.legend (patch included)
Reported by: | dylan | Owned by: | hamish |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.2 |
Component: | Display | Version: | svn-develbranch6 |
Keywords: | d.legend | Cc: | grass-dev@… |
CPU: | All | Platform: | All |
Description
It would be nice if the legend generated from the following command:
d.legend some_map use=0.001,0.01,0.1,1,10,100
actually used those labels. Currently the values are truncated to integers. Attached is a patch against the current (r43367) GRASS65 source. I know that this is supposed to be feature-frozen, just thought that others might be interested. Customized legends are much simpler to create this way.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | d.legend.patch added |
---|
comment:1 by , 14 years ago
Cc: | added |
---|---|
Component: | Compiling → Display |
CPU: | Unspecified → All |
Keywords: | d.legend added |
Owner: | changed from | to
Platform: | Unspecified → All |
Status: | new → assigned |
Version: | unspecified → svn-develbranch6 |
comment:3 by , 14 years ago
Milestone: | 6.5.0 → 6.4.2 |
---|
Applied in trunk and devbr6 in r45626,7.
aside: One thing I vaguely remember from GRASS 5.0 is that you could set labels for FP values in the cats/ file, and then have those show up in d.legend. I'm not sure if this still works, or if I'm mis-remembering or mis-attributing a reclass/rescale map.
thanks, Hamish
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
backported to 6.4svn in r46386.
Hamish
I'll have a look.
Hamish