Dot plot cex

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Dot plot cex

arun kirshna
Dear R'ers,

I was not able to change the font size of axis label using cex.   Tried R archive solutions, though not solved yet.


My code is:

print(dotplot(ss ~ Response | bb*sr*tr, pp, pch = 21,
              strip = FALSE, strip.left = TRUE,layout = c(3,8),
              scales = list(y = list(relation = "free")), cex.axis=.2, cex.label=.2,
                      ylab = "Subject", type = c("p", "a"),
              xlab = "Response to Light", jitter.y = TRUE))
dev.off() 

THanks,
AK

        [[alternative HTML version deleted]]


______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Dot plot cex

Duncan Mackay-2
Hi

see par.setting in ?xyplot
or

trellis.par.get() # beware it is verbose
or for starters
names(trellis.par.get() )

eg
par.settings = list(axis.text = list(cex = 0.75),
   par.xlab.text = list(cex = 0.85),
   par.ylab.text = list(cex = 0.85)),

Duncan Mackay
Department of Agronomy and Soil Science
University of New England
ARMIDALE NSW 2351
Email home: [hidden email]


At 15:21 27/04/2012, you wrote:

>Content-Type: text/plain
>Content-Disposition: inline
>Content-length: 693
>
>Dear R'ers,
>
>I was not able to change the font size of axis label using
>cex.   Tried R archive solutions, though not solved yet.
>
>
>My code is:
>
>print(dotplot(ss ~ Response | bb*sr*tr, pp, pch = 21,
>               strip = FALSE, strip.left = TRUE,layout = c(3,8),
>               scales = list(y = list(relation = "free")),
> cex.axis=.2, cex.label=.2,
>                       ylab = "Subject", type = c("p", "a"),
>               xlab = "Response to Light", jitter.y = TRUE))
>dev.off()
>
>THanks,
>AK
>
>         [[alternative HTML version deleted]]
>
>
>______________________________________________
>[hidden email] mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.