File: plotgrid.m

package info (click to toggle)
rtklib 2.4.3%2Bdfsg1-2.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 41,796 kB
  • sloc: cpp: 51,592; ansic: 50,584; fortran: 987; makefile: 861; sh: 45
file content (18 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function plotgrid(file)

if nargin<1, file='stec/iono.pos'; end

fn='times new roman';
fs=8;

[s,w,t,lat,lon]=textread(file,'%s %f %f %f %f');

figure('color','w');

gmt('mmap','proj','miller','cent',[137,38],'scale',13,'pos',[0,0,1,1],'fontname',fn,'fontsize',fs);
gmt('mcoast');
gmt('mgrid','gint',1,'lint',5,'color',[.5 .5 .5]);

for i=1:length(s)
    gmt('mplot',lon(i),lat(i),'r','marker','.');
end