BlastAnim3d {rTephra} | R Documentation |
Tephra Transport Snapshots
Description
Generates png files showing map view and cross-section view of tephra motion and final position on ground
Usage
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
## 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
[Package rTephra version 0.1 Index]