Put Image on cursor coordinates
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello
When I get cursor coordinates in matlab gui, values of X and Y are between 0 and 600
when I want to put image to those coordinates on the same axes,it only appears on screen for coordinates <1 !
How can I solve this problem ? ( dividing X and Y by 100 isn't a solution )
I want my image to appear exactly where the user clicks
Thank you
0 Kommentare
Antworten (1)
Image Analyst
am 8 Jan. 2014
I'm not exactly sure what you're asking. Have you seen impixelinfo()?
2 Kommentare
Image Analyst
am 8 Jan. 2014
Make sure the "units" property of all your controls (buttons, figure, axes, whatever) are the same (pixels, normalized, or whatever). There is probably a mismatch. And not all controls can overlap (for example you can't use subplot() to overlap axes because it just doesn't show one). And how to you know whether the item you place there will be on top of underneath the control you clicked on?
Siehe auch
Kategorien
Mehr zu Visual Exploration finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!