mxPLOT(1)
β¨ mxPLOT β the section 1 manual page, bestie β¨
okay so this is the manpage for mxPLOT(1) β yes that's the title and the manual section, we love a two-in-one π
πΈ NAME πΈ
mxplot β plotting the results of a mcxtrace simulation π¦
π SYNOPSIS π
mxplot [-h] [-t] [βinvcanvas] [simulation ...]
β¨ DESCRIPTION β¨
mxplot is the front-end program that makes plots of every single monitor in a simulation, so it's literally the quickest way to get a vibe check on your results. In the simplest case you just type mxplot and go. π«Ά
If you do that, it plots any simulation data sitting in the current directory β which is where simulations stash their results by default, periodt. But if you used the βdir or βfile options (peep section 5.2 for those π), then you gotta hand the name of that file or directory over to mxplot, like mxplot dir or mxplot file.
You can also plot one single text (not binary!!) data file from a given monitor, just by passing its name to mxplot. And the -h option will list all the valid options for you, no gatekeeping. π
The default plotting backend is mxplot-pyqtgraph, but there are a bunch of extra plotters too, like mxplot-matplotlib, mxplot-html (which opens in a browser π), and mxplot-matlab (using Matlab or Octave). Options, options, options β iconic.
π OPTIONS π
simulationβ file or directory to plot- options:
-h,βhelp: show this help message and exit -t,βtestβ mxcode data loader test runβinvcanvasβ invert canvas background from black to white
π¦ FILES π¦
/usr/share/mcxtrace/resources/usr/share/mcxtrace/tools/Python/mccodelib/mccode_config.json~/.mcxtrace/mccode_config.jsonhttp://www.mcxtrace.org
π₯ EXAMPLES π₯
Run and plot the Test_SX example (Single crystal diffraction) β chef's kiss, ate:
mxrun Test_SX.instr -d output_dir -n 1e7 TTH=13.4mxplot 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.
and that's the whole page, bestie β no cap, every flag, file, example and credit is right there π β¨
this was the mxPLOT(1) page, straight from the git source, section 1, mwah ππ«Ά
π¦ where this page comes from
- debian trixie: mcxtrace-mxplot-pyqtgraph 3.5+3.5.19+ds5-2 Β· GPL-3.0-only
- ubuntu questing: mcxtrace-mxplot-pyqtgraph 3.5+3.5.19+ds5-2
- ubuntu resolute: mcxtrace-mxplot-pyqtgraph 3.5+3.5.19+ds5-2build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms