Mathc initiation/a577
Installer et compiler ces fichiers dans votre répertoire de travail.
c00a.c |
---|
/* --------------------------------- */
/* save as c00a.c */
/* --------------------------------- */
#include "x_afile.h"
#include "fu.h"
/* --------------------------------- */
int main(void)
{
tvalue t;
t.min = -2.;
t.max = 20.;
t.step = 0.01;
CTRL_splot w;
w.xmin = -1;
w.xmax = 5;
w.ymin = -1;
w.ymax = 2;
clrscrn();
printf(" U(t) : if(t<0) 0 else 1 \n\n");
G_U( w,t,U );
printf(" ... load \"a_main.plt\" ... with gnuplot.\n\n");
stop();
return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Exemple de sortie écran :
U(t) : if(t<0) 0 else 1
... load "a_main.plt" ... with gnuplot.
Press return to continue.