bily6662 发表于 2009-1-4 14:39

急求,请问已知中国边界上点的坐标怎么画出类似于中国在地球仪上的曲面图.?

我现在已经知道了中国边界上若干个点的坐标(X,Y,Z,) 请问怎么能用MATLAB画出中国地图的曲面形式,类似于地球仪上的形式.求高人解答谢谢.

sigma665 发表于 2009-1-4 15:06

回复 楼主 bily6662 的帖子

meshgrid
griddata

bily6662 发表于 2009-1-4 18:10

回复 沙发 sigma665 的帖子

高手朋友,能说的明白点么?小弟感激不尽

ch_j1985 发表于 2009-1-4 20:03

回复 板凳 bily6662 的帖子

能否把数据传上来让大家试试?

sogooda 发表于 2009-1-4 21:51

回复 楼主 bily6662 的帖子

你这个挺专业,我想主要的问题不在于matlab,而在于算法。相关的matlab命令,可以参考小西版主在2楼给出的提示。

bily6662 发表于 2009-1-5 15:45

回复 板凳 bily6662 的帖子

点的坐标如下,依次是XY Z 单位是M,点的顺序是围绕中国的一圈的边界点.
597206.05,4288416.464,4672229.571
834461.857,4410700.032,4519546.287
1067407.164,4640479.998,4231251.273
1179146.587,4610261.499,4234619.491
1185511.528,4689920.479,4144406.872
1259662.657,4709887.432,4099647.591
1310608.343,4762488.003,4022177.743
1299020.001,4810169.026,3968843.784
1377074.6,4772176.74,3988344.858
1420508.026,4871038.323,3851239.1
1369460.996,5023503.928,3669589.196
1437356.334,5083271.501,3559670.998
1529604.601,5071337.653,3538183.739
1612315.295,5386099.743,2994539.856
1579424.869,5414434.336,2960779.949
1572226.994,5467219.105,2866097.964
1451523.118,5393058.598,3063478.349
1326800.323,5339462.19,3210396.303
1282199.422,5468040.231,3005561.624
1058233.13,5521423.361,2995150.532
834690.767,5893808.774,2267864.515
501731.336,5830697.712,2515577.44
545016.634,5810131.674,2553865.071
434723.202,5593378.922,3016956.74
443941.353,5545252.351,3103222.912
341763.656,5485151.253,3220747.326
256525.752,5515151.583,3177136.691
160705.157,5349205.301,3455007.453
192517.365,5288814.702,3545176.457
304420.59,5279676.947,3550949.09
486935.992,5232493.995,3600111.1
211433.386,5093589.984,3819363.428
-96825.354,5015490.142,3925860.859
-192260.893,4938904.152,4018353.086
-148321.903,4871158.569,4102037.885
-744574.611,4715078.337,4217883.939
-1441180.494,5010590.554,3659765.168
-1719287.411,5394728.381,2918536.704
-1747568.743,5512378.901,2671438.253
-1756082.563,5779815.203,2021586.073
-1846076.271,5878479.042,1616287.893
-1817601.792,5963559.865,1307355.14
-1901298.381,5987925.848,1052002.141
-1989741.102,5952048.139,1091308.067
-2072181.025,5838621.188,1481036.266
-2166973.153,5842096.112,1323268.821
-2275841.827,5936906.947,388046.2358
-2425769.819,5790085.412,1080486.792
-2406442.642,5754612.896,1292425.715
-2442853.906,5738431.588,1296058.526
-2652573.282,5819265.862,568419.0259
-2622455.304,5772727.271,612574.9205
-2728238.231,5586483.216,1387379.34
-2801273.748,5497486.675,1583478.97
-3155948.245,5542149.255,313891.207
-3286060.029,5521266.022,840041.0704
-3496334.141,5343560.889,448436.6176
-3584691.488,5219955.475,692063.4182
-3455166.529,4874435.568,2208755.792
-3416421.173,4521536.472,2908723.827
-3455325.12,4439401.477,2988200.603
-3543635.374,4513834.715,2764931.193
-3413200.883,4077400.564,3507387.115
-3041696.428,3706786.829,4193413.197
-2343774.025,3418859.663,4836840.076
-1741789.523,3350403.54,5130094.09
-1633570.685,3214869.581,5250996.134
-1750332.757,2981727.545,5350003.373
-1831134.304,2826686.606,5406818.842
-1690205.311,2819594.721,5456188.378
-1631337.851,2684489.402,5541584.021
-1678580.596,2596572.596,5569297.796
-1599357.907,2535023.191,5620730.531
-1493497.11,2513508.747,5659385.14
-1404619.29,2449612.323,5709933.81
-1390699.802,2614512.758,5639785.2
-1256217.85,2586012.322,5684307.96
-1013957.084,2644648.235,5705666.196
-864391.401,2580436.639,5759433.501
-561060.25,2398057.459,5874643.123
-558970.941,2273819.838,5924035.35
-480476.048,2288205.109,5925382.7
-463377.878,2391272.212,5885915.235
-44521.234,2522371.978,5849150.149
601588.126,3121471.951,5520090.994
663564.052,3103776.707,5522965.952
690215.973,3302279.366,5403281.679
548284.94,3347380.789,5391783.145
679429.55,3427838.415,5325898.918
518935.072,3778379.611,5102102.891
432298.233,3847941.214,5058000.262
711286.469,4080604.719,4839383.916
681123.836,4146571.528,4787370.352
485562.364,4126551.623,4828322.783
412331.371,4135753.835,4827258.337
380110.89,4218680.294,4757641.463
300974.832,4323332.519,4668523.33
568126.969,4510379.945,4462130.041
682117.744,4477514.824,4479227.208
597206.05,4288416.464,4672229.571

sogooda 发表于 2009-1-5 20:15

回复 6楼 bily6662 的帖子

这个是什么坐标系?稍微说明一下,不然不知道你的数据怎么用的。

bily6662 发表于 2009-1-5 20:33

回复 7楼 sogooda 的帖子

这个坐标系就是笛卡儿坐标系,X Y 值是地球上一点在赤道平面的投影坐标,Z值是地球表面点到迟到平面的垂直距离
页: [1]
查看完整版本: 急求,请问已知中国边界上点的坐标怎么画出类似于中国在地球仪上的曲面图.?