casa
$Rev:20696$
|
Plotter class for the TablePlot (tableplot) tool. More...
Plotter class for the TablePlot (tableplot) tool.
Public interface
TPPlotter is the class that controls all plot operations for the TablePlot (TP) class.
Class TPPlotter is the plotting interface that the TablePlot class uses. It has to be used along with the BasePlot and TablePlot classes. It currently manages direct binding to Python for the matplotlib plotting package.
Other plotting packages can be attached to TPPlotter. For this, a set of functions need to be implemented using commands pertaining to this other plotting package. The set of functions that need to be duplicated are listed in TPPlotter.cc after the heading "PLOTTING PACKAGE DEPENDANT FUNCTIONS " and in this file, with the symbol "PPDF"
This 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.