Pulsar::MultiFrame Class Reference

Manages multiple plot frames. More...

#include <MultiFrame.h>

Inheritance diagram for Pulsar::MultiFrame:
Pulsar::PlotAttributes Reference::Able Reference::HeapTracked

Public Member Functions

void manage (const std::string &name, PlotFrame *)
 Manage the given PlotFrame.
PlotFrameget_frame (const std::string &name)
 Return a previously mapped plot frame.
PlotEdgeget_x_edge ()
 Return the x-edge.
PlotEdgeget_y_edge ()
 Return the y-edge.
PlotScaleget_shared_x_scale ()
 Return the shared x-scale.
bool has_shared_x_scale ()
void set_shared_x_scale (PlotScale *x)
PlotScaleget_shared_y_scale ()
 Return the shared y-scale.
bool has_shared_y_scale ()
void set_shared_y_scale (PlotScale *y)
void set_character_height (float height)
 Set the character height.
void set_character_font (int font)
 Set the character font.
void set_line_width (int width)
 Set the line width.
void no_labels ()
 Set no_labels in all sub-plots.
virtual void init (const Archive *)
 Initialize each frame.
virtual void focus (const Archive *)
 Focus the frame.
virtual void decorate (const Archive *)
 Decorate the frame.
virtual void include (MultiFrame *other)
 Expand the x and y scales of all sub-plots to include other.
virtual void copy (MultiFrame *other)
 Copy the x and y scales.
virtual void freeze (bool f=true)
 Freeze all frames.
Public Member Functions inherited from Pulsar::PlotAttributes
 PlotAttributes ()
 Default constructor.
 ~PlotAttributes ()
 Destructor.
float get_character_height () const
int get_character_font () const
int get_line_width () const
PlotLabelget_label_above ()
 Get the above-frame label.
void set_label_above (PlotLabel *)
 Set the above-frame label.
virtual void apply_set (const std::string &name)
 Apply the named customization option set.
std::string get_applied () const
 Get the applied set.
virtual void publication_quality ()
 Set publication quality character height and font and line width.
void setup ()
 Set the plot colour line and text attributes.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Protected Attributes

std::map< std::string, Reference::To< PlotFrame > > frames
PlotEdge x_edge
PlotEdge y_edge
Reference::To< PlotScalex_scale
Reference::To< PlotScaley_scale
Protected Attributes inherited from Pulsar::PlotAttributes
Reference::To< PlotLabelabove
float character_height
int character_font
int line_width
std::string set_applied

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
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 ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Manages multiple plot frames.

Member Function Documentation

◆ no_labels()

void Pulsar::MultiFrame::no_labels ( )
virtual

Set no_labels in all sub-plots.

Reimplemented from Pulsar::PlotAttributes.

References Pulsar::PlotFrame::no_labels().

◆ set_character_font()

void Pulsar::MultiFrame::set_character_font ( int font)
virtual

Set the character font.

Reimplemented from Pulsar::PlotAttributes.

References Pulsar::PlotAttributes::set_character_font().

◆ set_character_height()

void Pulsar::MultiFrame::set_character_height ( float height)
virtual

Set the character height.

Reimplemented from Pulsar::PlotAttributes.

References Pulsar::PlotAttributes::set_character_height().

◆ set_line_width()

void Pulsar::MultiFrame::set_line_width ( int width)
virtual

Set the line width.

Reimplemented from Pulsar::PlotAttributes.

References Pulsar::PlotAttributes::set_line_width().


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

Generated using doxygen 1.14.0