Skip to content
Prev 31531 / 398506 Next

can't plot ylab in graph

On Fri, 2 May 2003, Faheem Mitha wrote:

            
Right, so why do you think it accepts `ylab'?  There seems to be a crop of
people asking questions or sending bug reports who think `xlab' and `ylab'
are graphical parameters, but that are actually arguments to title() which
plot.default passes through.

What you can do is call title(), as in

library(MASS)
truehist(rnorm(100))
title(ylab="some y label")