#include <axes.h>

Public Member Functions

 axis ()
 
void set_range (const float vmin, const float vmax)
 
void set_label (const std::string &label)
 
void clear ()
 
const std::string & label () const
 
float min () const
 
float max () const
 

Friends

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

Detailed Description

Single axis of a plot

Constructor & Destructor Documentation

axis ( )
inline

Constructor

Member Function Documentation

void clear ( )
inline

Clear the axis

void set_label ( const std::string &  label)
inline

Set the label of the axis

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

Set the limits of the axis

Parameters
vminminimum value
vmaxmaximum value

Friends And Related Function Documentation

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

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