mcPLOT-html(1)
π mcPLOT-html π
okay bestie, welcome to mcplot-html β the web/html plotting tool that takes your mcstas simulation results and shows them off in a browser β¨ It lives in section 1 of the manual, and honestly? It's giving main character energy.
β¨ SYNOPSIS β¨
mcplot-html [-h] [-n] [-l] [βautosize] [βlibpath [LIBPATH ...]] [-o
OUTPUT] [simulation ...]
πΈ DESCRIPTION πΈ
So the front-end mcplot-html is a program that makes plots of all the monitors in a simulation, which is lowkey the best way to get a quick overview of your simulation results π In the simplest case you literally just type mcplot-html and vibe.
That will plot any simulation data stored in the current directory, which is where simulations store their results by default π
If you used the --dir or --file options, then you gotta pass the name of the file or directory to mcplot-html, like mcplot-html dir or mcplot-html file. No cap.
You can also plot one single text (not binary) data file from a given monitor by passing its name to mcplot-html π And the -h option will list valid options for you, because she's helpful like that.
π¦ fr fr: this is the web/html plotting tool (in browser).
π OPTIONS π
-h,βhelpβ show this help message and exit π«Ά-n,βnobrowseβ do not open a webbrowser viewer π-l,βlogβ enable logscale on the plot πβautosizeβ expand to window size on load β¨βlibpath [LIBPATH ...]β js lib files path π§-o OUTPUT,βoutput OUTPUTβ specify output file (.htmlextension) πΎ
π FILES π
/usr/share/mcstas/resources
/usr/share/mcstas/tools/Python/mccodelib/mccode_config.json
~/.mcstas/mccode_config.json http://www.mcstas.org
π EXAMPLES π
Run and plot the Test_SX example (Single crystal diffraction) β she ate π
mcrun Test_SX.instr -d output_dir -n 1e7 TTH=13.4mcplot-html output_dir
π AUTHORS π
McStas Team (mcstas.org) β
π SEE ALSO π
mcstas(1), mcdoc(1), mcplot(1), mcrun(1), mcgui(1), mcdisplay(1)
πΈ AUTHORS πΈ
MCSTAS neutron Ray Tracing Team. π iconic.
and that's the whole page bestie, no notes π this one shipped under version git and is filed under mcPLOT-html(1) β go plot something gorgeous, periodt ππ
π¦ where this page comes from
- debian trixie: mcstas-mcplot-html 3.5+3.5.19+ds5-2 Β· GPL-3.0-only
- ubuntu questing: mcstas-mcplot-html 3.5+3.5.19+ds5-2
- ubuntu resolute: mcstas-mcplot-html 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