Interesting ...

I believe that the problem is when you use the substitute construction, you
produce an expression object that is interpreted and rendered using the fonts via
the plotmath facility (?plotmath).

When you just use paste, the title is character and gets rendered via the
defaults of title.

You can make them the same by making them both character strings, e.g., vis

> nval <- 20
> plot(0,0)
> title(paste("n = ", nval))

for example.

Or you could wrap the text version in expression() to use plotmath fonts.

Cheers,
Bert

Bert Gunter

Non-Clinical Biostatistics
Genentech
MS: 240B
Phone: 650-467-7374


"The business of the statistician is to catalyze the scientific learning
process."

 -- George E.P. Box

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to