Mathc initiation/004j
Apparence
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 = -0., w.xmax = 3.;
w.ymin = -0., 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 z1 and z0 :\n\n");
printf(" z1 : (x,y)-> %s \n", z1eq);
printf(" z0 : (x,y)-> %s\n\n\n", z0eq);
G_vfg( w,
z1eq,
z0eq);
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */

Exemple de sortie écran :
Draw the volume between z1 and z0 :
z1 : (x,y)-> (+cos(x)*sin(y) + 4)
z0 : (x,y)-> (-cos(x)*sin(y) - 4)
... load "a_main.plt" ... with gnuplot.
Press return to continue.