|
|
| InfoLabel (FluxPlot *flux) |
| | Default constructor.
|
|
| ~InfoLabel () |
| | Destructor.
|
| virtual void | plot (const Archive *) |
| | Plot the label.
|
|
| PlotLabel () |
| | Default constructor.
|
|
virtual | ~PlotLabel () |
| | Destructor.
|
|
void | set_left (const std::string &label) |
| | Set the label to be drawn to the left of the frame.
|
|
std::string | get_left () const |
| | Get the label to be drawn to the left of the frame.
|
|
void | set_centre (const std::string &label) |
| | Set the label to be drawn in the centre of the frame.
|
|
std::string | get_centre () const |
| | Get the label to be drawn in the centre of the frame.
|
|
void | set_right (const std::string &label) |
| | Set the label to be drawn to the right of the frame.
|
|
std::string | get_right () const |
| | Get the label to be drawn to the right of the frame.
|
|
void | set_offset (float _offset) |
| | Set the offset between label and frame (multiple of character height)
|
|
float | get_offset () const |
|
void | set_spacing (float _spacing) |
| | Set the spacing between label rows (multiple of character height)
|
|
float | get_spacing () const |
|
void | set_all (const std::string &label) |
| | Set all labels to the specified value.
|
| float | get_margin (pgplot::Units) const |
| | Get the margin in the specified metric.
|
| float | get_displacement (int row, pgplot::Units) const |
| | Get the displacement of label[irow] in the specified metric.
|
| float | get_displacement (int row) const |
| | Get the displacement of label[irow] in units of the character height.
|
|
unsigned | get_nrows (const std::string &label) const |
| | Get the number of rows in the label.
|
|
| Able (const Able &) |
|
Able & | operator= (const Able &) |
|
unsigned | get_reference_count () const |
|
| HeapTracked (const HeapTracked &) |
|
HeapTracked & | operator= (const HeapTracked &) |
|
bool | __is_on_heap () const |
|
|
static size_t | get_instance_count () |
|
static void * | operator new (size_t size, void *ptr=0) |
|
static void | operator delete (void *location, void *ptr) |
|
static void | operator delete (void *location) |
|
static size_t | get_heap_queue_size () |
|
static std::string | unset = "unset" |
| | Default label string signifies not set by user.
|
|
void | plot (const Archive *, const std::string &label, float side) |
| | Plot the label; side=0/.5/1 for left/centre/right.
|
|
void | row (const std::string &, unsigned irow, unsigned nrow, float side) |
| | Plot a single row of the label.
|
|
Handle * | __reference (bool active) const |
|
void | __dereference (bool auto_delete=true) const |
Print a label with three rows above the plot frame.
This class can be used in conjunction with the FluxPlot class to emulate the behaviour of the old Plotter::singleProfile method