确定轴coordinates
[
allows you to identify the coordinates ofx
,y
] = ginput(n
)n
points within Cartesian, polar, or geographic axes. To choose a point, move your cursor to the desired location and press either a mouse button or a key on the keyboard. Press theReturnkey to stop before alln
points are selected. MATLAB®returns the coordinates of your selected points. If there are no axes, callingginput
creates a Cartesian axes object.