[R] xlab with text and expression

David Winsemius dwinsemius at comcast.net
Sat Sep 11 17:23:05 CEST 2010


On Sep 11, 2010, at 11:07 AM, threshold wrote:

>
> Dear R users, say
> plot(rnorm(1)~rnorm(1), xlab=paste('abc', expression(x>=1)),

plot(rnorm(1)~rnorm(1), xlab=expression(abc~x >= 1))

# or if you are uncertain whether abc is a plotmath-special then this  
also works

plot(rnorm(1)~rnorm(1), xlab=expression("abc"~x >= 1))


> I want proper sign of weak inequality not just '>='
>
> will appreciate!
> robert
> -- 


David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list