[R] how to turn axis labels for trellis/dotplot
Deepayan Sarkar
deepayan at stat.wisc.edu
Fri Feb 21 18:27:03 CET 2003
On Friday 21 February 2003 08:02 am, Thomas Gerds wrote:
> hi,
>
> it occurs quite naturally that groupnames have so many characters that
> they overlap as horizontally printed labels for the xaxis in a
> dotplot. is it possible to turn ('par(las=1)') the (x)axis-labels in a
> dotplot?
See the 'scales' argument in ?xyplot. What you need is 'rot', for example,
xyplot(...,
scales = list(x = list(rot = 90)))
('abbreviate' might help as well, depending on your situation)
> in general, is it possible to add new customization themes to
> trellis.get()?
See ?lset
Not everything can be controlled by the settings though.
Deepayan
More information about the R-help
mailing list