Sommaire


Installer et compiler ces fichiers dans votre répertoire de travail.

c00e.c
/* --------------------------------- */
/* save as  c00e.c                   */
/* --------------------------------- */
#include  "x_hfile.h"
#include       "fe.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot  w;
            w.xmin = -0.0; w.xmax = +2.;
            w.ymin = -0.0; w.ymax = +2.0;
             
tvalue ft; 
       ft.min   = -0.; 
       ft.max   = +2.;  
       ft.step  = .1;
       
tvalue gt; 
       gt.min   = -0.; 
       gt.max   = +2.;  
       gt.step  = .01;       

         G_fgab_2d( w,
                    ft,f,feq,
                    gt,g,geq);

 clrscrn();
 
 printf(" Draw the functions   y = %s(x),   y = %s(x)\n\n"
        " ... load \"a_main.plt\" ... with gnuplot.\n\n\n",
          feq,geq);

 stop();

 return 0;
}
/* --------------------------------- */
/* --------------------------------- */


Dessiner une fonction et son inverse


Exemple de sortie écran :

 Draw the functions   y = xP2(x),   y = sqrt(x)

 ... load "a_main.plt" ... with gnuplot.


 Press return to continue.