[R] Plot label symbols and superscript

David Winsemius dwinsemius at comcast.net
Sat Aug 20 02:06:36 CEST 2011


On Aug 19, 2011, at 6:36 PM, Marlin Keith Cox wrote:

> I was unable to find an answer to my problem.  I would like to label
> the y axis of a plot with a rate and would like to use a dot (•)
> rather than a multiplication sign (x).
>
>
> ylab = quote(Speed~(cmxsec^2))
>

?plotmath  # seemed like the logical place to look
# yep, there it is.

plot(1,1, ylab = quote(Speed~(cm%.%sec^2)) )

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list