GDIST

版本 1.0.0.0 (3.1 KB) 作者: Andrew Stevens
Display distance and azimuth between two points on a figure
1.3K 次下载
更新时间 2008/10/24

查看许可证

GDIST is a simple GUI to display x, y, distance and bearing for two points on a 2D figure. If no inputs are supplied, the information will be displayed on the current axis. To use the tool, simply type gdist at the command window when a figure is open. Click on the starting point, hold down the button and move the mouse to new location. Release the mouse when finished. The units displayed in the distance window are the same as the figure axis. The azimuth is reported in compass degrees (ie. geographic).

Example:

[X,Y,Z]=peaks(50);
figure
surf(X,Y,zeros(size(Z)),Z)
view(2)
gdist

引用格式

Andrew Stevens (2024). GDIST (https://www.mathworks.com/matlabcentral/fileexchange/21884-gdist), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Map Display 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0