[R] R plot problems
Marta Rufino
mrufino at ipimar.ualg.pt
Fri Oct 15 11:51:43 CEST 2004
Dear Li,
If you are using base grafics, you use the argument srt (see help(par)),
if you are using latice, you use rot argument.
For example:
scala=list(y=list(alternating=F, draw=T, rot=0,tick.number=6),
x=list(alternating=F, draw=T, rot=0, tick.number=8))
xyplot(xx ~ yy, data=b, scale=scala)
hope this helps,
All the best
Marta
----- Original Message -----
From: "Henric Nilsson" <henric.nilsson at statisticon.se>
To: "Ivy_Li" <Ivy_Li at smics.com>
Cc: <r-help at stat.math.ethz.ch>
Sent: Friday, October 15, 2004 10:38 AM
Subject: Re: [R] R plot problems
> At 16:17 2004-10-15 +0800, you wrote:
>
> >[...] I want to rotate the direction of x-coordinates' letter so that it
> >can show all. But I don't know how to write this option or function .
>
> I'm not sure if I've understood your question correctly. But if you use
> base graphics and want e.g. rotated labels, you'll achive this rather
> easily using functions in the gridBase package. (Take a look at the
package
> vignette for an example that'll get you started.)
>
> Henric
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list