mcPLOT(1)

๐Ÿ“ฆ
version 3.5+3.5.19 ยท 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute

โœจ 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.json
  • http://www.mcstas.org

๐ŸŒŸ EXAMPLES ๐ŸŒŸ

Run and plot the Test_SX example (Single crystal diffraction) ๐Ÿ”ฎ

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