|
From: Giacomo M. <gia...@em...> - 2009-12-07 18:40:54
|
I just realize that I have the same problem with the command:
splot 'datafile.dat'
where 'datafile.dat' is from the Gnuplot documentation!
# The valley of the Gnu.
0 0 10
0 1 10
0 2 10
1 0 10
1 1 5
1 2 10
2 0 10
2 1 1
2 2 10
3 0 10
3 1 0
3 2 10
The error is the same:
gnuplot> splot 'datafile.dat'
warning: Skipping unreadable file "datafile"
warning: Axis range undefined due to improper data values.
NaN? Inf?
^
All points x value undefined
Il giorno 07/dic/2009, alle ore 18.30, Giacomo Monari ha scritto:
> 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
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Gioca subito al grande social game di Kit Kat! Ogni giorno puoi vincere viaggi a Cuba e iTunes card per te e i tuoi amici. Gioca adesso
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9893&d=7-12
|