FrequencyPlot.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Plotting/Pulsar/FrequencyPlot.h
10 
11 #ifndef __Pulsar_FrequencyPlot_h
12 #define __Pulsar_FrequencyPlot_h
13 
14 #include "Pulsar/SimplePlot.h"
15 #include "Pulsar/FrequencyScale.h"
16 
17 #include <vector>
18 
19 namespace Pulsar {
20 
22  class FrequencyPlot : public SimplePlot {
23 
24  public:
25 
28 
30  std::string get_xlabel (const Archive*);
31 
33  std::string get_ylabel (const Archive*);
34 
36  void set_yrange (float min, float max);
37 
40 
41  };
42 
43 }
44 
45 #endif
FrequencyScale * get_scale()
Get the scale.
Definition: FrequencyPlot.C:32
The primary interface to pulsar observational data.
Definition: Archive.h:45
std::string get_xlabel(const Archive *)
Get the default label for the x axis.
Definition: FrequencyPlot.C:15
void set_x_scale(PlotScale *scale)
Set the x-scale.
Definition: PlotFrame.C:198
void set_yrange(float min, float max)
Set the y-range.
Definition: FrequencyPlot.C:26
virtual PlotFrame * get_frame()
Get the frame.
Definition: FramedPlot.C:27
std::string get_ylabel(const Archive *)
Get the default label for the y axis.
Definition: FrequencyPlot.C:21
Represents an axis with radio frequency ordinate.
Definition: FrequencyScale.h:26
FrequencyPlot()
Default constructor.
Definition: FrequencyPlot.C:9
Defines the PSRCHIVE library.
Definition: CalSource.h:17

Generated using doxygen 1.8.17