Mathc initiation/Fichiers h : c53a3
Installer et compiler ces fichiers dans votre répertoire de travail.
c01a.c |
---|
/* --------------------------------- */
/* save as c01a.c */
/* --------------------------------- */
#include "x_hfile.h"
#include "fa.h"
/* --------------------------------- */
int main(void)
{
CTRL_splot p;
p.xmin = 2, p.xmax = 6;
p.ymin = -6, p.ymax = -2;
p.zmin = -2, p.zmax = 2;
p.rot_x = 61, p.rot_z = 252;
p.scale = 1, p.scale_z = 1;
pt2d Q = i_pt2d( 4,-4);
pt2d step = i_pt2d(.1,.1);
clrscrn();
printf(" f : (x,y)-> %s\n\n\n", feq);
printf(" choose a first approximation for \n");
printf(" your critical point for example :\n\n\n");
printf(" x = %f y = %f \n\n\n",Q.x,Q.y);
G_3d_pxy( p,
feq,f,
Q,step);
printf(" ... load \"a_main.plt\" ... with gnuplot. \n\n");
stop();
return 0;
}
/* --------------------------------- */
/* --------------------------------- */
Exemple de sortie écran 1 :
f : (x,y)-> cos(x)+cos(y)
choose a first approximation for
your critical point for example :
x = 4.000000 y = -4.000000
Open the file "a_main.plt" with gnuplot.
Press return to continue.