ContourPlot Class Reference

Detailed Description

A DataRep for a two dimensional histogram by showing the density of any bin with colored contour lines.

The ContourPlot uses a projector to manage a two dimension histogram. It represents the values of the histogram bins as colored contour lines. It is similar to the ColorPlot and uses the same projector class. It differs in the point representation class it uses. An example is shown below.

This virtual method is provided as a convenience for those derived classes that respond to it. Nothing is done if this object has DataSource bindings. Otherwise the message is forward to its ProjectorBase object.

. Each of the Projected Value objects will be drawn in view after a coordinate transform represented by transform using its m_rep object. Uses its Projector object to access the projected values stored in a DataSource. Some DataRep object may be dependent on the projected value objects are returned in a certain order.

Most derived classes of DataRep are target-able and return true. That is, they can be targets of cuts, functions, etc. If a derived class is not intended to be a target, it should return false. The implementation in this base class returns true.

If interval counting is disabled, then Observer::Update is sent immediately. If interval counting is enabled, then the current count is incremented. If the current count is equal to the interval count, then the Observer::update message is sent and the current count reset to 0.

Sets binding of the axis with name axis to the DataSource column with label label. If the derived class does not have DataSource bindings, then does nothing. Derived classes may also do further processing upon reception of this method.

Sets the binding of all axis to the DataSource column with the labels in the vector. If the derived class does not have DataSource bindings, then does nothing. Derived classes may also do further processing upon reception of this method.

Sets the title of the object. A title might be used to annotate the display of the object. Setting the title to the string "%t" has the meaning of setting the object's default title. The default title is the one returned by ProjectorBase::getTitle().

Since most Observable objects are owned by its Observer, it is the Observer that issued the delete. Thus the default implementation here does nothing. Derived classes that observe objects owned by another should implement this method to remove the Observable from the list they are observing.

A projector used to transform data to projected values that will be plotted.

A display may have multiple projectors that make up its composite display. This data member points to the one that should receive messages from the display. Projectors are owned by the plotters that use them, and the projectors are responsible for deleting the plotters.