[R] plotting with R
John Fox
jfox at mcmaster.ca
Tue May 4 01:59:09 CEST 2004
Dear Carla,
I often position text on a graph interactively with the mouse via a call to
locator(): e.g., text(locator(3), c("one", "two", "three")).
I hope that this helps,
John
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Liaw, Andy
> Sent: Monday, May 03, 2004 6:14 PM
> To: 'Karla Meurk'; r-help at stat.math.ethz.ch
> Subject: RE: [R] plotting with R
>
> > From: Karla Meurk
> >
> > (2) If I have three curves on a plot how can I label each
> curve so the
> > > label sits directly above the curve?
> >
> >
> > [A]As to your second question: I don't think there will be a simple
> > answer because
> > on has to decide where "above" is. Could you please be
> more specific?
>
> I believe Prof. Harrell has something that places labels for
> curves in `strategic' places in the plot, in his `Hmisc'
> package. Maybe it's only for Trellis graphics?
>
> Andy
>
>
> > Dietrich
> >
> > I have a picture of S+ output which has the label sitting on top of
> > each curve and curving with it -does that make sense?
> >
> > Thanks for your help
> > Carla
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> > http://www.R-project.org/posting-guide.html
> >
> >
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list