casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
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 440 of file Plot.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 443 of file Plot.h.

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

Destructor.

Definition at line 446 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 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.


The documentation for this class was generated from the following file: