Dear Hazen,

> > It would appear that the position and orientation of this x10^nn
> > labelling is not under user programmer control. It would be nice to be
> > able to control this or, perhaps better, have the option to suppress it
> > altogether but access the resulting string (or exponent) so that we
> > could construct a complete label, e.g., "Te.para (x10#u6#d K)". This
> > suppression is more dangerous but offers more flexibility. Merely being
> > able to change the position and orientation would already be a big help.
> > 
> > This would need to be done somewhere in the core routines I suspect. 
> > 
> > Any comments on the desirability of any of this and a possible
> > implementation?
> 
> One option is to make the graph without any labels, then add them 
> yourself using plmtex(). This gives you complete control of the label 
> text and position at the cost of having to layout all the labels yourself.
> 
> -Hazen

This is of course possible, but very undesirable from my perspective -
only a desperate last resort. Not only does it imply manually doing the
very kind of thing that plplot does so well, it also opens up the door
to real errors. If we let plplot mark of the axes with ticks and then
try to label them ourselves, we need to be sure we follow (= code
ouselves) the same algorithm plplot uses to decide where to put the
ticks, and also that we will always get the transition from fixed to
floating pt correct. This sound to me like reinventing the wheel when in
the simplest case all that is required is the ability to change position
and orientation values (3 numbers) that are at present not accessible
from the api interface.

I'm not at all complaining about your suggestion. Indeed, the reason for
my posting is because I had already thought about a do-it-ourselves
approach and therefore wondered if someone else had also either
encountered it or was more familiar with the internal plplot workings
and would have the expertise to offer a more elegant and robust
solution.

Regards,
Steve

-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7900
The Blackett Laboratory            E-mail: s.schwa...@imperial.ac.uk
Imperial College London            Office: Huxley 711A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to