For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2005 > Announcement : New gnuplotfortran version (0.2.1) is available









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Announcement : New gnuplotfortran version (0.2.1) is available
Madhusudan Singh

2005-05-18, 8:58 pm

Hi all

Just uploaded another version (0.2.1) of gnuplotfortran
(gnuplotfortran.sourceforge.net). Contains pm3d support, dual axis support
for two dimensional plots, and some bugfixes (some minor, and one serious).
Please refer to the CHANGES file. It is possible that some code using
gnuplot_plot2d might be impacted (need keyword arguments).

There was an issue with a line in the code that was too long for the
gfortran compiler. Unfortunately, I was not able to pay close attention to
the bug reports for the past two months, so that issue might still be out
there. Could the person who reported that error please check if this
version still has that problem, so that I can fix it and upload a minor
bugfix ?

I promise to try to pay closer attention to the bug reports from now on.

MS
Joost

2005-05-19, 8:58 pm

Hi Madhusudan Singh,

g95 complains about a long line

Line 2249 of gnuplot_fortran95.f90 is being truncated

The line is indeed 133 characters, which is more than the 132 you're
guaranteed to have.

fixing that, the module compiles fine.

However: g95 -c gnuplot_fortran95_testbench.f90
In file gnuplot_fortran95_testbench.f90:140


status=gnuplot_plot2d(ptr_gctrl,numpoint
s,x,y1,'sin(x)',y2,'cos(x)',y3,
1
Error: Type mismatch in parameter 'y1axis' at (1). Passing REAL(8) to
CHARACTER(1)

Which I didn't really investigate...

Cheers,

Joost

Madhusudan Singh

2005-05-19, 8:58 pm

Joost wrote:

> Hi Madhusudan Singh,
>
> g95 complains about a long line
>
> Line 2249 of gnuplot_fortran95.f90 is being truncated
>
> The line is indeed 133 characters, which is more than the 132 you're
> guaranteed to have.
>
> fixing that, the module compiles fine.
>
> However: g95 -c gnuplot_fortran95_testbench.f90
> In file gnuplot_fortran95_testbench.f90:140
>
>
> status=gnuplot_plot2d(ptr_gctrl,numpoint
s,x,y1,'sin(x)',y2,'cos(x)',y3,
> 1
> Error: Type mismatch in parameter 'y1axis' at (1). Passing REAL(8) to
> CHARACTER(1)
>
> Which I didn't really investigate...
>
> Cheers,
>
> Joost



Thanks !!

The reason for the above is that I have not yet created an updated testbench
code for the new version of the library. As I stated in the CHANGES file,
it is the code using gnuplot_plot2d that is being impacted.

And I will fix the other problem shortly, in addition to adding two
"super-canned" routines to the library that create a panel of plots in one
shot instead of requiring that the user set all the gnuplot parameters,
declare pointers etc. I found out how painful the latter process was when I
recently used the library for a new code I had written.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com