Re: [R] plotting with R

About this list Date view Thread view Subject view Author view Attachment view

From: Frank E Harrell Jr (feh3k@spamcop.net)
Date: Tue 04 May 2004 - 09:50:34 EST


Message-id: <20040503195034.26fe1c60.feh3k@spamcop.net>

On Mon, 3 May 2004 19:14:26 -0400
"Liaw, Andy" <andy_liaw@merck.com> wrote:

> > 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?

The labcurve function in Hmisc works for both trellis and standard
graphics. It has many label placement options.

Frank

>
> 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

---
Frank E Harrell Jr   Professor and Chair           School of Medicine
                     Department of Biostatistics   Vanderbilt University

______________________________________________ R-help@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


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST