|
From: Giacomo M. <gia...@em...> - 2009-12-07 17:30:28
|
Hello everyone,
I'm trying to plot contour lines from a file.
The commands I'm using are:
set terminal postscript eps enhanced solid color
set autoscale
set xlabel "R"
set ylabel "z"
set size ratio -1
set view 0,0
unset surface
unset key
unset title
set contour
set cntrparam levels incremental 0.1,0.02,50
set output "output.eps"
splot "r_z0.dat" with lines
set size ratio 0
and the file "r_z0.dat" looks like
-0.23630E+01 0.00000E+00 0.76950E-07
-0.23630E+01 0.18461E-01 0.75733E-07
-0.23630E+01 0.36922E-01 0.73310E-07
-0.23630E+01 0.15322E+01 0.00000E+00
-0.23630E+01 0.15507E+01 0.00000E+00
-0.23630E+01 0.15692E+01 0.00000E+00
-0.23630E+01 0.15876E+01 0.00000E+00
-0.23630E+01 0.16061E+01 0.00000E+00
-0.23630E+01 0.16246E+01 0.00000E+00
-0.23630E+01 0.16430E+01 0.00000E+00
-0.23630E+01 0.16615E+01 0.00000E+00
-0.23630E+01 0.16799E+01 0.00000E+00
ecc.
-0.23630E+01 0.21784E+01 0.00000E+00
-0.23630E+01 0.21968E+01 0.00000E+00
-0.23630E+01 0.22153E+01 0.00000E+00
-0.23630E+01 0.22338E+01 0.00000E+00
-0.23630E+01 0.22522E+01 0.00000E+00
-0.23630E+01 0.22707E+01 0.00000E+00
-0.23630E+01 0.22891E+01 0.00000E+00
-0.23630E+01 0.23076E+01 0.00000E+00
-0.23630E+01 0.23261E+01 0.00000E+00
-0.23630E+01 0.23445E+01 0.00000E+00
-0.23445E+01 0.00000E+00 0.23269E-06
-0.23445E+01 0.18461E-01 0.23145E-06
-0.23445E+01 0.36922E-01 0.22897E-06
-0.23445E+01 0.55383E-01 0.22545E-06
-0.23445E+01 0.73843E-01 0.22097E-06
-0.23445E+01 0.92304E-01 0.21524E-06
-0.23445E+01 0.11077E+00 0.20825E-06
-0.23445E+01 0.12923E+00 0.19997E-06
-0.23445E+01 0.14769E+00 0.19042E-06
-0.23445E+01 0.16615E+00 0.17968E-06
-0.23445E+01 0.18461E+00 0.16793E-06
-0.23445E+01 0.20307E+00 0.15485E-06
-0.23445E+01 0.22153E+00 0.14042E-06
-0.23445E+01 0.23999E+00 0.12462E-06
-0.23445E+01 0.25845E+00 0.10746E-06
-0.23445E+01 0.27691E+00 0.88923E-07
-0.23445E+01 0.29537E+00 0.69146E-07
ecc.
And I get an error message like :
"commands.txt", line 13: warning: Skipping unreadable file "r_z0.dat"
"commands.txt", line 13: warning: Axis range undefined due to improper
data values. NaN? Inf?
splot "r_z0.dat" with lines
^
"commands.txt", line 13: All points x value undefined
Any idea of what could it be?
Note: it used to work. Recently I upgraded Gnuplot to v. 4.2 and I'm
not using anymore ifort as a Fortran compiler to create the
executables that give me those data files, but gfortran. But since
I've done both things together I don't know if it's Gnuplot 4.2 fault
or gfortran fault...
Thanks in advance!
Giacomo
|