[GRASSLIST:8793] Re: Querying display monitor locations as percent from origin (0,0)?

Michael Barton michael.barton at asu.edu
Fri Oct 28 01:41:38 EDT 2005


Hamish,

How does it show up when the d.barscale (or your new d.legend) mouse
placement "remembers" its placement?

It doesn't show up in the GUI and I can't see how to capture it from the
command line.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



> From: Hamish <hamish_nospam at yahoo.com>
> Date: Fri, 28 Oct 2005 12:25:54 +1300
> To: <dylan at iici.no-ip.org>
> Cc: <epatton at nrcan.gc.ca>, <GRASSLIST at baylor.edu>
> Subject: [GRASSLIST:8788] Re: Querying display monitor locations as percent
> from origin (0,0)?
> 
>>> Really? I wonder how hard it would be to adjust the monitor commands
>>> to accept a slightly more useful form of location directives... I
>>> have spent a bit of time fussing around with percentage values until
>>> I finally got a reasonable legend...
> ..
>> My method with d.legend ususally is to get it where I want it with the
>> mouse placement and then do trial and error with the at= command until
>> it was correct. d.legend could do what d.barscale does which is after
>> a mouse placement figure out, translate, and remember the placement as
>> the at= option instead of the -m flag, but d.legend is more
>> complicated...
>> 
>> Maybe spit out the placement answer as a G_debug(1,) message for
>> those who want it? That would be pretty easy to add to the mouse code.
> 
> I've just done this in cvs for d.legend mouse placement.
> 
> 
> Hamish




More information about the grass-user mailing list