See below for an overview of the classes in this module.
Namespaces | |
| namespace | casa |
| Define the special aips++ macros. | |
Modules | |
| TablePlot_internal_classes | |
| Internal TablePlot classes and functions. | |
Classes | |
| class | casa::CrossPlot< T > |
Basic table access class for the TablePlot (tableplot) tool
| |
Defines | |
| #define | TP_PGPLOT |
| Plotter class for the TablePlot (tableplot) tool. | |
Enumerations | |
| enum | { casa::XYPLOT, casa::CROSSPLOT, casa::HISTPLOT } |
| Basic table access class for the TablePlot (tableplot) tool. More... | |
|
|
Plotter class for the TablePlot (tableplot) tool.
Intended use:Part of API
Prerequisite
EtymologyTPPlotter is the class that controls all plot operations for the TablePlot (TP) class.
SynopsisClass TPPlotter is the plotting interface that the TablePlot class uses. It has to be used along with the BasePlot and TablePlot classes. It currently uses the PGPlotter class interface to the pgplot plotting package.
Example
// Instantiate a TPPlotter
TPPlotter<T> TPLP();
TPLP.SetPlotOptions(.\..);
TPLP.SelPlotRange(.\..);
TPLP.PlotData(.\..);
MotivationThis class was written to keep all plotting function calls and display window management issues independant of the BasePlot class that handles the actual tables. Also if the current plotting package has to be replaced, changes need be made only in this one class. The TablePlot manipulates the TPPlotter objects.
To Do
Definition at line 100 of file TPPlotter.h. |
|
|
Basic table access class for the TablePlot (tableplot) tool.
Intended use:Part of API
Prerequisite
EtymologyBasePlot is the basic class that accesses one table/subtable and extracts data to be plotted. It provides the interface between the TablePlot class and the actual tables.
SynopsisClass BasePlot is the basic table access class for the purpose of plotting data via TaQL expressions. A BasePlot object can operate on one table/subtable and handles the extraction of data corresponding to TaQL expressions for the purpose of plotting. It is to be used in conjunction with the TPPlotter class via the TablePlot class, to connect the data from a table to a plotting device.
Example
// Instantiate BasePlot
BasePlot<T> BP();
BP.Init(Table&);
BP.CreateTENS(Vector<String> &TaQL);
BP.GetData();
.\.. followed by TPPlotter 'setPlotRange' and 'plotData' calls
MotivationThis class was written so that each table/subtable can be handled independant of each other. This allows simple bookkeeping and clean relationships between tables and data sets when multiple tables are being simultaneously accessed (plotting/editing). Issues like different numbers of data points to be plotted from different tables, and simultaneous editing on multiple tables/subtables (on one or more plot panels) are handled by this class organization.
Template Type Argument Requirements (T)
Thrown Exceptions
To Do
Definition at line 121 of file BasePlot.h. |
1.4.4