Description Usage Arguments Value Author(s) References See Also Examples
Visualize several (or even all) time slices of a NETCDF object into an mp4 animation
1 2 3 4 5 6 | vis_nc_film(nc, index = seq_along(nc$time), Range = range(nc$var, na.rm =
TRUE), vlcnote = TRUE, test = TRUE, outfile = paste0(nc$file, ".mp4"),
width = 7 * 200, height = 5 * 200, interval = 0.1,
ffmpeg = ani.options("ffmpeg"), vidargs = NULL, mar = c(4, 7, 10, 1),
mgp = c(3, 1.2, 0), xpd = TRUE, parargs = NULL, cex = 1,
cex.axis = 3, cex.leg = cex.axis, bg.leg = NA, ...)
|
nc |
nc object from |
index |
Integer: time slice numbers to be plotted. See |
Range |
Range of values, see |
vlcnote |
Add VLC instruction note in each frame? TO include other
information in each frame, use |
test |
Logical: test the resolution parameters etc by creating a single
png file of the first value in |
outfile |
Output video filename. = video.name in
|
width, height |
Size of image frames in pixels. DEFAULT: 7*200, 5*200 |
interval |
Time interval of animation in seconds. DEFAULT: 0.1 |
ffmpeg |
Path to the progam ffmpeg. DEFAULT: ani.options("ffmpeg") |
vidargs |
Further arguments passed to |
mar, mgp, xpd |
Graphical parameters passed to |
parargs |
List of further parameters to |
cex |
Symbol size passed to |
cex.axis, cex.leg |
Label size passed to |
bg.leg |
|
... |
Further arguments passed to |
list of colPoints
list outputs
Berry Boessenkool, berry-b@gmx.de, Feb 2017
http://ffmpeg.org/documentation.html
1 | # to be added
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.