add legend support to gnuplot output

This commit is contained in:
Mathieu Lacage committed 2007-12-12 09:33:22 +01:00
1 parent 457d07a50f
commit 01d7a64670
2 files changed
+13

No files matched your search

+4
View File
@@ -73,12 +73,16 @@ public:
Gnuplot (std::string pngFilename);
~Gnuplot ();
void SetLegend (std::string xLegend, std::string yLegend);
void AddDataset (const GnuplotDataset &dataset);
void GenerateOutput (std::ostream &os);
private:
typedef std::vector<GnuplotDataset *> Datasets;
Datasets m_datasets;
std::string m_xLegend;
std::string m_yLegend;
std::string m_pngFilename;
};