mxPLOT-html(1)

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

✨ mxPLOT-html(1) β€” the vibe πŸ’…

okay bestie, so mxplot-html is the manual page we're doing today, and honestly? it's giving "plot your whole simulation in a browser and look cute doing it." πŸ¦‹


🌸 NAME 🌸

mxplot-html β€” plotting the results of a mcxtrace simulation in a browser ✨


πŸŽ€ SYNOPSIS πŸŽ€

mxplot-html [-h] [-n] [-l] [–autosize] [–libpath [LIBPATH ...]] [-o
OUTPUT] [simulation ...]

πŸ’– DESCRIPTION πŸ’–

so the front-end mxplot-html is a program that makes plots of all the monitors in a simulation, which is highkey the move when you want a quick overview of your simulation results. no cap. πŸ‘‘

in the simplest case? you literally just type mxplot-html and you're done. that plots any simulation data stored in the current directory β€” which is where simulations store their results by default, iykyk. 🫢

but if the --dir or --file options got used, then you pass the name of the file or directory to mxplot-html, like:

mxplot-html dir

or

mxplot-html file

and yes, you can also plot one single text (not binary) data file from a given monitor by passing its name to mxplot-html. ✨

and if you ever forget what's what, the -h option will list valid options for you. πŸ’…

this one is the web/html plotting tool, bestie β€” it plots in browser. 🌈

✨ OPTIONS ✨

  • -h, –help β€” show this help message and exit. the classic "help me bestie" button. πŸ†˜
  • -n, –nobrowse β€” do not open a webbrowser viewer. so no browser pops up, it just... doesn't. πŸ™ˆ
  • -l, –log β€” enable logscale on plot. logarithmic glow-up. πŸ“ˆ
  • –autosize β€” expand to window size on load. main character energy, fills the whole screen. πŸ¦‹
  • –libpath [LIBPATH ...] β€” js lib files path. that's where the js libs live. πŸ’œ
  • -o OUTPUT, –output OUTPUT β€” specify output file (.html extension). name your baby. πŸŽ€

πŸ—‚οΈ FILES πŸ—‚οΈ

  • /usr/share/mcxtrace/resources
  • /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-html output_dir

πŸ‘‘ AUTHORS πŸ‘‘

McStas Team (mcxtrace.org)


🌈 SEE ALSO 🌈

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


πŸ’œ AUTHORS πŸ’œ

MCXTRACE xray Ray Tracing Team.


and that's the whole page, bestie!! this one comes from git and it's the mxPLOT-html(1) manual β€” so go plot something iconic. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from