mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
public access to gnuplot path
This commit is contained in:
parent
4b5ad9014c
commit
d43197ccc7
@ -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 /////////////////////////////////////////////////////
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user