TwoBitPlot.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/TwoBitPlot.h
10
11#ifndef __Pulsar_TwoBitPlot_h
12#define __Pulsar_TwoBitPlot_h
13
14#include "Pulsar/SimplePlot.h"
15#include "JenetAnderson98Plot.h"
16
17namespace Pulsar {
18
20 class TwoBitPlot : public SimplePlot {
21
22 public:
23
25 TwoBitPlot ();
26
29
30 // Text interface to the TwoBitPlot class
31 class Interface : public TextInterface::To<TwoBitPlot> {
32 public:
33 Interface (TwoBitPlot* = 0);
34 };
35
37 void draw (const Archive*);
38
40 void prepare (const Archive*);
41
43 std::string get_ylabel (const Archive*);
44
46 std::string get_xlabel (const Archive*);
47
48 protected:
49
51
52 };
53
54}
55
56#endif
Plots the distribution of Phi.
Definition JenetAnderson98Plot.h:11
The primary interface to pulsar observational data.
Definition Archive.h:46
Plots a single plot.
Definition SimplePlot.h:33
std::string get_ylabel(const Archive *)
Get the default label for the y axis.
Definition TwoBitPlot.C:20
std::string get_xlabel(const Archive *)
Get the default label for the x axis.
Definition TwoBitPlot.C:26
void prepare(const Archive *)
Perform any preprocessing steps.
Definition TwoBitPlot.C:76
void draw(const Archive *)
Derived classes must draw in the current viewport.
Definition TwoBitPlot.C:32
TwoBitPlot()
Default constructor.
Definition TwoBitPlot.C:10
TextInterface::Parser * get_interface()
Get the text interface to the configuration attributes.
Definition TwoBitPlot.C:14
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0