00001 #ifndef _QG_SCATTER_PLOT_HH_ 00002 #define _QG_SCATTER_PLOT_HH_ 00003 00011 #include <list> 00012 #include <string> 00013 #include "QGGraph.hh" 00014 00015 class QGScatterPlot : public QGGraph { 00016 public: 00018 QGScatterPlot(); 00019 00021 QGScatterPlot(const QGScatterPlot&); 00022 00024 virtual ~QGScatterPlot(); 00025 00027 void AutoSetStyle(); 00028 00030 void Display(); 00031 00033 void DisplayEditWindow(); 00034 00036 void DrawStyleScatterPlot(); 00037 00039 void Duplicate(); 00040 00042 void Erase(); 00043 00045 void Generate(QChain *chain = 0); 00046 00048 void GetParametersFromEditWindow(); 00049 00051 TGraph *GetStyleScatterPlot() {return fStyleScatterPlot;} 00052 00054 void MakeStylePlot(); 00055 00057 void SetName(const char *name = 0); 00058 00060 void SetProperty(const std::string& key, const std::string& value); 00061 00062 private: 00064 static std::list<QGScatterPlot*> fScatterPlots; 00065 00067 TGraph *fStyleScatterPlot; 00068 00069 ClassDef(QGScatterPlot, 0) 00070 }; 00071 00072 #endif