On 2009-11-16 23:11-0600 Maurice LeBrun wrote: > Sorry I can't be of more help but I'd have to basically rediscover my previous > decision making anyway, even if I had the time to look into it. So a good > learning experience for any developer that decides to take this on.
Thanks for responding so quickly. It sounds like you don't feel too strongly about this style issue until at least there is an implementation to test. Accordingly, I have tentatively committed (revision 10607) the digfix = digmax; solution that removes all the ceiling logic for digfix. That change should allow users complete control over whether they use exponential notation for axes or not (via calls to pls[xyz]ax). However, the change should not affect the default choice (i.e., when pls[xyz]ax are not called) over what labelling notation is used for axes. Note, the "tentatively" above. Style changes are sometimes contentious so I am perfectly willing to revert this commit (or implement some different compromise) if some developer here is not willing to go along with this style change. So everybody please test current PLplot and look at the resulting axis notation to make sure you are happy with this style change. That said, unless I have completely misunderstood the PLplot axis notation logic, I don't believe the above commit will have any practical effect for most users since it should not affect default axis notation. I am assuming here most users have not used pls[xyz]ax at all since those routines previously had very little effect due to the digfix ceiling logic in pldprec. However, one example that does use plsyax is examples/python/test_axis_precision.py, and the above commit that gets rid of that ceiling logic makes the resulting plot (without exponential axis labelling notation) look better in my opinion. Also, as expected that example continues to give the same good result when plsyax(10000, 0) is changed to plsyax(5, 0) (revision 10608). However, (also as expected) I have also shown locally if you change to plsyax(4, 0) (i.e., the default value of ydigmax) or don't call plsyax at all (again to get the default value of ydigmax), the Y axis notation is exponential just as before the pldprec change (revision 10607). 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 Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel