dise7

 

conto.dat scritto con notes e registrato in c:\provagnu......

# credito debito saldo
# conto.dat
1	4	2
2	8	5
3	9	7
4	5	8
5	8	5
6	6	9
set grid
set xrange [0:10]
set yrange[-5:10]
plot 'c:\provagnu\conto.dat' using 1:2 title 'credito' with lines 1
replot 'c:\provagnu\conto.dat' using 1:3 title 'debito' with lines 2
replot 'c:\provagnu\conto.dat' using 1:($2-$3) title 'saldo' with lines 3
pause -1