mcPLOT(1)
โจ mcPLOT(1) โ the girlies' guide โจ
okay so bestie, you know that moment when your simulation finishes and you're likeโฆ now what? ๐ this is the manual page for mcplot, section 1 of the manual, and it's literally your new best friend. no cap.
๐ NAME ๐
mcplot โ plotting the results of a mcstas simulation ๐ฆ
๐ธ SYNOPSIS ๐ธ
mcplot [-h] [-t] [โinvcanvas] [simulation ...]
โจ DESCRIPTION โจ
The front-end mcplot 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. it's giving instant glow-up for your data ๐
In the simplest case, the front-end is run simply by typing mcplot. This will plot any simulation data stored in the current directory, which is where simulations store their results by default. (yes bestie, it just knows where to look, iconic behavior ๐)
If the โdir or โfile options have been used (see section 5.2), the name of the file or directory should be passed to mcplot, e.g. mcplot dir or mcplot file. ๐
It is also possible to plot one single text (not binary) data file from a given monitor, passing its name to mcplot. ๐
the -h option will list valid options. use it, bestie, it's free ๐
The default plotting backend is mcplot-pyqtgraph, but there exists a number of additional plotters such as mcplot-matplotlib, mcplot-html (in a browser), mcplot-matlab (using Matlab or Octave). a whole roster of plotters, we love options fr fr โจ
๐ OPTIONS ๐
simulationโ file or directory to plot ๐๏ธ- options:
-h,โhelpโ show this help message and exit ๐ -t,โtestโ mccode data loader test run ๐งชโinvcanvasโ invert canvas background from black to white ๐คโก๏ธ๐ค
๐ฆ FILES ๐ฆ
/usr/share/mcstas/resources/usr/share/mcstas/tools/Python/mccodelib/mccode_config.json~/.mcstas/mccode_config.jsonhttp://www.mcstas.org
๐ EXAMPLES ๐
Run and plot the Test_SX example (Single crystal diffraction) ๐ฎ
mcrun Test_SX.instr -d output_dir -n 1e7 TTH=13.4mcplot output_dir
look at that. run it, plot it, slay it. periodt ๐ โจ
๐ซถ AUTHORS ๐ซถ
mcstas Team (mcstas.org) ๐
๐ SEE ALSO ๐
mcstas(1), mcdoc(1), mcplot(1), mcrun(1), mcgui(1), mcdisplay(1) โ the whole friend group, go say hi ๐
๐ AUTHORS ๐
MCSTAS neutron Ray Tracing Team. ๐ธ
and that's the whole page bestie!! this one came from the git source/version, dated with the mcPLOT(1) footer tag โ mwah, go plot something gorgeous ๐โจ๐๐ฆ
๐ฆ where this page comes from
- debian trixie: mcstas-mcplot-pyqtgraph 3.5+3.5.19+ds5-2 ยท GPL-3.0-only
- ubuntu questing: mcstas-mcplot-pyqtgraph 3.5+3.5.19+ds5-2
- ubuntu resolute: mcstas-mcplot-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