> I would like to give the concentration of a substance in a plot title:
> 
> 5 ug/ml substance

Examples of including a variable in text are given in the ?plotmath page, under 
" ## How to combine "math" and numeric variables".

For your case, 
plot(1:10)
conc=5
title(main=bquote(.(conc)~mu*"g/ml substance")) 

works.

S

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}

______________________________________________
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