What am I doing wrong? (please cc me when replying)

yy <- 1:10
xx <- yy*2
xYplot(yy~xx,ylab="") #this plots as it should

text(.4,5,expression(paste(log, frac(p(b),p(a)) )))

Error in text.default(0.4, 13, expression(paste(log, frac(p(b), p 
(a))))) :
	plot.new has not been called yet

This is the case even when I write:

xxyy <- xYplot(yy~xx,ylab="")
xxyy <- update(xxyy, text(.4,5,expression(paste(log, frac(p(b),p 
(a)) ))) )

More generally: is there a simple method for rotating ylab?
_____________________________
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/



	[[alternative HTML version deleted]]


