Enriching data plots & figures

조회 수: 6 (최근 30일)
simona
simona 2012년 5월 18일
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

답변 (1개)

Daniel Shub
Daniel Shub 2012년 5월 18일
I would have a look at the FEX. There are a number of submissions with zoom and thumbnail/inset capabilities.
  댓글 수: 1
simona
simona 2012년 5월 18일
Hi Daniel, I think I found something useful by searching for the "inset" keyword in the FEX. Thanks for your suggestion!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by