Description Usage Arguments Details Note Author(s) See Also Examples
Function for plotting a recorded track from a Move object or the probability values from a DBBMM object
1 2 3 4 5 6 |
x |
Move, MoveStack, MoveBurst or DBBMM object |
y |
unused variable (listed for compatibility reasons) |
type |
defines the type of the plot (e.g. 'l', 'p', 'b', 'o') |
asp |
defines the aspect ratio of the plot generally 1 makes most / only sense since then x and y dimenstions are the same |
... |
arguments to be passed to methods, such as graphical parameters, and the logical add argument (see |
If x
is a Move, MoveStack object a track is plotted with points and lines. The track can be added to another plot with the add = TRUE
.
If x
is a MoveBurst object colored lines (according to the burstID) are plotted if the type is set to 'l'. By default it is 'p' which plots the real coordinates of the Move object as points.
If x
is a DBBMM object its raster object is plotted with the corresponding cell values. Unlike the image
function, the cell size ratio keeps the same when the plot window is re-sized.
Have a look on the proportion of the graphic device when printing a track or raster. The plot function does not use equal sized units on both axes.
Marco Smolla
1 2 3 4 5 6 7 8 9 10 | data(leroy)
data(fishers)
plot(leroy) # plot a Move object
plot(leroy, type="o", col=3)
plot(fishers, col=c(3,5), lwd=3) # plot a MoveStack object
plot(fishers, type="l", col=c(3,5), lwd=3)
data(dbbmmstack)
data(leroydbbmm)
plot(leroydbbmm) # plot the raster of a DBBMM object
plot(dbbmmstack) # plot the raster of a DBBMMStack object
|
Loading required package: geosphere
Loading required package: sp
Loading required package: raster
Loading required package: rgdal
rgdal: version: 1.5-18, (SVN revision 1082)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
Path to GDAL shared files: /usr/share/gdal
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 6.3.1, February 10th, 2020, [PJ_VERSION: 631]
Path to PROJ shared files: /usr/share/proj
Linking to sp version:1.4-4
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.