BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
ROOT::Minuit2::MnPlot Class Reference

Description

MnPlot produces a text-screen graphical output of (x,y) points, e.g. from Scan or Contours.

Definition at line 26 of file MnPlot.h.

Public Member Functions

 MnPlot ()
 
 MnPlot (unsigned int width, unsigned int length)
 
 ~MnPlot ()
 
unsigned int Length () const
 
void operator() (const std::vector< std::pair< double, double > > &) const
 
void operator() (double, double, const std::vector< std::pair< double, double > > &) const
 
unsigned int Width () const
 

Private Attributes

unsigned int fPageLength
 
unsigned int fPageWidth
 

Constructor & Destructor Documentation

◆ MnPlot() [1/2]

ROOT::Minuit2::MnPlot::MnPlot ( )
inline

Definition at line 30 of file MnPlot.h.

30 : fPageWidth(80), fPageLength(30) {}
unsigned int fPageLength
Definition: MnPlot.h:48
unsigned int fPageWidth
Definition: MnPlot.h:47

◆ MnPlot() [2/2]

ROOT::Minuit2::MnPlot::MnPlot ( unsigned int  width,
unsigned int  length 
)
inline

Definition at line 32 of file MnPlot.h.

32  : fPageWidth(width), fPageLength(length) {
33  if(fPageWidth > 120) fPageWidth = 120;
34  if(fPageLength > 56) fPageLength = 56;
35  }

References fPageLength, and fPageWidth.

◆ ~MnPlot()

ROOT::Minuit2::MnPlot::~MnPlot ( )
inline

Definition at line 37 of file MnPlot.h.

37 {}

Member Function Documentation

◆ Length()

unsigned int ROOT::Minuit2::MnPlot::Length ( ) const
inline

Definition at line 43 of file MnPlot.h.

43 {return fPageLength;}

References fPageLength.

◆ operator()() [1/2]

void ROOT::Minuit2::MnPlot::operator() ( const std::vector< std::pair< double, double > > &  ) const

◆ operator()() [2/2]

void ROOT::Minuit2::MnPlot::operator() ( double  ,
double  ,
const std::vector< std::pair< double, double > > &   
) const

◆ Width()

unsigned int ROOT::Minuit2::MnPlot::Width ( ) const
inline

Definition at line 42 of file MnPlot.h.

42 {return fPageWidth;}

References fPageWidth.

Member Data Documentation

◆ fPageLength

unsigned int ROOT::Minuit2::MnPlot::fPageLength
private

Definition at line 48 of file MnPlot.h.

Referenced by MnPlot(), and Length().

◆ fPageWidth

unsigned int ROOT::Minuit2::MnPlot::fPageWidth
private

Definition at line 47 of file MnPlot.h.

Referenced by MnPlot(), and Width().


The documentation for this class was generated from the following file: