|
From: Schwartz, S. J <s.s...@im...> - 2013-05-24 14:55:12
|
I attach a patch to svn 12298 which addresses the following issues: 1 Exponential labels, e.g. (x10^nn), along vertical axes were absent when driven by plslabelfunc(). This was due to the fact that the call to plmtex was unreachable in the case if(plsc->label_data) being true. 2 Default height, pos, and just values correspond to the bottom of the left but top of the right vertical axes. I think both should be at the top (but accept this is my humble opinion. These are easy to change.) 3 Default height, pos, and just values are inappropriate for both "l" and "lv" label orientations. To be honest, finding a decent default for this in "v" orientation is pretty difficult. 4 There were other bugs, e.g., in using a "t" option rather than "l" or "lv" to plmtex. The attached test code illustrates the initial state and the result after my changes to plbox. I made parallel changes to the code in label_box_custom as it is virtually identical here, but don't have source code to test it. Best wishes Steve -------------------------------------------------------------------- Professor Steven J Schwartz Phone: +44 (0)207 594 7660 Head, Space & Atmospheric Physics Fax: +44 (0)207 594 7772 The Blackett Laboratory Email: s.s...@im... Imperial College London Office: Huxley 6M67A London SW7 2AZ, UK Web: www.sp.ph.ic.ac.uk/~sjs -------------------------------------------------------------------- |