mxPLOT-MATLAB(1)

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

πŸ’– mxplot-matlab β€” plotting your mcxtrace sim results with Matlab/Octave πŸ’–

okay bestie, this is the manual page for mxplot-matlab, and it's part of the mxPLOT-MATLAB(1) manual. yes, the whole page. sit down, grab a boba, we're plotting. πŸ§‹βœ¨


✨ SYNOPSIS ✨

mxplot-matlab [-hom] [-png|-jpg|-fig|-eps|-pdf] [FILE|DIR]

🌸 DESCRIPTION 🌸

So. mxplot-matlab is the front-end that makes plots of all the monitors in a simulation, which is literally the fastest way to get a quick overview of what your sim actually did. vibe check on your results, basically. πŸ‘‘

In the simplest case you just run it with nothing else:

mxplot-matlab

and it'll plot any simulation data hanging out in the current directory β€” which, not coincidentally, is where simulations dump their results by default. convenient? yes. iconic? also yes. πŸ’…

If you used the --dir or --file options, then you pass the name of that file or directory to mxplot-matlab, like this:

mxplot-matlab dir
mxplot-matlab file

You can also plot one single text (not binary!!) data file from a given monitor by passing its name to mxplot-matlab. and the -h option will list all the valid options for you, no gatekeeping here. 🫢

ngl this one's important: this is the Matlab/Octave plotting tool. that's its whole thing. that's the vibe. 🌈

πŸŽ€ OPTIONS πŸŽ€

  • [-png|-jpg|-fig|-eps|-pdf] β€” export the specified monitor file or directory to the given format. pick your fighter, it's giving deliverable. πŸ¦‹
  • -m FILE|DIR β€” explicitely ask to use Matlab. no subtlety, you're choosing Matlab on purpose.
  • -o β€” explicitely ask to use Octave. same energy, different tool. πŸ’œ

πŸ“ FILES πŸ“

  • /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)

  1. mxrun Test_SX.instr -d output_dir -n 1e7 TTH=13.4
  2. mxplot-matlab output_dir

πŸ’• AUTHORS πŸ’•

mcxtrace Team (mcxtrace.org)


πŸ‘€ SEE ALSO πŸ‘€

mcxtrace(1), mxdoc(1), mxplot(1), mxrun(1), mxgui(1), mxdisplay(1)


🫢 AUTHORS (again, yes, for real) 🫢

MCXTRACE xray Ray Tracing Team.


aaaand that's the page bestie!! this one's from the git version of the mxPLOT-MATLAB(1) manual. go plot something gorgeous. periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from