casa
$Rev:20696$
|
An color plot is a scatter plot with differentiated colors for points in different bins. More...
#include <Plot.h>
Public Member Functions | |
ColoredPlot () | |
Constructor. | |
virtual | ~ColoredPlot () |
Destructor. | |
virtual PlotPointDataPtr | pointData () const |
Overrides ScatterPlot::pointData(). | |
virtual PlotBinnedDataPtr | binnedColorData () const =0 |
ABSTRACT METHODS //. | |
virtual PlotColorPtr | colorForBin (unsigned int bin) const =0 |
Returns the color to use for the bin at the given index. | |
virtual void | setColorForBin (unsigned int bin, const PlotColorPtr color)=0 |
Sets the color to use for the bin at the given index. |
An color plot is a scatter plot with differentiated colors for points in different bins.
It is expected to consist of PlotBinnedData.
casa::ColoredPlot::ColoredPlot | ( | ) | [inline] |
virtual casa::ColoredPlot::~ColoredPlot | ( | ) | [inline, virtual] |
virtual PlotBinnedDataPtr casa::ColoredPlot::binnedColorData | ( | ) | const [pure virtual] |
virtual PlotColorPtr casa::ColoredPlot::colorForBin | ( | unsigned int | bin | ) | const [pure virtual] |
Returns the color to use for the bin at the given index.
The color applies to the symbol fill color.
virtual PlotPointDataPtr casa::ColoredPlot::pointData | ( | ) | const [inline, virtual] |
Overrides ScatterPlot::pointData().
Implements casa::ScatterPlot.
Definition at line 450 of file Plot.h.
References binnedColorData().
virtual void casa::ColoredPlot::setColorForBin | ( | unsigned int | bin, |
const PlotColorPtr | color | ||
) | [pure virtual] |
Sets the color to use for the bin at the given index.
The color applies to the symbol fill color.