How can I get two different inputs on map ? like separate x and separate y by using ginput? like when I click first time I get x input and when click second time I get y value. the code which i am trying is below?

1 vue (au cours des 30 derniers jours)
pause(1); h=msgbox('Please Select the centre for circle 1 using the Left Mouse button'); xlabel('Please Select the centre for circle 1 using the Left Mouse button','Color','black'); uiwait(h,5); if ishandle(h) == 1 delete(h); end
xlabel('Please Select the centre for circle 1 using the Left Mouse button','Color','blue'); but=0; while (but ~= 1) %Repeat until the Left button is not clicked [xval,yval,but]=ginput(2); end

Réponses (0)

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by