Azzera filtri
Azzera filtri

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?

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by