Pulsar::ProfileVectorPlotter Class Reference

Plots flux profiles. More...

#include <ProfileVectorPlotter.h>

Inheritance diagram for Pulsar::ProfileVectorPlotter:
Reference::Able Reference::HeapTracked

Public Member Functions

 ProfileVectorPlotter ()
 Default constructor.
 
void minmax (PlotFrame *frame) const
 set the y_scale min and max based on the x_scale min and max
 
void set_pen (PlotPen *p)
 set the PlotPen used to draw all profiles
 
void draw (float sx, float ex)
 draw all profiles
 
void draw (const Profile *, float sx, float ex)
 draw the profile in the current viewport and window
 
- 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
 

Public Attributes

std::vector< Reference::To< const Profile > > profiles
 the vector of profiles to be drawn
 
std::vector< float > ordinates
 the shared ordinates
 
std::vector< int > plot_sci
 the PGPLOT colour for each profile
 
std::vector< int > plot_sls
 the PGPLOT line style for each profile
 
std::vector< int > plot_slw
 the PGPLOT line width for each profile
 
bool plot_histogram
 Plot histogram style.
 
bool transpose
 Transpose the x and y axes.
 

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

Plots flux profiles.


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

Generated using doxygen 1.8.17