1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-09-19 21:25:36 +01:00

public access to gnuplot path

This commit is contained in:
Antonin Portelli 2020-01-10 15:15:46 +00:00
parent 4b5ad9014c
commit d43197ccc7
2 changed files with 5 additions and 3 deletions

View File

@ -580,7 +580,7 @@ Plot & Plot::operator<<(PlotModifier &&modifier)
}
// find gnuplot ////////////////////////////////////////////////////////////////
void Plot::getProgramPath(void)
std::string Plot::getProgramPath(void)
{
int i, j, lg;
char *path;
@ -640,6 +640,8 @@ void Plot::getProgramPath(void)
buf[lg] = 0;
gnuplotPath_ = buf;
}
return gnuplotPath_;
}
// plot parsing and output /////////////////////////////////////////////////////

View File

@ -381,9 +381,9 @@ public:
friend std::ostream & operator<<(std::ostream &out, const Plot &plot);
// plot reset
void reset(void);
private:
// find gnuplot
void getProgramPath(void);
std::string getProgramPath(void);
private:
// default options
void initOptions(void);
private: