src/GamIO/Ggnuplot.cc
// Input	gnumacro  : A filename for gnu macro file
//		file1D    : A filename of 1D gnuplot data
//		join      : Flags whether to join points
// Return	void	  : Information concerning how
//			    to plot in gnuplot is output
Input  gnumacro  : A filename for gnu macro file
file1D    : A filename of 1D gnuplot data
join      : Flags whether to join points
Return void      : Information concerning how
to plot in gnuplot is output
Input gnumacro : A filename for gnu macro file file1D : A filename of 1D gnuplot data join : Flags whether to join points Return void : Information concerning how to plot in gnuplot is output
void GP_xyplot(const string& gnumacro, const string& file1D, int join)
  {
  std::ofstream gnuload(gnumacro.c_str());		
  SetLineType(gnuload, join);			
  gnuload << "set parametric\n";		
  gnuload << "plot \"" << file1D << "\"\n";	
  CloseMacro(gnuload);				
  RunGnuplot(gnumacro);				
  }
void GP_xyplot ( const string & gnumacro , const string & file1D , int join ) { std :: ofstream gnuload ( gnumacro . c_str ( ) ) ; SetLineType ( gnuload , join ) ; gnuload << " \n " ; gnuload << " \" " << file1D << " \" \n " ; CloseMacro ( gnuload ) ; RunGnuplot ( gnumacro ) ; }
Input  gnumacro  : A filename for gnu macro file
file1D    : A filename of 1D gnuplot data
join      : Flags whether to join points
Return void      : Information concerning how
to plot in gnuplot is output
Input gnumacro : A filename for gnu macro file file1D : A filename of 1D gnuplot data join : Flags whether to join points Return void : Information concerning how to plot in gnuplot is output
// File of gnuplot commands // Set plot line type // Plot x vs y as parametric // Command for gnuplot plot // Add pause+exit, close macro // Run gnuplot with gnumacro