plot.h

00001 /*
00002  * Declaration of elementary graphical functions
00003  */
00004 
00005 /*
00006  *   Copyright (c) 2005 Eric Gourgoulhon
00007  *
00008  *   This file is part of LORENE.
00009  *
00010  *   LORENE is free software; you can redistribute it and/or modify
00011  *   it under the terms of the GNU General Public License as published by
00012  *   the Free Software Foundation; either version 2 of the License, or
00013  *   (at your option) any later version.
00014  *
00015  *   LORENE is distributed in the hope that it will be useful,
00016  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *   GNU General Public License for more details.
00019  *
00020  *   You should have received a copy of the GNU General Public License
00021  *   along with LORENE; if not, write to the Free Software
00022  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023  *
00024  */
00025 
00026 /*
00027  * $Id: plot.h,v 1.1 2005/11/14 01:57:00 e_gourgoulhon Exp $
00028  * $Log: plot.h,v $
00029  * Revision 1.1  2005/11/14 01:57:00  e_gourgoulhon
00030  * First version
00031  *
00032  *
00033  * $Header: /cvsroot/Lorene/School05/Monday/plot.h,v 1.1 2005/11/14 01:57:00 e_gourgoulhon Exp $
00034  *
00035  */
00036 
00037 #ifndef __PLOT_H_ 
00038 #define __PLOT_H_ 
00039 
00084 void plot_point(double x, double y, int color = 1, int nfig = 0, 
00085                 double ymin = -1., double ymax = 1., const char* title = 0x0, 
00086                 const char* label_y = 0x0, const char* device = 0x0) ;
00087 
00109 void plot_point_set(int np, const double* xx, const double* yy, int color = 1, 
00110                     int nfig = 0, double ymin = -1., double ymax = 1., 
00111                   const char* title = 0x0, const char* label_y = 0x0, 
00112                   const char* device = 0x0) ;
00113 
00142 void plot_profile(const double* yy, int nx, int color = 1, int style = 1,    
00143                   int nfig = 0, double ymin = -1., double ymax = 1., 
00144                   const char* title = 0x0, const char* label_y = 0x0, 
00145                   const char* device = 0x0) ;
00146 
00152 void plot_close(int nfig = 0) ;
00153 
00157 void plot_close_all() ;
00158 
00159 
00166 void plot_init() ; 
00167 
00172 void plot_open(int nfig, double ymin, double ymax, const char* title,    
00173     const char* label_y, const char* device) ; 
00174 
00175 #endif

Generated on Tue Dec 6 14:48:44 2011 for POLYNOM by  doxygen 1.4.6