Why ' gpos.m' is not working( ginput with posiiton of the current axes)?
Show older comments
gpos.m file should work like GINPUT provided by Matlab,but it traces the position of cursor without click and is designed for 2-D axes. But Its getting error using in app designer?
Error:
Error using gpos
Too many input arguments.
Can any one help me with this?
3 Comments
Walter Roberson
on 21 Sep 2022
How are you invoking gpos ?
One of the first lines,
h_figure=gcf;
should instead be
h_figure = ancestor(h_axes, 'figure');
Rik
on 28 Sep 2022
I recovered the removed content from the Google cache (something which anyone can do). Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.
This page is now archived on the Wayback Machine. Unfortunatly, the attached file could not be recovered.
Rena Berman
on 19 Oct 2022
(Answers Dev) Restored edit
Accepted Answer
More Answers (0)
Categories
Find more on Data Exploration 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!