00001 00002 /* Copyright(C) (2002) <Florent.Morata@imag.fr> */ 00003 00004 /* 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU Library General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 */ 00019 00020 00030 /***********************************************************************************/ 00031 /* Xterm -> file extensions / GnuPlot style -> option * 00032 / * 00033 / latex -> tex / boxes -> rectangles verticaux * 00034 / pslatex -> pstex / dots -> petits points * 00035 / fig -> fig / errorbars -> points et barres verticales d'erreur * 00036 / jpeg -> jpg / impulses -> lignes verticales * 00037 / / lines -> lignes * 00038 / / linespoints -> lignes et points * 00039 / / points -> points * 00040 / / steps -> marche d'escalier * 00041 / * 00042 ************************************************************************************/ 00043 00044 #ifndef _FIC_GNU_H_ 00045 #define _FIC_GNU_H_ 00046 00047 // C++ includes 00048 #include <string> 00049 #include <vector> 00050 #include <fstream> 00051 #include <iostream> 00052 00054 using namespace std; 00055 00056 00060 enum gnu_type{ps_file,eps_file,jpg_file,tex_file,pstex_file,fig_file}; 00061 00062 00063 // functions 00064 void appel_script(string fic); 00065 00066 string create_courb(string name,int borng,int bornd,string option,gnu_type gt,string xlabel,string ylabel,bool bezier); 00067 00068 string create_aff(string name,int borng,int bornd,string option,string xlabel,string ylabel,bool bezier); 00069 00070 gnu_type choice_export(); 00071 00072 #endif 00073 00074