mxPLOT(1)

πŸ“¦
version 3.5+3.5.19 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute

✨ 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.json
  • http://www.mcxtrace.org

πŸ”₯ EXAMPLES πŸ”₯

Run and plot the Test_SX example (Single crystal diffraction) β€” chef's kiss, ate:

  1. mxrun Test_SX.instr -d output_dir -n 1e7 TTH=13.4
  2. mxplot 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