QIGUIScatterPlot.hh
00001 #ifndef _QIGUI_SCATTER_PLOT__H_
00002 #define _QIGUI_SCATTER_PLOT__H_
00003
00004 #include "QIGUIPlot.hh"
00005 #include <TGraph.h>
00006
00007 class QIGUIPlotData;
00008
00009 class QIGUIScatterPlot: public QIGUIPlot, public TGraph
00010 {
00011
00012 public:
00013 QIGUIScatterPlot (QObject * p = 0);
00014 QIGUIScatterPlot (QString name, QObject * p = 0);
00015 QIGUIScatterPlot (QIGUIPlotData * data, QObject * p = 0, QString name = "");
00016 virtual ~QIGUIScatterPlot();
00017
00018 protected:
00019 bool fNeedsRemake;
00020
00021 public:
00022
00023
00024
00025 virtual int Generate();
00026 virtual int Display(bool superimpose, Color_t color = 1, TPad * pad = 0);
00027 virtual QString ChangeLimit(QString name, QString limit);
00028 virtual void UnZoom();
00029
00030
00031 virtual void SetPoints(Int_t n, const Double_t *x, const Double_t *y);
00032 virtual void InitCanvas();
00033 virtual void PlotLimits();
00034 virtual void ResetLimits();
00035 virtual int MakeHisto();
00036 };
00037
00038 #endif