Mathc initiation/Fichiers h : c66fb
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c00b.c |
---|
/* --------------------------------- */
/* save as c00b.c */
/* --------------------------------- */
#include "x_hfile.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot w;
w.xmin = -1;
w.xmax = 14;
w.ymin = -1;
w.ymax = 6;
Circlevalue c;
c.radius = 1;
c.cx = 1;
c.cy = 1;
c.step = .1;
clrscrn();
printf(" Draw a circle.\n\n");
circle(c);
G_C_2d_c(w);
printf(" ... load \"a_main.plt\" ... with gnuplot. \n\n");
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Draw a circle.
Open the file "a_main.plt" with Gnuplot.
Press return to continue.