While investigating the old bug report
https://sourceforge.net/tracker/?func=detail&aid=844858&group_id=2915&atid=102915,
I managed to reproduce the problem with the following python script:
#!/usr/bin/env python
# Append to effective python path so that can find plplot modules.
from plplot_python_start import *
import sys
from plplot import *
from numpy import *
# Parse and process command line arguments
plparseopts(sys.argv, PL_PARSE_FULL)
# Initialize plplot
plinit()
plsyax(10000, 0)
pladv(0)
plvpor(0.1, 0.9, 0.1, 0.9)
plwind(0.00, 1.00, 0.00, 0.08)
plbox("bcnst", 0.0, 0, "bcnstv", 0.0, 0);
plend()
I have committed (revision 10590) this script as
examples/python/test_axis_precision.py so you can play with plsyax and
plwind arguments yourself.
Despite the extremely large first argument of plsyax, the plot still shows
the exponential notation if the maximum y value of plwind is 0.08 completely
contrary to an example of how to use plsyax in
http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.5/viewport_window.html#annotation.
If I change the plwind call to
plwind(0.00, 1.00, 0.00, 0.10)
the issue goes away. I am virtually positive this is a bug because I have
found no way to get rid of the exponential notation for the maximum y value
of 0.08. Does anybody have a clue how to fix or work around this bug?
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel