BlastAnim3d: Tephra Transport Snapshots

Description Usage Arguments Examples

View source: R/tephra3D.R

Description

Generates png files showing map view and cross-section view of tephra motion and final position on ground

Usage

1
2
3
BlastAnim3d(L, tframe = 0.1, dir = ".", TOPO = NULL, az = 0,
  xlim = NULL, ylim = NULL, zlim = NULL, units = "m",
  plotMapView = TRUE, plotCrossSection = TRUE)

Arguments

L

output of BlastSim3d

tframe

time interval between frames [s]

dir

directory where png files should be saved

TOPO

DEM: list containing vectors x and y and matrix z with dimensions (length(x), length(y))

az

azimuth of section line (degrees clockwise from North)

xlim

easting limits for map view

ylim

northing limits for map view

zlim

elevation limits for section view

units

units of length (string)

plotMapView

logical: should the map view panel be plotted?

plotCrossSection

logical: should the cross-section panel be plotted?

Examples

1
2
3
4
## Not run:
## BlastSim3d(v = 40, th_i = 2* 1:40, th_a = 90, dt = 0.01)
## BlastAnim3d(L, tframe = 0.1, az = 90)
## ImageMagick shell command: animate -delay 10 * # animate with 0.1-s frame rate

rTephra documentation built on May 2, 2019, 1:30 p.m.

Related to BlastAnim3d in rTephra...