[R] How to get ``nn%'' in axis values

Uwe Ligges ligges at amadeus.statistik.uni-dortmund.de
Fri Aug 31 09:25:43 CEST 2001


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.

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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