[R] plot
Joerg Maeder
maeder at atmos.umnw.ethz.ch
Wed Mar 13 16:14:36 CET 2002
Hello Martin,
in this case i plot the axis manually. That means in that plot itself i
set xaxis='n' and plot the labels with text.
small example
d <- as.data.frame(matrix(runif(60),5))
names(d) <- month.name
boxplot(d,xaxt='n')
ypos <- par()$usr[3]-(par()$usr[4]-par()$usr[3])/50 #a little bit below
the line
text(1:ncol(d),ypos,names(d),srt=270,adj=0,xpd=T) #xpd allows printing
outside the borders,srt rotate the text
gruess
joerg
Martin Lascoux wrote:
>
> Hello!
>
> I use the version 1.4.0 for Windows. I have made boxplots but only half of
> the symbols (three letters each) show up on the X-axis? How t can one
> change their size or orientation so that all show up? I attach the pdf file
> to illustrate better the problem.
>
> Regards
> Martin
>
> Martin Lascoux
> Department of Conservation Biology and Genetics
> Evolutionary Biology Center
> Norbyvägen 18D
> 75236 Uppsala Sweden
> Tel: 46 18 471 64 16
> Fax: 46 18 471 64 24
>
> ------------------------------------------------------------------------
> Name: FTbyPOP22.pdf
> FTbyPOP22.pdf Type: Portable Document Format (application/pdf)
> Encoding: base64
--
Joerg Maeder .:|:||:..:.||.:: maeder at atmos.umnw.ethz.ch
Tel: +41 1 633 36 25 .:|:||:..:.||.::
http://www.iac.ethz.ch/staff/maeder
PhD student at INSTITUTE FOR ATMOSPHERIC AND CLIMATE SCIENCE (IACETH)
ETH ZÜRICH Switzerland
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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