[R] Add item to scale?

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Jan 31 10:01:27 CET 2002



Robert Lundqvist wrote:
> 
> Hi,
> 
> many thanks for all suggestions as to shading of areas. Now to another small
> detail: how do I add items to the x-axis? Given a plot of "dnorm", I'd like
> to add some text to the x-axis, preferably with a corresponding tick mark.
> Imagine the typical \lambda demarcating a tail area. So far, I've only been
> able to add text in the plot region, not in the one of the axes.
> Suggestions?

Two solutions:
 mtext() for placing text into the margins or
 text() after par(xpd=TRUE)

Uwe
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list