Learn R Programming

opentraj (version 1.0)

PlotTraj:

Plot Trajectory

Description

The function PlotTraj is designed to plot HySplit trajectories calculated by the function ProcTraj.

Usage

PlotTraj(traj, ...)

Arguments

traj
SpatialLines or SpatialLinesDataFrame calculated by the functions Df2SpLines and Df2SpLinesDf respectively.
...
Further arguments to be passed to the generic function plot.

Details

This function calls the function PlotBgMap to plot the background map behind the trajectories.

See Also

Df2SpLines, Df2SpLinesDf, ProcTraj.

Examples

Run this code
  crs <- "+proj=longlat +datum=NAD83 +no_defs +ellps=GRS80 +towgs84=0,0,0"
  air.traj.lines <- Df2SpLines(air.traj, crs)
  PlotTraj(air.traj.lines)

Run the code above in your browser using DataLab