看板 MATLAB 關於我們 聯絡資訊
最近在處理衛星影像,已經找到可以讀取滑鼠座標的function set (gcf, 'WindowButtonMotionFcn', @mouseMove); 1: function mouseMove (object, eventdata) 2: C = floor( get(gca, 'CurrentPoint')); 3: title(gca, ['(X,Y) = (', num2str(C(1,1)), ', ',num2str(C(1,2)), ')']); 但我想要顯示座標時,同時顯示該座標點的Z值 不知有甚麼方法可以達到呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.68.35 ※ 文章網址: https://www.ptt.cc/bbs/MATLAB/M.1438226688.A.999.html