-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathPlot.h
More file actions
29 lines (19 loc) · 715 Bytes
/
Copy pathPlot.h
File metadata and controls
29 lines (19 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __PLOT__H__
#define __PLOT__H__
#include <vector>
#include <sstream>
class Plot
{
public :
Plot();
virtual ~Plot();
void plot();//essai
void plotPrices( const std::vector<double> & x, const std::vector<int> & y);
void plotOrderBook( const std::vector<int> & x, const std::vector<int> & y,int last, double volatility, std::vector<int> & MMprices, std::vector<int> & MMvolumes);
void plot2OrderBooks(const std::vector<int> & x1, const std::vector<int> & y1,int last1,
const std::vector<int> & x2, const std::vector<int> & y2,int last2);
void plot(std::string dataName, int size, const double *x, const double *y) ;
private :
FILE * m_gnuPlot;
};
#endif //__PLOT__H__