Skip to content
Prev 66773 / 398525 Next

Finding the "height of a line of text" for axis

Thanks for your reply.
On Wed, Mar 30, 2005 at 08:03:10AM -0600, Marc Schwartz wrote:
This is the effect I am trying to achieve. I did try the route of
overdrawing in white, but decided against it. The reason I haven't
used that, is that firstly I wasn't sure if there would be some
rounding error in a printer which would cause the background to
appear. Secondly, the end of the ticks look weird due to the different
line end types:
 http://www.cl.cam.ac.uk/users/sjm217/volatile/r-lineend.png

Changing to square caps might help, but I was hoping there would be a
nice solution that would let me keep round caps. Any suggestions?

Thank you,
Steven Murdoch.