Mathc gnuplot/Fichiers h : xfxy x
Apparence
Installer et compiler ce fichier dans votre répertoire de travail.
![]() |
c00a.c |
---|
/* ------------------------------------ */
/* Save as : c00a.c */
/* ------------------------------------ */
#include "v_a.h"
#include "y_o.h"
/* ------------------------------------ */
int main(void)
{
double **U = GINIT(-10.,10.,-10.,10.);
int i = 4;
clrscrn();
for(;i--;)
{GO(U,5.);TU(U,90.);}
F_mR(U);
printf(" * open the file main.plt with Gnuplot.\n\n\n");
getchar();
return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Exemple de sortie écran :
# Gnuplot file : load "a_main.plt"
set zeroaxis
set size ratio -1
plot [-10.000:10.000] [-10.000:10.000] \
"data.plt" with linesp pt 0
Résultat dans gnuplot |
---|
![]() |