casa::ColoredPlot Class Reference

An color plot is a scatter plot with differentiated colors for points in different bins. More...

#include <Plot.h>

Inheritance diagram for casa::ColoredPlot:
casa::ScatterPlot casa::Plot casa::PlotItem

List of all members.

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.

Detailed Description

An color plot is a scatter plot with differentiated colors for points in different bins.

It is expected to consist of PlotBinnedData.

Definition at line 439 of file Plot.h.


Constructor & Destructor Documentation

casa::ColoredPlot::ColoredPlot (  )  [inline]

Constructor.

Definition at line 442 of file Plot.h.

virtual casa::ColoredPlot::~ColoredPlot (  )  [inline, virtual]

Destructor.

Definition at line 445 of file Plot.h.


Member Function Documentation

virtual PlotBinnedDataPtr casa::ColoredPlot::binnedColorData (  )  const [pure virtual]

ABSTRACT METHODS //.

Returns the binned data used for this plot.

Referenced by pointData().

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 449 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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1