[R] dotplot: labeling coordinates for each point

Deepayan Sarkar deepayan.sarkar at gmail.com
Sun Apr 26 20:31:46 CEST 2009


On 4/26/09, Qifei Zhu <zhu_qifei at yahoo.com.sg> wrote:
> Hi David,
>
>  Thanks! It looks much better now. but is there any way to add (x,y)
>  coordinates as labels to all the points in the graph? Best case if I can
>  enforce some conditions saying if (y>10,000) label, else no label. Any
>  advice is appreciated.

Sure, write a panel function. See the examples in ?xyplot.

-Deepayan




More information about the R-help mailing list