## S3 method for class 'coastline':
plot(x,
xlab="", ylab="",
asp,
center, span,
expand=1.5,
mgp=getOption("oceMgp"),
mar=c(mgp[1]+1,mgp[1]+1,1,1),
bg,
fill='lightgray',
axes=TRUE,
debug=getOption("oceDebug"),
...)coastline object, as read by
read.coastline or created by
as.coastline, or a list containing items named
latitudplot.coastline to set the aspect ratio to give natural
latitude-longitude scaling somewhere near the centre latitude on the
plot. Often, it makes sense to set asp yourself, espan.)center is supplied).expand is ignored if either par(mgp), and
also for par(mar), computed from this. The default is
tighter than the R default, in order to use more space for the
data and less for the axes.par("mar").read.coastline). Set to NULL to turn off
filTRUE to plot axes.TRUE to get debugging information during
processing.yaxp=c(-90,90,4) for a plot extending from pole
to pole. To get an inset map inside another map, draw the first map, do
par(new=TRUE), and then call plot.coastline with a value
of mar that moves the inset plot to a desired location on the
existing plot, and with bg="white".
read.coastline can read coastlines from data
files, provided that they are in a certain class of formats. A
coastline may be summarized by summary.coastline.library(oce)
data(coastlineWorld)
plot(coastlineWorld)Run the code above in your browser using DataLab