plot2d: Plot function to plot the 3-D tracks in 2-D plane

Description Usage Arguments Value Examples

View source: R/plot3D.R

Description

Plot function to plot the 3-D tracks in 2-D plane

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot2d(
  origTrack,
  simTrack = NULL,
  titleText = character(1),
  DEM = NULL,
  BG = NULL,
  padding = 0.1,
  alpha = 0.7,
  resolution = 500
)

Arguments

origTrack

a list containing data.frames with x,y,z coordinates or a data.frame

simTrack

a list containing data.frames with x,y,z coordinates or a data.frame

titleText

string with title of the plot

DEM

an object of type RasterLayer, needs overlapping extent with the line(s)

BG

an object of type RasterLayer, needs overlapping extent with the line(s)

padding

adds a pad to the 2-D space in percentage (by default set to 0.1)

alpha

a number between 0 and 1, to specify the transparency of the simulated line(s)

resolution

number of pixels the rasters are downsampled to (by default set to 500 pixels)

Value

A ggplot2 object.

Examples

1

munterfi/eRTG3D documentation built on Feb. 25, 2022, noon