[R] mtext bold font problem

Michael Kubovy kubovy at virginia.edu
Sun Feb 25 21:45:24 CET 2007


On Feb 24, 2007, at 6:12 PM, Joseph Retzer wrote:

> I'd like to create an mtext title which has certain words bold, the  
> rest not bold.

x <- 1:10
y <- x^2
plot(x, y, main = expression(paste(
     "Overall Satisfaction Call",
     bold(" Difference "),
     "vs. Overall Satisfaction Rep.",
     bold(" Difference")))
)

_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/



More information about the R-help mailing list