Provided by: mcxtrace-mxdisplay-matplotlib_3.5+0.0~git20240801183257.cdaa431+ds5-2_amd64 bug

NAME

       mxdisplay-matplotlib - mcxtrace Graphical display of simulations using Matplotlib

SYNOPSIS

       mxdisplay-matplotlib [-h] INSTR name=value...

DESCRIPTION

       The mxdisplay-matplotlib front-end is a graphical debugging tool.  It presents a schematic
       drawing of the instrument definition, showing the position of the components and the paths
       of  the  simulated  xrays  through the instrument.  It is thus very useful for debugging a
       simulation, for example to spot components in the wrong position  or  to  find  out  where
       xrays  are getting lost.  To use the mxdisplay-matplotlib front-end with a simulation, run
       it as follows: mxdisplay-matplotlib INSTR args... where INSTR is the name  of  either  the
       instrument source INSTR.instr or the simulation program INSTR.out generated with mcxtrace,
       and args are the normal command line arguments for the simulation, as for mxrun.   The  -h
       option will list valid options.

       The  default  plotting  backend  is  mxdisplay-pyqtgraph,  but  there  exists  a number of
       additional plotters such as mxdisplay-matplotlib, mxdisplay-webgl-classic  (using  WebGL),
       mxdisplay-webgl (using WebGL and NodeJS), mxdisplay-matlab (using Matlab or Octave).  This
       is the Matplotlib plotting tool.

OPTIONS

       INSTR  Displays the given McCode 3D model with its defaults/current parameters.

       name1=value1 ...
              Displays the given McCode model with given parameters.

       -n N, –ncount N
              Number of particles to simulate

FILES

       /usr/share/mcxtrace/tools/Python
       /usr/share/mcxtrace/tools/Python/mccodelib/mccode_config.json
       ~/.mcxtrace/mccode_config.json http://www.mcxtrace.org

EXAMPLES

       Display the Test_SX example (Single crystal diffraction)

       • mxdisplay-matplotlib Test_SX.instr -n 1e2 TTH=13.4

AUTHORS

       mcxtrace Team (mcxtrace.org)

SEE ALSO

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

AUTHORS

       MCXTRACE xray Ray Tracing Team.

                                               git                        mxDISPLAY-MATPLOTLIB(1)