Description Usage Arguments Details Value Author(s) See Also Examples
With the help of MakeSnapshotInfo, converts binary snapshot output files from infraFDTD to PNG format.
1 2 3 4 |
info |
Output of MakeSnapshotInfo(). |
outputdir |
Directory where PNG files should be written. |
prefix |
Prefix to use in output file names (e.g., outputdir/prefix_sec1_001.png). |
nums |
Vector of snapshot numbers to convert (default is all of them). |
dt |
Snapshot interval in seconds |
makesec1 |
Logical: should section 1 snapshots be converted? |
makesec2 |
Logical: should section 2 snapshots be converted? |
makesurf |
Logical: should surface snapshots be converted? |
res |
Resolution of output PNG files (see ?png). |
fn_topomap |
File name for topo map output. |
width |
Width of output images (pixels) |
height |
Optional: if blank, MakeSnapshots() will find the correct height given the image dimensions and asp. If set, forces the height of output images. |
asp |
Aspect ratio of images (default 1). |
pointsize |
Pointsize in output images (default 12). |
Use a shell command like 'convert' (imagemagick, available in linux) to make a gif out of the stills.
None, file output only.
Jake Anderson; code is heavily modified from Keehoon Kim's original.
MakeSnapshotInfo
1 2 3 4 | ## Don't Run: (requires snapshot files)
## info = MakeSnapshotInfo('./snapshots', dframe = 20, N = 400,
## xs = 100, ys = 100, zs = 500)
## MakeSnapshots(info, outputdir = './anim', prefix = 'snapshot', dt = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.