I found some problems with this code, but no worries, I got subplot() working and finished my figure.  The resolution and sharpness of the figure is definitely superior to a version I had been trying to make with ArcMap.


1.        R-3.0.1 didn't find subplot() in TeachingDemos, but it did in Hmisc.

2.       Other glitches:


> tmp <- subplot(
+    plot(wrld_simpl,border=NA,col='green',bg='white',axes=FALSE),
+    'bottomleft', size=c(2,1), inset=c(0.01,0.01))
Error in subplot(plot(wrld_simpl, border = NA, col = "green", bg = "white",  :
  unused argument (inset = c(0.01, 0.01))

> tmp3 <- subplot(
+ plot(wrld_simpl, border='red', axes=TRUE, xlim=c(95,105),
+ ylim=c(-5,5), bg='lightgrey'),
+ 'topright', size=c(2,2))
Error in par(plt = c(xy$x, xy$y), new = TRUE) :
  invalid value specified for graphical parameter "plt"
In addition: Warning message:
In xy.coords(x, y) : NAs introduced by coercion

--Scott

	[[alternative HTML version deleted]]

