[R] specifying font in axis label (output from expression)

Anne York york at noaa.gov
Tue Jan 22 16:00:11 CET 2002


My default fonts are Times, but a colleague needs a plot with Helvetica
looking  labels (font 6 on my setup).  The plot contains an x-axis label
generated by the R-command expression. Here is an example:

deln15.lab <-  expression(delta^15 * N) 
par(font = 6, font.axis = 6, font.lab=6,font.main = 6, font.sub = 6)
plot(1:10,1:10,xlab = deln15.lab) 

All is fine except that the label generated by expression on the x-axis
is still in Times. 

Can anyone tell me what I'm doing wrong? -- besides running R 1.3.1 on
windows 2000. 

Thanks,

Anne
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Anne E. York
National Marine Mammal Laboratory
Seattle WA 98115-0070  USA
e-mail: anne.york at noaa.gov
Voice: +1 206-526-4039
Fax: +1 206-526-6615
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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