Pulsar::PlotFrame Class Reference

Stores the properties of the plot frame. More...

#include <PlotFrame.h>

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

Public Member Functions

 PlotFrame ()
 Default constructor.
 
 ~PlotFrame ()
 Destructor.
 
void set_viewport (float x0, float x1, float y0, float y1)
 Set the viewport (normalized device coordinates)
 
PlotScaleget_x_scale (bool allow_transpose)
 Get the x-scale.
 
PlotScaleget_x_scale ()
 
void set_x_scale (PlotScale *scale)
 Set the x-scale.
 
PlotAxisget_x_axis (bool allow_transpose)
 Get the x-axis.
 
PlotAxisget_x_axis ()
 
PlotScaleget_y_scale (bool allow_transpose)
 Get the x-scale.
 
PlotScaleget_y_scale ()
 
void set_y_scale (PlotScale *scale)
 Set the y-scale.
 
PlotAxisget_y_axis (bool allow_transpose)
 Get the y-axis. More...
 
PlotAxisget_y_axis ()
 
void no_labels ()
 Remove all labels.
 
PlotLabelget_label_below ()
 Get the below-frame label.
 
void set_label_below (PlotLabel *)
 Set the below-frame label.
 
void set_transpose (bool flag=true)
 Transpose the x and y axes.
 
bool get_transpose () const
 
virtual void draw_axes (const Archive *)
 Draw the axes of the frame.
 
virtual void label_axes (const std::string &default_x, const std::string &default_y)
 Label the axes of the frame.
 
virtual void decorate (const Archive *)
 Decorate the frame.
 
virtual void focus (const Archive *)
 Focus the frame.
 
virtual void init (const Archive *)
 Initialize the frame.
 
virtual void include (PlotFrame *)
 Expand to include the x and y scale of another frame.
 
virtual void copy (PlotFrame *)
 Copy another frame.
 
void hide_axes (void)
 
virtual void freeze (bool f=true)
 Freeze the frame.
 
- Public Member Functions inherited from Pulsar::PlotAttributes
 PlotAttributes ()
 Default constructor.
 
 ~PlotAttributes ()
 Destructor.
 
virtual void set_character_height (float h)
 Set the character height.
 
float get_character_height () const
 
virtual void set_character_font (int font)
 Set the character font.
 
int get_character_font () const
 
virtual void set_line_width (int width)
 Set the line width.
 
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. More...
 
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

Reference::To< PlotScalex_scale
 
Reference::To< PlotScaley_scale
 
Reference::To< PlotAxisx_axis
 
Reference::To< PlotAxisy_axis
 
Reference::To< PlotLabelbelow
 
bool transpose
 
bool draw_box
 
bool frozen
 
- 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

Stores the properties of the plot frame.

Member Function Documentation

◆ get_y_axis()


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

Generated using doxygen 1.8.17