[R] How to get ``nn%'' in axis values
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Aug 31 09:39:11 CEST 2001
On Fri, 31 Aug 2001, Uwe Ligges wrote:
> Duncan Murdoch wrote:
>
> > >Also, the x axis value labels on my horizontal barplot are rotated 90 degrees
> > >(perpendicular to the axis) no matter what I do. I tried las=1 but that didn't
> > >work. Is this doable?
> >
> > I believe that depends on the graphics driver, but I've never played
> > with las. If it works for other kinds of plots but not barplots, then
> > I'd submit it as a bug report.
>
> Just use something like
>
> par(las=1)
> barplot(....)
>
> which works for me.
>
> You cannot specify las as an argument in barplot at this time.
> It would be easy to add this functionality to barplot(),
> *but* there are very many arguments in par() that cannot be passed to
> barplot() and to many other high-level graphic functions. It will cost
> many lines of code to make it possible to pass *all* those arguments
> directly.
That's a good point, but it seems that just adding ... in a couple
of places does this. It should work come 1.4.0, if this survives
further testing.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list