Skip to content
Back to formatted view

Raw Message

Message-ID: <F12EE30C-0612-4E3B-B640-9DAD8B6252CF@comcast.net>
Date: 2012-10-09T18:32:37Z
From: David Winsemius
Subject: How can I write the square root symbol in an axes label?
In-Reply-To: <1349806426525-4645602.post@n4.nabble.com>

On Oct 9, 2012, at 11:13 AM, 21rosit wrote:

> And how can I write the units of my axis but outside the square root symbol
> I have
> 
> plot(1:10, ylab=bquote(Log(sqrt("Total area (mm)")))) 
> 
> but I need it as in the attached picture
> <http://r.789695.n4.nabble.com/file/n4645602/square_root_mm1.jpg> 


plot(1:10, ylab=bquote(Log(sqrt("Total area")~"(mm)")))

The tilde generates a space, while no space would occur if you substituted "*" for the "~".
-- 
David Winsemius, MD
Alameda, CA, USA