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 visualizaciones (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre Data Exploration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by