src/GamIO/Ggnuplot.cc
// Input        none    : Output filename
//		warn    : Warning flag
// Return       GPE     : A string for the Gnuplot
//                        executable command (hopefully)
// Note         	: Add more Gnuplot paths to GPNames in
//			  GPSeekStrings as needed.
Input        none    : Output filename
warn    : Warning flag
Return       GPE     : A string for the Gnuplot
executable command (hopefully)
Note           : Add more Gnuplot paths to GPNames in
GPSeekStrings as needed.
Input none : Output filename warn : Warning flag Return GPE : A string for the Gnuplot executable command ( hopefully ) Note : Add more Gnuplot paths to GPNames in GPSeekStrings as needed .
vector<string> GPSeekStrings()
  {
  vector<string> GPNames;
  string GP("gnuplot");
  string WGP("wgnuplot");
  string UB("/usr/bin/");
  string ULB("/usr/local/bin/");
  string UFW("/usr/freeware/bin/");
  string CW("/cygwin/bin/");
  string CWU("/cygwin/usr/bin");
  string CWUL("/cygwin/usr/local/bin");
  string MW("/mingw");
  string MWB("/mingw/bin");
  GPNames.push_back(GP);			
  GPNames.push_back(ULB + GP);			
  GPNames.push_back(UB + GP);			
  GPNames.push_back(UFW + GP);			
  GPNames.push_back(WGP);			 Windoze
  GPNames.push_back(ULB + WGP);			
  GPNames.push_back(UB + WGP);			
  #if defined(_MSC_VER) || defined(__MINGW32__)
    string DC("C:");
    string DD("D:");
    GPNames.push_back(DC + ULB  + GP);
    GPNames.push_back(DC + CW   + GP);
    GPNames.push_back(DC + CWU  + GP);
    GPNames.push_back(DC + CWUL + GP);
    GPNames.push_back(DC + ULB  + WGP);
    GPNames.push_back(DC + CW   + WGP);
    GPNames.push_back(DC + CWU  + WGP);
    GPNames.push_back(DC + CWUL + WGP);
    GPNames.push_back(DD + ULB  + GP);
    GPNames.push_back(DD + CW   + GP);
    GPNames.push_back(DD + CWU  + GP);
    GPNames.push_back(DD + CWUL + GP);
    GPNames.push_back(DD + ULB  + WGP);
    GPNames.push_back(DD + CW   + WGP);
    GPNames.push_back(DD + CWU  + WGP);
    GPNames.push_back(DD + CWUL + WGP);
  #endif
  return GPNames;
  }
vector < string > GPSeekStrings ( ) { vector < string > GPNames ; string GP ( " " ) ; string WGP ( " " ) ; string UB ( " " ) ; string ULB ( " " ) ; string UFW ( " " ) ; string CW ( " " ) ; string CWU ( " " ) ; string CWUL ( " " ) ; string MW ( " " ) ; string MWB ( " " ) ; GPNames . push_back ( GP ) ; GPNames . push_back ( ULB + GP ) ; GPNames . push_back ( UB + GP ) ; GPNames . push_back ( UFW + GP ) ; GPNames . push_back ( WGP ) ; GPNames . push_back ( ULB + WGP ) ; GPNames . push_back ( UB + WGP ) ; #if defined ( _MSC_VER ) || defined ( __MINGW32__ ) string DC ( " " ) ; string DD ( " " ) ; GPNames . push_back ( DC + ULB + GP ) ; GPNames . push_back ( DC + CW + GP ) ; GPNames . push_back ( DC + CWU + GP ) ; GPNames . push_back ( DC + CWUL + GP ) ; GPNames . push_back ( DC + ULB + WGP ) ; GPNames . push_back ( DC + CW + WGP ) ; GPNames . push_back ( DC + CWU + WGP ) ; GPNames . push_back ( DC + CWUL + WGP ) ; GPNames . push_back ( DD + ULB + GP ) ; GPNames . push_back ( DD + CW + GP ) ; GPNames . push_back ( DD + CWU + GP ) ; GPNames . push_back ( DD + CWUL + GP ) ; GPNames . push_back ( DD + ULB + WGP ) ; GPNames . push_back ( DD + CW + WGP ) ; GPNames . push_back ( DD + CWU + WGP ) ; GPNames . push_back ( DD + CWUL + WGP ) ; #endif return GPNames ; }
Input        none    : Output filename
warn    : Warning flag
Return       GPE     : A string for the Gnuplot
executable command (hopefully)
Note           : Add more Gnuplot paths to GPNames in
GPSeekStrings as needed.
Input none : Output filename warn : Warning flag Return GPE : A string for the Gnuplot executable command ( hopefully ) Note : Add more Gnuplot paths to GPNames in GPSeekStrings as needed .
// If command local // GNUish install spot // Linux RPM install spot // SGI tardist install spot // If command local Windoze // Gnuish for cygwin // Why not for cygwin