i need mause coordinate
이전 댓글 표시
i use
axes(handles.axes1); hold on for a=1:n; for ii=1:4 [xi,yi] = ginput(1); plot(xi,yi,'ro') xx(ii)=xi; yy(ii)=yi; end plot(xx,yy,'k'); plot([xx(1) xx(end)],[yy(1) yy(end)],'k'); fill(xx,yy,'r') end
code but i obtain pixels dimention but i want to get which latitude and longitude in picture.
by the way i try tu use input m but there is error it says " Error using gcm (line 26) Not a map axes.
Error in inputm (line 45) gcm(hndl);
Error in goruntu_isleme_arayuz>pushbutton7_Callback (line 145) [c,v]=inputm(4)"
thans for helping
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Interact with Maps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!