ginput Counter or Alternate Colors
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.
Answers (1)
Walter Roberson
on 5 Aug 2015
0 votes
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.
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!