Mathc initiation/a429
Installer et compiler ces fichiers dans votre répertoire de travail.
c0a2.c |
---|
/* --------------------------------- */
/* save as c0a2.c */
/* --------------------------------- */
#include "x_afile.h"
#include "fa.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot w;
w.xmin = -3., w.xmax = 3.;
w.ymin = -3., w.ymax = 3.;
w.zmin = -5., w.zmax = 5.;
w.rot_x = 55., w.rot_z = 57.;
w.scale = 1., w.scale_z = 1.;
clrscrn();
printf(" Draw the volume between v and u :\n\n");
printf(" v : (x,y)-> %s \n", veq);
printf(" u : (x,y)-> %s\n\n\n", ueq);
G_vfg( w,
veq,
ueq);
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran :
Draw the volume between v and u :
v : (x,y)-> (+cos(x)*sin(y) + 4)
u : (x,y)-> (-cos(x)*sin(y) - 4)
... load "a_main.plt" ... with gnuplot.
Press return to continue.