powered by
Plot function to plot the 3-D tracks in 2-D plane
plot2d( origTrack, simTrack = NULL, titleText = character(1), DEM = NULL, BG = NULL, padding = 0.1, alpha = 0.7, resolution = 500 )
a list containing data.frames with x,y,z coordinates or a data.frame
string with title of the plot
an object of type RasterLayer, needs overlapping extent with the line(s)
RasterLayer
adds a pad to the 2-D space in percentage (by default set to 0.1)
a number between 0 and 1, to specify the transparency of the simulated line(s)
number of pixels the rasters are downsampled to (by default set to 500 pixels)
A ggplot2 object.
# NOT RUN { plot2d(niclas) # }
Run the code above in your browser using DataLab