Download PBSmapping User's Guide
Transcript
– 31 – Code for Figure C1 R: (Panel A) data(nepacLL); plotMap(nepacLL, xlim=c(-129.3, -122.2), ylim=c(47.5, 51.5), plt=c(0.16, 0.97, 0.16, 0.97), col=rgb(255, 255, 195, maxColorValue=255), bg=rgb(224, 253, 254, maxColorValue=255), tck=c(-0.03), cex = 1.8, mgp=c(1.9, 0.7, 0)); # load the nepacLL data set # plot the nepacLL data set # limit the region horizontally # limit the region vertically # specify the plot region size # set the foreground colour # set the background colour # set the tick mark length # adjust the font size # adjust the axis label locations GMT: (Panel B) A # set the annotation font size # plot the high resolution data set # skip inner polygons (holes) # limit the region horizontally and vertically # use the Mercator projection, 7 inches wide # set the foreground colour # set the background colour # mark every 2 (X) and 1 (Y) degrees on W & S axes # set the pen width to 0.5 points # portrait mode # output to the postscript file GMT-VI.ps B 48 Latitude (°) 49 50 51 gmtset ANOT_FONT_SIZE = 26p pscoast –Dh \ -A0/0/1 \ -R-129.3/-122.2/47.5/51.5 \ -JM7i \ -G255/255/195 \ -S224/253/254 \ -Ba2/a1WSne \ -W0.5p \ -P \ > GMT-VI.ps -128 -126 -124 Longitude (°) Figure C1. (A) Vancouver Island, as plotted in PBSmapping, compared with (B) the same region as output from GMT.