Displaying 1 result from an estimated 1 matches for "overcompenates".
2011 Oct 16
2
right justify right-axis tick values in lattice
...eates the right axis tick value with no attempt at
adjustment.
alternates I have tried are
1. formatting the values. This doesn't work because they are in a
proportional font and the blanks
are too narrow.
2. gsub all leading " " characters into two " " characters. This
overcompenates because a blank
is slightly wider than half a digit width.
I prefer to keep the default font. I am willing to go to a fixed width font
(courier for example), but I haven't
figured out the incantation to make that work in graphics.
here is my example:
panel.right <- function(x, y, ...) {...