Agustin Lobo
2013-Feb-28 15:36 UTC
[R] query labels in iplot() (or other interactive scatterplot)
By Ctr-moving the cursor over a point in an iplot() scatterplot (package iplots) it is possible to check the exact x,y coordinates of a given point. Is it possible to check a text label for that point as well? (i.e., the same info that would get printed on the graphic using text(x,y, labels=v) or with identify(x,y,labels), but I do not want to get the labels permanently plotted on the graphic) Thanks -- -- Dr. Agustin Lobo Institut de Ciencies de la Terra "Jaume Almera" (CSIC) Lluis Sole Sabaris s/n 08028 Barcelona Spain Tel. 34 934095410 Fax. 34 934110012 e-mail Agustin.Lobo at ictja.csic.es https://sites.google.com/site/aloboaleu/
Greg Snow
2013-Mar-01 00:44 UTC
[R] query labels in iplot() (or other interactive scatterplot)
The HWidentify and HTKidentify functions in the TeachingDemos package let you specify a label for each point, then that label is displayed when you hover over that point with the mouse (and it goes away when you move the mouse away from that point). On Thu, Feb 28, 2013 at 8:36 AM, Agustin Lobo <Agustin.Lobo@ictja.csic.es>wrote:> By Ctr-moving the cursor over a point in an iplot() scatterplot > (package iplots) it is possible to check the exact x,y coordinates > of a given point. Is it possible to check a text label for that point > as well? (i.e., the same info that would get printed on the graphic > using text(x,y, labels=v) > or with identify(x,y,labels), but I do not want to get the labels > permanently plotted on the graphic) > > Thanks > > -- > -- > Dr. Agustin Lobo > Institut de Ciencies de la Terra "Jaume Almera" (CSIC) > Lluis Sole Sabaris s/n > 08028 Barcelona > Spain > Tel. 34 934095410 > Fax. 34 934110012 > e-mail Agustin.Lobo@ictja.csic.es > https://sites.google.com/site/aloboaleu/ > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Gregory (Greg) L. Snow Ph.D. 538280@gmail.com [[alternative HTML version deleted]]