Enriching data plots & figures
6 views (last 30 days)
Show older comments
Hello everyone, I'm looking for a way to display a small image (like a thumbnail) in a Matlab figure when the mouse is clicked . The image must change depending on the position of the mouse click, so I need somehow to know at which coordinate the mouse event was fired.
The idea is to enrich my figure, on which my algorithm's state is plotted, with additional information. Particularly if the mouse is clicked at, say, position x,y I want to load a corresponding image representing the information related to x,y and visualize it just the way it is possible to show a data cursor or any datatip. The only difference is that I don't have text, just pictures.
Can anybody please help me? Thanks Simona
0 Comments
Answers (1)
Daniel Shub
on 18 May 2012
I would have a look at the FEX. There are a number of submissions with zoom and thumbnail/inset capabilities.
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!