I've noticed some unexpected behavior with plschr and plenv.  I  
modified x09c.c by adding this line...

     plschr(0.0, 0.5);

...immediately before the first plenv call in main (i.e. the plenv  
call for the "Plot using identity transform" plot).  This plenv call  
draws the numeric labels for the X and Y ticks, and the above plschr  
call resulted in smaller text for that plot, which I expected.

The unexpected (at least by me) behavior is that the next plot (i.e.  
the "Plot using 1d coordinate transform" plot) reverted back to the  
default character size.  Even if I put a plschr call immediately  
before the second plenv call, the numeric labels on the second plenv  
call come out at the default size.  In fact, I can't find a way to  
make the numeric labels drawn in subsequent plenv calls be anything  
other than the default size!

I found a "workaround": call plenv with axis=-1 (or -2) and  
subsequently call plschr and plbox to draw the numeric labels (and box).

Can anyone shed light on why only the first plenv call respects  
earlier plschr calls?

Thanks,
Dave


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to