mxPLOT-MATLAB(1)
π 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.jsonhttp://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.4mxplot-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
- debian trixie: mcxtrace-mxplot-matlab 3.5+3.5.19+ds5-2 Β· GPL-3.0-only
- ubuntu questing: mcxtrace-mxplot-matlab 3.5+3.5.19+ds5-2
- ubuntu resolute: mcxtrace-mxplot-matlab 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