#include <axes.h>

Public Member Functions

void set_range (const float xmin, const float xmax, const float ymin, const float ymax)
 
void set_xrange (const float vmin, const float vmax)
 
void set_yrange (const float vmin, const float vmax)
 
void set_xlabel (const std::string &label)
 
void set_ylabel (const std::string &label)
 
void set_xaxis (const axis &xaxes)
 
void set_yaxis (const axis &yaxes)
 
void clear ()
 
const std::string & xlabel () const
 
const std::string & ylabel () const
 
const axisx () const
 
const axisy () const
 

Friends

std::ostream & operator<< (std::ostream &out, const axes &data)
 
std::istream & operator>> (std::istream &in, axes &data)
 

Detailed Description

X & Y axes of a plot

Member Function Documentation

void clear ( )
inline

Clear both axes

void set_range ( const float  xmin,
const float  xmax,
const float  ymin,
const float  ymax 
)
inline

Set the limits of the axis

Parameters
xminminimum value
xmaxmaximum value
yminminimum value
ymaxmaximum value
void set_xaxis ( const axis xaxes)
inline

Set the X-axis

Parameters
xaxesx axis
void set_xlabel ( const std::string &  label)
inline

Set the label of the X-axis

Parameters
labeltext label
void set_xrange ( const float  vmin,
const float  vmax 
)
inline

Set the limits of the X-axis

Parameters
vminminimum value
vmaxmaximum value
void set_yaxis ( const axis yaxes)
inline

Set the Y-axis

Parameters
yaxesy axis
void set_ylabel ( const std::string &  label)
inline

Set the label of the Y-axis

Parameters
labeltext label
void set_yrange ( const float  vmin,
const float  vmax 
)
inline

Set the limits of the Y-axis

Parameters
vminminimum value
vmaxmaximum value

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const axes data 
)
friend
std::istream& operator>> ( std::istream &  in,
axes data 
)
friend

The documentation for this class was generated from the following file:
  • /io/interop/model/plot/axes.h