mcPLOT-html(1)

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

πŸ’– 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 (.html extension) πŸ’Ύ

πŸ“ 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 πŸ’–

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