[R] Setting lattice par parameters

Steve_Friedman at nps.gov Steve_Friedman at nps.gov
Thu Apr 23 15:25:12 CEST 2009


Hello

I'm plotting a large suite of barcharts and need to modify the size of the
text for both the yaxis and xaxis labels.

I've tried using the following:

> trellis.par.set(list(par.ylab.text = list(cex = 0.65)),
trellis.par.set(list = par.xlab.text = list(cex = 0.65))))

On inspection,  however after I invoke this line,

>  trellis.par.get("par.ylab.text")
>  trellis.par.get("par.xlab.text")

It looks like the parameters have not been modified.

Do I need to do something different than this approach ?

Thank you very much in advance.

Steve

Steve Friedman Ph. D.
Spatial Statistical Analyst
Everglades and Dry Tortugas National Park
950 N Krome Ave (3rd Floor)
Homestead, Florida 33034

Steve_Friedman at nps.gov
Office (305) 224 - 4282
Fax     (305) 224 - 4147




More information about the R-help mailing list