From: Ethan A Merritt <firstname.lastname@example.org> - 2006-01-07 06:52:31
I just had occasion to use your patch in preparing a plot,
since I ran up against the fact that the current parsing code for
"set colorbox user orig <pos1> size <pos2>"
only accepts screen coordinates for <pos>.
Your patch saved me in this case, but I think the restriction
to use screen coordinates should be removed for 2D plots.
Since you've been looking at this code recently, would
you care to modify it to remove this restriction?
That way the user can easily tweak the place using, e.g.
set colorbox user orig 1.1 graph, 0.0 graph
set colorbox user size 0.2 graph, 0.8 graph
If not, I'll put in on my list of future code-tweaks.
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
Ethan A Merritt wrote:
> That way the user can easily tweak the place using, e.g.
> set colorbox user orig 1.1 graph, 0.0 graph
> set colorbox user size 0.2 graph, 0.8 graph
Err.. please make that syntax match the usual one, i.e.
set colorbox user orig graph 1.1
Better yet, actually use the low-level input functions for <coordinate>
values as used by 'set label' and 'set arrow', and support all their
options, so all you have to put in the docs would be
set colorbox user orig <coord_x>, <coord_y>
and point to 'help coordinates' for details what <coord_x> can be.