Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members Related Pages Search
frequencyplot.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef FREQUENCYPLOT_H
00019 #define FREQUENCYPLOT_H
00020
00021 #include "plotmodule.h"
00022
00023 #include <vector>
00024
00029 class FrequencyPlot : public PlotModule
00030 {
00031 public:
00032 FrequencyPlot(std::vector<double> & xlist, int classes, bool show, const QColor & color);
00033 virtual ~FrequencyPlot(){}
00034
00035
00036 virtual void drawPlot( QPainter *, int *, StatPlotGraph *graph, double xScale, double yScale );
00037 virtual void trace( double, double, double *, double * );
00038 virtual std::string updateCoords( double, double );
00039
00040 virtual void zoomStat( double *xmin, double *xmax, double *ymin, double *ymax );
00041
00042 private:
00043 double _interval;
00044 std::vector<double> _frequency;
00045 double _min;
00046
00047 std::vector<double> _xlist;
00048 int _classes;
00049 };
00050
00051 #endif
|