Hi

Judith Flores wrote:
> Hello,
> 
> I have a y-axis label that reads:  "S. schenckii yeast cells". The
> part that reads "S. schenckii" needs to be in italic style, the rest
> of the text is normal style. How can I specify the different font
> styles for each part of the y-axis label?


You can use R's 'plotmath' facility to do this ...

plot(1, ylab=expression(paste(italic("S. schenckii"), " yeast cells")))

Paul


> Thank you,
> 
> Judith
> 
> ______________________________________________ R-help@r-project.org
> 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.

-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
[EMAIL PROTECTED]
http://www.stat.auckland.ac.nz/~paul/

______________________________________________
R-help@r-project.org 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 via email to