[GRASS5] d.legend and d.out.png

Hamish hamish_nospam at yahoo.com
Sun Aug 22 22:52:13 EDT 2004


> > d.barscale gets it right, but note it doesn't use D_color_list() so
> > no pull down menu for the colors. (cost of allowing R:G:B and
> > "none")
> 
> Maybe we should support opt->gisprompt="color". Then the Tcl/Tk
> interface could have a button to display one of those fancy colour
> selector dialogs (the sort that allocate the entire colour map in one
> go).

see the Vector controls in 5.7's d.m. This returns colors as R:G:B, but
the user never sees that. That would make things harder for the color
blind of course..


> However, the behaviour of d.what.rast, d.zoom etc (i.e. may or may not
> require options, depending upon what's on the monitor) is potentially
> problematic for scripts. If there doesn't happen to be anything on the
> monitor (e.g. because a previous command failed), the script will just
> sit there waiting for user input.

But you wouldn't use an interactive command in a script..
Well, maybe if you were building some sort of app., not just automation.



Hamish




More information about the grass-dev mailing list