Home > Applications > McStas > mcplot.m

iFit/mcplot

PURPOSE ^

mcplot: plot a McCode simulation result (using iFit)

SYNOPSIS ^

function a=mcplot(varargin)

DESCRIPTION ^

 mcplot: plot a McCode simulation result (using iFit)
 data = mcplot(filename, ...)

 This function displays a McCode simulation result in a single window with 
 subplots. It also returns the resulting objects. 

 input:
  filename: one or more simulation name(s) or directory
          or a single detector file name
          if filename does not exist, a file selector is called.
  optional string: -png, -eps, -fig, -pdf, -jpg 
            will export further figures directly to files
 
 output:
  data: an array of monitors

 examples:
   mcplot
   mcplot mcstas.sim
   mcplot -png simulation

 SEE ALSO: mcstas, mcplot, mcrun, mcdisplay
 DOC:      Please visit http://www.mcstas.org/
 (c) E.Farhi, ILL. License: EUPL.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1