CPyColorPlot Class Reference

2D color plots More...

#include <CPyPlot.hpp>

Inheritance diagram for CPyColorPlot:

Inheritance graph
[legend]
Collaboration diagram for CPyColorPlot:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CPyColorPlot (string xname="x", string yname="y", string binname="mass", int nx=10, int ny=10, int type=0, int igridmethod=1, QWidget *myparent=0)
void calculate (Matrix< float > *thedata=0)
 Do the actual plotting.
bool do_plotting ()
 Do the actual plotting.
Matrix< float > * getDataPtr () const
PyObject * getPyDataPtr () const
string getBinname () const
int getNx () const
int getNy () const
void setNxNy (int nx, int ny)

Private Attributes

Matrix< float > * data_
int dims_ [2]
PyObject * pyData_
string binname_
int nx_
int ny_
int igridmethod_


Detailed Description

2D color plots

extention of the CPyPlot class for 2D color plots (using python matplotlib)


Constructor & Destructor Documentation

CPyColorPlot::CPyColorPlot ( string  xname = "x",
string  yname = "y",
string  binname = "mass",
int  nx = 10,
int  ny = 10,
int  type = 0,
int  igridmethod = 1,
QWidget *  myparent = 0 
)

create a CPyColorPlot: make a 2D color plot. The calculated data is owned by the plot: when the plot is deleted so is the corresponding data.


Member Data Documentation

int CPyColorPlot::dims_[2] [private]

dimensions of the plot

determine type of gridding

PyObject* CPyColorPlot::pyData_ [private]

python wrapper around the matrix data


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

Generated on Fri Oct 16 18:59:58 2009 for HYPLOT by  doxygen 1.5.8