Whiteboard
An interface and tools for visualizing large and complex datasets
|
#include <Axes.h>
Public Member Functions | |
axes () | |
axes (line *x_line, line *y_line) | |
void | Draw (display_type *d) |
void | CreateTics (const double x_scaling=1.0, const double x_offset=0.0, const double y_scaling=1.0, const double y_offset=0.0, const tic_style t=linear) |
void | SetXAxis (const xy_coords &startCoords, const xy_coords &stopCoords, const double width=1.0, const color &c=black) |
void | SetYAxis (const xy_coords &startCoords, const xy_coords &stopCoords, const double width=1.0, const color &c=black) |
void | RescaleAxes () |
void | SetXAxisLabel (const string &label, const color &c=black, const double fontSize=12.0, const string &font="Times-Roman") |
void | SetYAxisLabel (const string &label, const color &c=black, const double fontSize=12.0, const string &font="Times-Roman") |
virtual | ~axes () |
Public Member Functions inherited from ns_whiteboard::graphic | |
graphic () | |
virtual | ~graphic () |
Protected Attributes | |
line * | m_xLine |
line * | m_yLine |
text * | m_xLabel |
text * | m_yLabel |
TickingStrategyBase * | m_ticking |
bool | self_owned_lines |
Class defining a cartesian set of axes.
|
inline |
|
inlinevirtual |
void ns_whiteboard::axes::CreateTics | ( | const double | x_scaling = 1.0 , |
const double | x_offset = 0.0 , |
||
const double | y_scaling = 1.0 , |
||
const double | y_offset = 0.0 , |
||
const tic_style | t = linear |
||
) |
|
virtual |
Method to draw a set of axes.
Implements ns_whiteboard::graphic.
|
inline |
void ns_whiteboard::axes::SetXAxis | ( | const xy_coords & | startCoords, |
const xy_coords & | stopCoords, | ||
const double | width = 1.0 , |
||
const color & | c = black |
||
) |
void ns_whiteboard::axes::SetXAxisLabel | ( | const string & | label, |
const color & | c = black , |
||
const double | fontSize = 12.0 , |
||
const string & | font = "Times-Roman" |
||
) |
void ns_whiteboard::axes::SetYAxis | ( | const xy_coords & | startCoords, |
const xy_coords & | stopCoords, | ||
const double | width = 1.0 , |
||
const color & | c = black |
||
) |
void ns_whiteboard::axes::SetYAxisLabel | ( | const string & | label, |
const color & | c = black , |
||
const double | fontSize = 12.0 , |
||
const string & | font = "Times-Roman" |
||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |