1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
% @MCCODE_PREFIX@PLOT-html(1)
% @FLAVOR_UPPER@ @MCCODE_PARTICLE@ Ray Tracing Team
% @MCCODE_DATE@
# NAME
**@MCCODE_PREFIX@plot-html** - Plotting the results of a @MCCODE_NAME@ simulation in a browser
# SYNOPSIS
**@MCCODE_PREFIX@plot-html** [-h] [-n] [-l] [--autosize] [--libpath [LIBPATH ...]] [-o OUTPUT] [simulation ...]
# DESCRIPTION
The front-end **@MCCODE_PREFIX@plot-html** is a program that produces plots of all the
monitors in a simulation, and it is thus useful to get a quick overview of the
simulation results. In the simplest case, the front-end is run simply by typing
`@MCCODE_PREFIX@plot-html`. This will plot any simulation data stored in the current
directory, which is where simulations store their results by default. If the
`--dir` or `--file` options have been used, the name of the file or directory
should be passed to *@MCCODE_PREFIX@plot-html*, e.g. `@MCCODE_PREFIX@plot-html dir` or
`@MCCODE_PREFIX@plot-html file`. It is also possible to plot one single text (not
binary) data file from a given monitor, passing its name to `@MCCODE_PREFIX@plot-html`.
The `-h` option will list valid options.
This is the web/html plotting tool (in browser).
# OPTIONS
**-h, --help**
: show this help message and exit
**-n, --nobrowse**
: do not open a webbrowser viewer
**-l, --log**
: enable logscale on plot
**--autosize**
: expand to window size on load
**--libpath [LIBPATH ...]**
: js lib files path
**-o OUTPUT, --output OUTPUT**
: specify output file (.html extension)
# FILES
/usr/share/@FLAVOR@/resources
/usr/share/@FLAVOR@/tools/Python/mccodelib/mccode_config.json
~/.@FLAVOR@/mccode_config.json
http://www.@FLAVOR@.org
# EXAMPLES
Run and plot the *Test_SX* example (Single crystal diffraction)
: - `@MCCODE_PREFIX@run Test_SX.instr -d output_dir -n 1e7 TTH=13.4`
: - `@MCCODE_PREFIX@plot-html output_dir`
# AUTHORS
McStas Team (@FLAVOR@.org)
# SEE ALSO
@FLAVOR@(1), @MCCODE_PREFIX@doc(1), @MCCODE_PREFIX@plot(1), @MCCODE_PREFIX@run(1), @MCCODE_PREFIX@gui(1), @MCCODE_PREFIX@display(1)
|