My continuing work on a bounding box for plcolorbar requires a bounding box calculation for plbox which lead me to discover annoying inconsistencies in the various idiosyncratic methods used to determine superscript/subscript offset and font size scaling factors by the various device drivers.
I implemented plP_script_scale to provide a consistent PLplot core method of obtaining those scaling factors which was an improvement on all idiosyncratic methods. Furthermore, as of revision 11804 I have replaced the idiosyncratic method with the plP_script_scale method for almost all of our device drivers. The exceptions are wxwidgets and other plfreetype-based drivers where I invite someone else to convert from the idiosyncratic to plP_script_scale method of determining offset and font size scale factors since I don't understand how those scale factors are currently determined for such drivers. (There seems to be component of the calculation both in plfreetype.c as well as in wxwidgets.cpp. I don't understand how those are supposed to fit together, and I don't have the time to figure it out.) In sum revision 11804 is a good stopping point for this mini-project for me. Now that I have consistent results for exponent placement for most device drivers, I plan to return to finishing the bounding-box calculation including inverted tick marks, numerical tick labels, and exponents for plbox, and the overall title for plcolorbar. 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 __________________________ ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel