bonjour,
si j ai une fonction a deux variables , et je veux la representer en deux 2,
alors apres avoire ecrit le code suivant , comment tracer ce fichier sur gnuplot?
merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
        program graph
        implicit none
        integer i,j
        real f,h
        h=0.1
        open(1,file='func.dat',status='unknown')
        do i=0,200
              do j=0,200
                    write(1,*) i*h,j*h, f(i*h,j*h)
               enddo
        end do
        close(1)
        end
 
        function f(x,y)
        implicit none
        real x, y, f
        f=x*y
        return
        end