wxPlot 1.8 Real time plot library for wxWidgets

Loading...
Searching...
No Matches
histogram.hpp
1#pragma once
2
3#include <string>
4#include <vector>
5#include <wx/wx.h>
6#include "../proportional/proportional.hpp"
7#include "../../../plottools/plottools.hpp"
8
13 class Histogram : public Proportional {
14 private:
15
16 unsigned int binCount = 10;
17
18 public:
19
24 void setBinCount(const unsigned int binCount);
29 void setData(const std::vector<double>& data1D);
30
31};
Histogram
Histogram class. Inheritance from class Proportional.
Definition histogram.hpp:13
Histogram::setData
void setData(const std::vector< double > &data1D)
Set 1D data.
Definition histogram.cpp:8
Histogram::setBinCount
void setBinCount(const unsigned int binCount)
Set the bin count for e.g. histogram.
Definition histogram.cpp:4
Proportional
Proportional class. Do the most work in all 2D plot figures.
Definition proportional.hpp:12