Re: real nos. with "D"exponent

Ethan Merritt <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <CAGRdh4tcyQTsF300EBEcw5tYSy2Tyt_toB2sX4kQ6yim6MGB1w@mail.gmail.com>
Look in the documentation for the command "set datafile fortran"

The `set datafile fortran` command enables a special check for values in
the
input file expressed as Fortran D or Q constants. This extra check slows
down
the input process, and should only be selected if you do in fact have
datafiles
containing Fortran D or Q constants. The option can be disabled again using
`unset datafile fortran`.



On Wed, Aug 12, 2026 at 6:06 PM Al Conle <[email protected]> wrote:

> Hi Gnuplot,
>
> Minor problem while using gnuplot6.0.0
>
> I have a larger txt file of 10 data columns showing a problem and a
> file with a fix.
> Below is  a  "tail"  of both files :
> cat tailBad+Good.txt
> #==> badFile.txt <==
> -0.00064 -0.00890   -25.9  -878.3 -1729.7   599.0    1995   22013.
>  0.4542704D-04  0.9625114D-01
> -0.00065 -0.00890   -26.6  -877.8 -1730.0   598.8    1997   22070.
>  0.4531073D-04  0.9634200D-01
> -0.00065 -0.00890   -26.6  -878.0 -1730.0   598.6    1998   22101.
>  0.4524784D-04  0.9638724D-01
> -0.00065 -0.00890   -26.6  -877.7 -1730.0   598.5    1999   22134.
>  0.4517834D-04  0.9643242D-01
> -0.00065 -0.00889   -26.9  -877.7 -1728.4   598.5    2000   22134.
>  0.4517834D-04  0.9647760D-01
>
> #==> goodFile.txt <==
> -0.00064 -0.00890   -25.9  -878.8 -1729.7   599.2    1994   21957. 0.000046
> 0.096206
> -0.00064 -0.00890   -25.9  -878.3 -1729.7   599.0    1995   22013. 0.000045
> 0.096251
> -0.00065 -0.00890   -26.6  -877.8 -1730.0   598.8    1997   22070. 0.000045
> 0.096342
> -0.00065 -0.00890   -26.6  -878.0 -1730.0   598.6    1998   22101. 0.000045
> 0.096387
> -0.00065 -0.00890   -26.6  -877.7 -1730.0   598.5    1999   22134. 0.000045
> 0.096432
> -0.00065 -0.00889   -26.9  -877.7 -1728.4   598.5    2000   22134. 0.000045
> 0.096478
>
>
> When plotted with command:
>     plot "tailBad+Good.txt" u 7:10 w l
>
>
> the plot shows two lines.  It seems that the   *D-01"  exponent is not
> correctly interpreted.   If I change all the  "D"  to "E" and replot, the
> lines are on top of each other.
>
> I am downloading  and installing 6.5 tomorrow and will check if the
> problem is solved in that version.
>
> Thanks for creating a great Gnuplot !
> It is a wonderful, useful tool !
>
> Al Conle
>
> _______________________________________________
> gnuplot-info mailing list
> [email protected]
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>

_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.