Announcement : gnuplotfortran
From: Madhusudan Singh (spammers-go-here_at_yahoo.com)
Date: 04/26/04
- Next message: Madhusudan Singh: "Re: is pgplot library good enough?"
- Previous message: Madhusudan Singh: "Announcement : fortranposix"
- Next in thread: TimC: "Re: Announcement : gnuplotfortran"
- Reply: TimC: "Re: Announcement : gnuplotfortran"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Apr 2004 17:25:22 -0400
This file is a part of the gnuplotfortran library. This provides an
interface between Fortran 90/95 and GNUPlot
Copyright (C) 2004 Madhusudan Singh
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
I would strongly welcome bug reports, feature enhancement requests,
compliments, donations and job offers :) My email address : msc@ieee.org
gnuplotfortran overview :
Project Description: This library is a Fortran 95
gnuplot interface for some Unix like OS'es. This
provides some routines that enables direct access of a
child gnuplot session from a Fortran 95 program.
Registration Description: This library is a Fortran
95 gnuplot interface. This provides some routines that
enables direct access of a child gnuplot session from a
Fortran 95 program.
This library requires the fortranposix library (also
developed by me), enables IPC communication between
Fortran 95 and a gnuplot child process.
-----------------------------------------------------------
Additional Information :
Purpose of the project : This project provides an
interface between GNUPlot and Fortran 95. Fortran 90/95
is the premier programming language for scientific
calculations and number crunching. GNUPlot is one of
the most popular plotting programs available in the
public domain. Unlike C, Python and C++, no interface
using direct inter process communication between
Fortran 95 and GNUPlot exists in public domain. DISLIN
is a commercially available package but I think that an
LGPL'ed project of this kind will find a very large
user base that has had to rely on commercial packages
or use some rather unintuitive and cumbersome methods
of doing data visualization in Fortran.
Software Operation : The sofware is a Fortran module
that contains calls to the kernel (uses my fortranposix
project - also submitted yesterday and rejected without
any clear reasons) which lead to a direct interaction
between Fortran 95 and GNUPlot over a pipe. The pipe is
unidirectional, so no error messages from GNUPlot can
be reported back, but there are plenty of safeguards in
the module that will obviate most problems that arise
out of careless programming.
OS Platforms : It has been tested on Linux with the
free Intel Fortran Compiler. Since it uses pipes, it
will in principle work on any OS that supports pipes
natively with minor changes that I hope to address in
future versions. This will not work on Windows or any
of its variants.
Programming languages used : Fortran 90/95
Graphical nature : It sets up an interaction between
Fortran and GNUPlot and can thus be used to render
graphical output.
REQUIREMENTS :
This will work for any system that :
1. Provides popen, pclose, and other such functions. For instance, if you
have the GNU C library installed it will do that.
2. C object files append an underscore to the end of C library functions.
3. You will need a copy of the LGPL'ed fortranposix library (Copyright (C)
2004 Madhusudan Singh).
4. GNUPlot. This library has been tested with GNUPlot 3.7.3.
This project requires the fortranposix library
(http://www.sourceforge.net/projects/fortranposix).
http://sourceforge.net/projects/gnuplotfortran
FEATURES :
Plot data directly from a F90/95 program by passing raw data arrays through
custom defined canned functions - can execute 2d, 3d, complex plane, and
curve and surface fitting type plots, using GNUPlot.
Specify output format - almost all the formats supported by GNUPlot are
supported.
Fine control of plot details (using gnuplot_set and other such commands).
Execute Gnuplot load files.
Just explore and see - it does almost everything that a GNUPlot session can
be used to do.
Please feel free to use this and get back to me with suggestions / feature
enhancement requests / bug reports, etc.
- Next message: Madhusudan Singh: "Re: is pgplot library good enough?"
- Previous message: Madhusudan Singh: "Announcement : fortranposix"
- Next in thread: TimC: "Re: Announcement : gnuplotfortran"
- Reply: TimC: "Re: Announcement : gnuplotfortran"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|