From: Nas on
Hi,

I have data in the form of

x,y, class number, image.png

the first two are geographical coordinates, then I have a int value for class number and image.png is the path to an image file. I plot my data using scatter(x,y,10,class number) i.e. i color the points in the scatter plot by their class number.

Now my question is: everytime i click on a point in the scatter plot how can I get the associated image to pop up.

thanks in advance.