ginput Counter or Alternate Colors
4 views (last 30 days)
Show older comments
Hello All, Is there a way to display a counter for the number or ginput mouse clicks on the image as you are making the inputs? If that is not possible, can you alternate ginput marker colors? I want to make sure to make an even number of mouse clicks for my image.
Thanks.
0 Comments
Answers (1)
Walter Roberson
on 5 Aug 2015
Grab http://www.mathworks.com/matlabcentral/fileexchange/38703-custom-ginput or similar. In the code there edit updatePoints() to display the current number of points in some manner convenient to you.
0 Comments
See Also
Categories
Find more on Visual 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!