[R] changing font size in plot(effect())

Chuck Cleland ccleland at optonline.net
Wed May 24 19:55:20 CEST 2006


Try this:

trellis.par.set(par.ylab.text = list(cex = 4))
plot(effect ("alti",reg8), ylab="detection probability")

?trellis.par.set

Emilie Berthiaume wrote:
> 
> I can't seem to be able to change the font size in an effect display.  I've
> tried the following:
> 
>> par(cex.lab=4)
>> plot(effect ("alti",reg8), ylab="detection probability")
> 
> and
> 
>> plot(effect ("alti",reg8), ylab="detection probability", cex=4)
> 
> but nothing changes.  Can anyone help me?
> thanks.
> 
> 
> Emilie Berthiaume
> graduate student
> Sherbrooke University
> 2500 boul. de l'Université
> Sherbrooke, Québec
> J1K 2R1 CANADA
> 
> Phone: 1-819-821-8000 poste 2059
> Fax: 1-819-821-8049
> emilie.berthiaume at USherbrooke.ca
> 
> ______________________________________________
> 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
> 

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894



More information about the R-help mailing list