matlab练习程序(地图上画经纬度)

需要看下生成的数据在地球上的经纬度具体位置。

投影为墨卡托投影。

clear all;
close all;
clc;

load coast;
a=load('out.txt');  %自己的经纬度数据

axesm mercator
plotm(lat,long);

hold on
plotm(a(:,1),a(:,2),'.')

原文地址:https://www.cnblogs.com/tiandsp/p/9430252.html