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
19namespace 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
The primary interface to pulsar observational data.
Definition Archive.h:46
FrequencyScale * get_scale()
Get the scale.
Definition FrequencyPlot.C:32
FrequencyPlot()
Default constructor.
Definition FrequencyPlot.C:9
std::string get_xlabel(const Archive *)
Get the default label for the x axis.
Definition FrequencyPlot.C:15
void set_yrange(float min, float max)
Set the y-range.
Definition FrequencyPlot.C:26
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:21
Plots a single plot.
Definition SimplePlot.h:33
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0