[R] ylab with an exponent

Mark Difford mark_difford at yahoo.co.uk
Fri Aug 15 21:22:24 CEST 2008

>> what is the problem?

A solution is:

plot(1,2, ylab=expression(paste("insects ", m^2)))

The problem is very much more difficult to determine.

stephen sefick wrote:
> plot(1,2, ylab= paste("insects", expression(m^2), sep=" "))
> I get insects m^2
> I would like m to the 2
> what is the problem?
> -- 
> Let's not spend our time and resources thinking about things that are
> so little or so large that all they really do for us is puff us up and
> make us feel like gods. We are mammals, and have not exhausted the
> annoying little problems of being mammals.
> 	-K. Mullis
> ______________________________________________
> R-help at 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.

View this message in context: http://www.nabble.com/ylab-with-an-exponent-tp19003927p19004197.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list