Man page - mxplot-matplotlib(1)
Packages contains this manual
apt-get install mcxtrace-mxplot-matplotlib
Manual
mxPLOT-MATPLOTLIB
NAMESYNOPSIS
DESCRIPTION
OPTIONS
FILES
EXAMPLES
AUTHORS
SEE ALSO
AUTHORS
NAME
mxplot-matplotlib - Plotting the results of a mcxtrace simulation using Matplotlib
SYNOPSIS
mxplot-matplotlib [-h] [-t] [âhtml] [âformat FORMAT] [âoutput OUTPUT] [âlog] [âbackend BACKEND] [simulation ...]
DESCRIPTION
The front-end mxplot-matplotlib 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-matplotlib. 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-matplotlib , e.g. mxplot-matplotlib dir or mxplot-matplotlib file. It is also possible to plot one single text (not binary) data file from a given monitor, passing its name to mxplot-matplotlib. The -h option will list valid options.
This is the Matplotlib plotting tool.
OPTIONS
simulation
file or directory to plot
-h, âhelp
show this help message and exit
-t, âtest
mxcode data loader test run
|
âhtml |
save plot to html using mpld3 (linux only) |
âformat FORMAT
save plot to pdf/png/eps/svg... without bringing up window
âoutput OUTPUT
save plot to given file without bringing up window. Extension (e.g. pdf/png/eps/svg) can be specified in the file name or --format
|
âlog |
initiate plot(s) with log of signal |
âbackend BACKEND
use non-default backend for matplotlib plot
FILES
/usr/share/mcxtrace/resources /usr/share/mcxtrace/tools/Python/mccodelib/mccode_config.json ~/.mcxtrace/mccode_config.json http://www.mcxtrace.org
EXAMPLES
Run and plot the Test_SX example (Single crystal diffraction)
|
⢠|
mxrun Test_SX.instr -d output_dir -n 1e7 TTH=13.4 |
|||
|
⢠|
mxplot-matplotlib output_dir |
AUTHORS
mcxtrace Team (mcxtrace.org)
SEE ALSO
mcxtrace(1), mxdoc(1), mxplot(1), mxrun(1), mxgui(1), mxdisplay(1)
AUTHORS
MCXTRACE xray Ray Tracing Team.