wxPlot 1.8
Real time plot library for wxWidgets
Loading...
Searching...
No Matches
spline.hpp
1#pragma once
2
3#include <vector>
4#include <wx/wx.h>
5#include "../line/line.hpp"
6
11class Spline: public Line {
12private:
13
14public:
22 void draw(wxDC& dc, const std::vector<double>& xData, const std::vector<double>& yData, const unsigned int colourIndex) override;
23};
Line class. Does the most of the things in 2D.
Definition line.hpp:10
Spline class. Inheritance from class Line.
Definition spline.hpp:11
void draw(wxDC &dc, const std::vector< double > &xData, const std::vector< double > &yData, const unsigned int colourIndex) override
Draw the spline plot inside the rectangle.
Definition spline.cpp:5