Sommaire


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

c00c.c
/* --------------------------------- */
/* save as  c00c.c                   */
/* --------------------------------- */
#include "x_hfile.h"
#include      "fc.h"
/* --------------------------------- */
int main(void)
{
tvalue t;

  t.min   =        0.; 
  t.max   =     2.*PI;  
  t.step  =      0.05;  

CTRL_splot p;

  p.xmin = -1;
  p.xmax =  1;             
  p.ymin = -1;
  p.ymax =  1;

 clrscrn();

 printf(" Four-leaved rose\n\n"
        " r : t-> %s\n\n", req);

  G_polar_lp(p,
             r,
             t);

 printf(" ... load \"a_main.plt\" ... with gnuplot.  \n\n");
 stop();

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


Exemple de sortie écran :

 Four-leaved rose

 r : t-> a*cos(2*t)

 To see the graph, open the file "a_main.plt" with Gnuplot.

 Press return to continue.