Parent Directory | Revision Log
Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'. Adding support for IPOPT 3.9.1, the current latest version. Support in dtar for parallel builds (possibly needs some testing still).
1 | #ifndef ASCXX_CURVE_H |
2 | #define ASCXX_CURVE_H |
3 | |
4 | #include <vector> |
5 | #include <string> |
6 | |
7 | #include "plot.h" |
8 | #include "instance.h" |
9 | |
10 | class Curve : public Instanc{ |
11 | friend class std::vector<Curve>; |
12 | private: |
13 | friend class Plot; |
14 | explicit Curve(const Instanc &); |
15 | Curve(); |
16 | public: |
17 | Curve(const Curve &); |
18 | std::vector<double> x; |
19 | std::vector<double> y; |
20 | const std::string getLegend() const; |
21 | |
22 | /** |
23 | Get the curve format string, as used by matplotlib. |
24 | Documented here: |
25 | http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.plot |
26 | |
27 | (This value is not used by the Tcl/Tk GUI.) |
28 | */ |
29 | const std::string getFormat() const; |
30 | }; |
31 | |
32 | #endif |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |