mxplot-html - Plotting the results of a mcxtrace simulation in a browser
Contents
Description
The front-end mxplot-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 mxplot-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 mxplot-html, e.g. mxplot-html dir or
mxplot-html file. It is also possible to plot one single text (not binary) data file from a given
monitor, passing its name to mxplot-html. The -h option will list valid options.
This is the web/html plotting tool (in browser).
Examples
Run and plot the Test_SX example (Single crystal diffraction)
• mxrun Test_SX.instr -d output_dir -n 1e7 TTH=13.4
• mxplot-html output_dir
Files
/usr/share/mcxtrace/resources /usr/share/mcxtrace/tools/Python/mccodelib/mccode_config.json
~/.mcxtrace/mccode_config.jsonhttp://www.mcxtrace.orgName
mxplot-html - Plotting the results of a mcxtrace simulation in a 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
-oOUTPUT,–outputOUTPUT
specify output file (.html extension)
See Also
mcxtrace(1), mxdoc(1), mxplot(1), mxrun(1), mxgui(1), mxdisplay(1)
Synopsis
mxplot-html [-h] [-n] [-l] [–autosize] [–libpath [LIBPATH ...]] [-o OUTPUT] [simulation ...]
