Mathc initiation/a196
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c00b.c |
---|
/* --------------------------------- */
/* save as c00b.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "fb.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(" Three-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 :
Three-leaved rose
r : t-> a*cos(3*t)
To see the graph, open the file "a_main.plt" with Gnuplot.
Press return to continue.