【GNSS】【绘图】卫星运行图

版权声明:本文为博主原创文章,未经博主允许不得转载。保留追究法律责任,转载联系博主。交流欢迎加QQ群463339221。 https://blog.csdn.net/m0_37362454/article/details/85322954

at=[-90 90];

lon=[-180 180];

worldmap(lat,lon);

h1=axesm('MapProjection','eqdcylin','maplatlimit',lat,'maplonlimit',lon,'frame','on','parallellabel','on','meridianlabel','on','flinewidth',1,'plabellocation',5,'mlabellocation',10);

setm(h1,'fedgecolor',[.6 .6 .6], 'fontname','Times New Rom','fontsize',12);

setm(h1,'grid','on');

setm(h1,'LabelFormat','none');%{compass} | signed | none

setm(h1,'PLabelMeridian','west','MLabelParallel','south');%横纵坐标轴位置

setm(h1,'Origin',[0 114]);

grid off;

h=geoshow('landareas.shp','FaceColor', [0.8 0.8 0.8]);
这段代码是用来绘制基本地图以及设置坐标标注格式,控制地图颜色、投影中心、范围等等。基本设置完全涵盖,相信
这一个可以解决以后的很多通用问题。
另外一个就是plotm、textm等等,其实一看名字就明白就是跟plot、text用法完全一样的。这个命名挺科学的,哈哈。

        plotm(poss(1,1),poss(2,1),'o','markersize',8,'MarkerFaceColor','y');

        textm(poss(1,1)+8,poss(2,1)-10,prn, 'fontname','Times New Rom','FontWeight','Bold','Color','K','fontsize',14);%

猜你喜欢

转载自blog.csdn.net/m0_37362454/article/details/85322954