TBTK
Need a break? Support the development by playing Polarity Puzzles
TBTK::Visualization::MatPlotLib::PlotParameters Class Reference

Public Member Functions

 PlotParameters ()
 
void setTitle (const std::string &title, bool overwrite=true)
 
void setLabelX (const std::string &labelX, bool overwrite=true)
 
void setLabelY (const std::string &labelY, bool overwrite=true)
 
void setBoundsX (double minX, double maxX, bool overwrite=true)
 
void setBoundsY (double minY, double maxY, bool overwrite=true)
 
void flush () const
 
void clear ()
 

Constructor & Destructor Documentation

◆ PlotParameters()

TBTK::Visualization::MatPlotLib::PlotParameters::PlotParameters ( )
inline

Default constructor.

Member Function Documentation

◆ clear()

void TBTK::Visualization::MatPlotLib::PlotParameters::clear ( )
inline

Clear parameters.

◆ flush()

void TBTK::Visualization::MatPlotLib::PlotParameters::flush ( ) const
inline

Flush parameters to matplotlib.

◆ setBoundsX()

void TBTK::Visualization::MatPlotLib::PlotParameters::setBoundsX ( double  minX,
double  maxX,
bool  overwrite = true 
)
inline

Set the bounds for the x-axis.

◆ setBoundsY()

void TBTK::Visualization::MatPlotLib::PlotParameters::setBoundsY ( double  minY,
double  maxY,
bool  overwrite = true 
)
inline

Set the bounds for the y-axis.

◆ setLabelX()

void TBTK::Visualization::MatPlotLib::PlotParameters::setLabelX ( const std::string &  labelX,
bool  overwrite = true 
)
inline

Set x-label.

◆ setLabelY()

void TBTK::Visualization::MatPlotLib::PlotParameters::setLabelY ( const std::string &  labelY,
bool  overwrite = true 
)
inline

Set y-label.

◆ setTitle()

void TBTK::Visualization::MatPlotLib::PlotParameters::setTitle ( const std::string &  title,
bool  overwrite = true 
)
inline

Set title.


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