Hi there. I have a matrix that provides place names and the distances between them: Chelt Exeter London Birm Chelt 0 118 96 50 Exeter 118 0 118 163 London 96 118 0 118 Birm 50 163 118 0 After performing multidimensional scaling I get the following points plotted as follows http://www.nabble.com/file/p10810700/demo.jpeg I would like to know how if I hover a point I can get a little box telling me which place the point refers to. Does anyone know? Many thanks. -- View this message in context: http://www.nabble.com/Interactive-plots--tf3818454.html#a10810700 Sent from the R help mailing list archive at Nabble.com.
The package RSVGTipsDevice allows you to do just it just -- you create a plot in an SVG file that can be viewed in a browser like FireFox, and the points (or shapes) in that plot can have pop-up tooltips. -- Tony Plate mister_bluesman wrote:> Hi there. > > I have a matrix that provides place names and the distances between them: > > Chelt Exeter London Birm > Chelt 0 118 96 50 > Exeter 118 0 118 163 > London 96 118 0 118 > Birm 50 163 118 0 > > After performing multidimensional scaling I get the following points plotted > as follows > > http://www.nabble.com/file/p10810700/demo.jpeg > > I would like to know how if I hover a point I can get a little box telling > me which place the point refers to. Does anyone know? > > Many thanks.
You could load it into GGobi using the rggobi package and then use the identification mode, as well as all the other interactive features... http://www.ggobi.org Michael On 5/25/07, mister_bluesman <mister_bluesman@hotmail.com> wrote:> > > Hi there. > > I have a matrix that provides place names and the distances between them: > > Chelt Exeter London Birm > Chelt 0 118 96 50 > Exeter 118 0 118 163 > London 96 118 0 118 > Birm 50 163 118 0 > > After performing multidimensional scaling I get the following points > plotted > as follows > > http://www.nabble.com/file/p10810700/demo.jpeg > > I would like to know how if I hover a point I can get a little box telling > me which place the point refers to. Does anyone know? > > Many thanks. > -- > View this message in context: > http://www.nabble.com/Interactive-plots--tf3818454.html#a10810700 > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@stat.math.ethz.ch 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. >[[alternative HTML version deleted]]