plot,gps-method | R Documentation |
This function plots a gps object. An attempt is made to use the whole space
of the plot, and this is done by limiting either the longitude range or the
latitude range, as appropriate, by modifying the eastern or northern limit,
as appropriate.
To get an inset map inside another map, draw the first map, do
par(new=TRUE)
, and then call plot.gps
with a value of
mar
that moves the inset plot to a desired location on the existing
plot, and with bg="white"
.
## S4 method for signature 'gps'
plot(
x,
xlab = "",
ylab = "",
asp,
clongitude,
clatitude,
span,
projection,
expand = 1,
mgp = getOption("oceMgp"),
mar = c(mgp[1] + 1, mgp[1] + 1, 1, 1),
bg,
axes = TRUE,
cex.axis = par("cex.axis"),
add = FALSE,
inset = FALSE,
geographical = 0,
debug = getOption("oceDebug"),
...
)
x |
a gps object. |
xlab |
label for x axis |
ylab |
label for y axis |
asp |
Aspect ratio for plot. The default is for |
clongitude , clatitude |
optional center latitude of map, in decimal
degrees. If both |
span |
optional suggested span of plot, in kilometers. The suggestion
is an upper limit on the scale; depending on the aspect ratio of the
plotting device, the radius may be smaller than |
projection |
optional map projection to use (see
|
expand |
numerical factor for the expansion of plot limits, showing
area outside the plot, e.g. if showing a ship track as a gps, and then an
actual gps to show the ocean boundary. The value of |
mgp |
3-element numerical vector to use for |
mar |
value to be used with |
bg |
optional color to be used for the background of the map. This comes in handy for drawing insets (see “details”). |
axes |
boolean, set to |
cex.axis |
value for axis font size factor. |
add |
boolean, set to |
inset |
set to |
geographical |
flag indicating the style of axes. If
|
debug |
set to |
... |
optional arguments passed to plotting functions. For example,
set |
Dan Kelley
Other functions that plot oce data:
download.amsr()
,
plot,adp-method
,
plot,adv-method
,
plot,amsr-method
,
plot,argo-method
,
plot,bremen-method
,
plot,cm-method
,
plot,coastline-method
,
plot,ctd-method
,
plot,ladp-method
,
plot,landsat-method
,
plot,lisst-method
,
plot,lobo-method
,
plot,met-method
,
plot,odf-method
,
plot,rsk-method
,
plot,satellite-method
,
plot,sealevel-method
,
plot,section-method
,
plot,tidem-method
,
plot,topo-method
,
plot,windrose-method
,
plot,xbt-method
,
plotProfile()
,
plotScan()
,
plotTS()
,
tidem-class
Other things related to gps data:
[[,gps-method
,
[[<-,gps-method
,
as.gps()
,
gps-class
,
read.gps()
,
summary,gps-method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.