Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

fic_gnu.cpp File Reference

Gnuplot manipulation in C++ code. More...

#include "fic_gnu.h"

Functions

void appel_script (string fic)
 Execution of GnuPlot script. More...

string create_courb (string name, int bornl, int bornr, string option, gnu_type gt, string xlabel, string ylabel, bool bezier)
 Creation of a script. More...

string create_aff (string name, int bornl, int bornr, string option, string xlabel, string ylabel, bool bezier)
 Creation of a posting script. More...

gnu_type choice_export ()
 User choice of extension exportation file. More...


Detailed Description

Gnuplot manipulation in C++ code.

Author:
- Florent.Morata@imag.fr
Date:
October 07, 2002

Function Documentation

void appel_script string    fic
 

Execution of GnuPlot script.

Parameters:
fic  a string corresponding to the path name of GnuPlot script to execute.

gnu_type choice_export  
 

User choice of extension exportation file.

Actually, available extensions are :

  • eps.
  • fig.
  • tex.
  • jpg.
  • ps.
  • pstex.
Returns:
The file type for GnuPlot exportation.

string create_aff string    name,
int    bornl,
int    bornr,
string    option,
string    xlabel,
string    ylabel,
bool    bezier
 

Creation of a posting script.

Parameters:
name  a string corresponding to the script name.
bornl  an integer corresponding to the lower born.
bornr  an integer corresponding to the upper born.
option  a string to specify style option.
xlabel  a string to specify x axis name.
ylabel  a string to specify y axis name.
bezier  a boolean to activate 'bezier' option.
Returns:
A string corresponding to the path script created.

string create_courb string    name,
int    bornl,
int    bornr,
string    option,
gnu_type    gt,
string    xlabel,
string    ylabel,
bool    bezier
 

Creation of a script.

This script is created in the current PSI directory.

Parameters:
name  a string corresponding to the script name.
bornl  an integer corresponding to the lower born.
bornr  an integer corresponding to the upper born.
option  a string to specify style option.
gt  gnu_type corresponding to the exportation extension.
xlabel  a string to specify x axis name.
ylabel  a string to specify y axis name.
bezier  a boolean to activate 'bezier' option.
Returns:
A string corresponding to the path script created.


Generated on Tue Dec 10 12:44:21 2002 for PSI by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002