usage: fl plot [-h] [--ihdf IHDF [IHDF ...]] [--gpl] [--gpt GPT] [--gpc GPC] [--run RUN] [--mode {xy,xz,yz,x,y,z,1d,2d,3d}] [--pos POS]
Plots grid data using an external program and predefined templates. Currently, only gnuplot is supported. See README on how to write gnuplot templates.
optional arguments:
argument | description |
---|---|
-h, --help | show this help message and exit |
--ihdf IHDF [IHDF ...] | Input HDF file(s). Default: all HDF5 files in the current directory |
--gpl | List available Gnuplot templates. If --gtp is also given, prints help for this template. |
--gpt GPT | Gnuplot template to use; can be a path to a file with the template, or name (without .gpt extension) of one of the templates in the gnuplot directory. |
--gpc GPC | Gnuplot command to be inserted to a predefined place in the template. |
--run RUN | Coma separated list of commands #FLRUN from the template to be executed. |
--mode {xy,xz,yz,x,y,z,1d,2d,3d} | Mode of conversion defining how is the output grid created from the input grid. If '1d', '2d' or '3d' is given, the grid of the same dimensionality is created. If 'xy', 'xz', or 'yz' is given, it is assumed that the input file is 3D, and a corresponding 2D cut along is produced and integrals in the normal direction are calculated. If 'x', 'y', or 'z' is given, the input grid can be 2D or 3D and the corresponding 1D cut is produced, and integrals along the remaining two directions are calculated. The position of the cutting plane / line segment can be set by the pos argument. Default: xy. |
--pos POS | Position of the cutting plane or the line segment in case the dimensionality of the input grid is being reduced. If mode is 'xy', 'xz', or 'yz' and the input grid is 3-dimensional, or if mode is 'x', 'y', or 'z' and the input grid is 2-dimensional, the argument pos must be a single number. If mode is 'x', 'y', or 'z' and the input grid is 3-dimensional, the argument pos must be two numbers separated by a coma. Expressions are also allowed, and they can include variables in curly brackets as described above. Default is a central point (or points) in the cutting direction(s). |