[R] margin problems?
Uwe Ligges
ligges at statistik.uni-dortmund.de
Tue May 1 10:08:37 CEST 2001
Greg Trafton wrote:
>
> hi, All. I'm using R 1.2.2 on a linux box.
>
> I have very long labels on my y axis, and when I try to print them
> out, they always come out clipped so I can't see them. How do I
> change the margin for the y axis? I've tried mai and mar, but they
> don't seem to do anything...
>
> process.names <- c("Makeprod-data", "Makeprod-QMM", "Search",
> "Download", "View Data", "View QMM", "Consult", "Stop", "Misfire",
> "Misfire", "Unknown")
>
> and Makeprod-data only shows "od-data" ...
par(mar=...) is the right idea, e.g.:
# changing the default for left side margin from 4 to 10:
par(mar=c(5, 10, 4, 2) + 0.1)
plot(1:11, yaxt="n", ylab="")
axis(2, 1:11, labels=process.names, las=2)
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