使用任何等高线绘图函数的输出来生成等高线(x,y)坐标表,按等高线水平和组组织。
[cm, h] =等高线(___);
contourTable = getContourLineCoordinates(厘米);
——或
contourTable = getContourLineCoordinates (h);
contourTable =
水平……集团 .......... X ............ Y
____________________________________
-5.8504……1 .......... -1.75 0.44266……
-5.8504……1 .......... 0.375, -1.8038
-5.8504……1 .......... 0.25 ..........- 1.8526
-5.8504……1 .......... 0.125, -1.8498
等等……
其中Level为等高线对象LevelList中的等高线,Group为等高线的分组变量,(X,Y)为等高线的坐标。
引用作为
亚当Danz(2021)。getContourLineCoordinates(//www.tatmou.com/matlabcentral/fileexchange/74010-getcontourlinecoordinates), MATLAB中央文件交换。检索.