11 #ifndef HISTOGRAM_DISPLAY_PLOT_H 12 #define HISTOGRAM_DISPLAY_PLOT_H 38 void plotNewData(
const std::vector<double*> dataPoints,
39 const uint64_t numDataPoints,
40 const double timeInterval);
54 void setLineColor(
unsigned int which, QColor color)
override;
62 void _resetXAxisPoints(
double left,
double right);
63 void _autoScaleY(
double bottom,
double top);
65 unsigned int d_bins = 100;
67 double d_xmin, d_xmax, d_left, d_right;
70 std::vector<double> d_xdata;
71 std::vector<std::vector<double>> d_ydata;
73 bool d_semilogx =
false;
74 bool d_semilogy =
false;
75 bool d_autoscalex_state =
false;
QWidget for displaying time domain plots.
Definition: HistogramDisplayPlot.h:23
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:41
float min(float a, float b)
void plotNewData(const std::vector< double *> dataPoints, const uint64_t numDataPoints, const double timeInterval)
void setAutoScale(bool state)
void setAccumulate(bool en)
void setLineColor(unsigned int which, QColor color) override
void setNumBins(unsigned int bins)
void setMarkerAlpha(unsigned int which, int alpha) override
void setXaxis(double min, double max) override
void setSemilogy(bool en)
bool getAccumulate() const
HistogramDisplayPlot & operator=(const HistogramDisplayPlot &)=delete
HistogramDisplayPlot(unsigned int nplots, QWidget *)
void setSemilogx(bool en)
~HistogramDisplayPlot() override
int getMarkerAlpha(unsigned int which) const override