ginput Counter or Alternate Colors

4 visualizzazioni (ultimi 30 giorni)
Cy
Cy il 5 Ago 2015
Risposto: Walter Roberson il 5 Ago 2015
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.

Risposte (1)

Walter Roberson
Walter Roberson il 5 Ago 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.

Categorie

Scopri di più su Visual Exploration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by