GW driver for PGPLOT (Rel. 1.5.0)
What's New on Mar 25, 2016:
- The PGPLOT driver (Rel. 1.5.0) is available on every versions of GrWin and GrWinC.
Source code for the PGPLOT driver is included in each of the GrWin Toolkit or the GrWinC Toolkit distributions.
The latest version of GrWin is available here.
The following is obsoleted and left for reference only.
- Sep 20, 2007:
- In future releases, Digital Visual Fortran 6.0 will not be supported here,
and instead combinations of compilers MS VC++ or Intel C++ and Intel Visual Fortran will officially be supported.
See the top page for details.
- Aother method to use PGPLOT for Win32 with MS VC++ v6.0 and Digital Visual Fortran 6.0:
- Download and expand a copy of
the GrWin toolkit of Version 0.99.9d (build # 1163052893) in a directory.
Then a directory GrWinTk shoud be created.
- Download and expand a copy of the distribution of
PGPLOT in the GrWinTk directory.
- Overwrite all files in the pgplot.pat directory into the pgplot directory, which was created by the expanding of the PGPLOT distribution,
conserving directory structures.
- Click GrWinLib.dsw in the build directory.
- Jul 1, 2003:
- Dec 9, 2002:
- The join mode, with wich drawings are made on an open window if any, becomes default.
Feb 17, 2002:
- Sample images for outputs of pgdemos are available examples/">here.
Jan 7, 2002:
- Web page on "PGPLOT for Win32 with MS VC++ v6.0 and Digital Visual Fortran 6.0" is available (thanks to Karl Glazebrook <email@example.com> and Bob Abraham <firstname.lastname@example.org>).
Oct 29, 2001:
The performance of the GW/CGW driver has drastically been improved.
New drivers GWD/CGWD, each of which, corresponding to GW/CGW, generates native source code that can be compiled without using the PGPLOT library, have added.
A class of PGPLOT drivers, /GW and /CGW (and /GWD and /CGWD), is implemented on Windows 2000/NT/Me/9x (x86) platforms
using GrWin Graphics Library Ver. 0.99.9b.
The /CGW (/CGWD) driver has a color table compatible with the original distribution of the PGPLOT,
whereas the background and the foreground color of the /GW (/GWD) driver are white and black, respectively.
The GrWin Library is a library of graphics routines for Fortran and C developed specifically
on Windows XP/2000/NT/Me/9x (x86) platforms using many compiler systems.
Source code to make these drivers is available here.
The same source code is also available in the GrWin ToolKit,
a set of source code and tools to build library files for GrWin, PGPLOT and f2c.
Executable files created from the original demo programs in the distribution of
PGPLOT version 5.2.0
by compiling with the supported compiler systems are available as archive files
listed in the following table:
||PGPLOT files for MinGW-2.0
||PGPLOT files for Cygnus Cygwin 1.3.x
||PGPLOT files for Open Watcom C/C++ and Fortran 1.0
||PGPLOT files for Borland C++ Compiler 5.5
||PGPLOT files for Digital Mars C/C++ Compilers
||PGPLOT files for Intel(R) C++/Fortran Compiler 7.1 ( f2c available )
||PGPLOT files for Microsoft Visual C++ Version 6.0 + f2c
||PGPLOT files for gcc-2.95.2-mingw32
||PGPLOT files for gcc-2.95.2-mingw32
||PGPLOT files for gcc-2.95.2-cygb20
||PGPLOT files for AT&T UWIN 3.x + gcc-2.95.2-uwin
If you use Compaq Visual Fortran (VF), no corresponding package is available now, but you can build all library files for it
using the GrWin ToolKit or referring Karl Glazebrook's Web page [ Thanks Karl! ].
To run executables, expand one of the archive files in a directory, and then execute each of pgdemo*.exe and cpgdemo.exe obtained.
If you downloaded a file for cygwin, cygb20 or uwin, you should do running as well as making executables in a console window under the corresponding environment.
To display graphics using the GrWin Library, the graphics engine grwnd.exe for GrWin is necessary to be launched.
See further information here to use grwnd.exe.
In each of the archives in the above table all files necessary to build executables under a corresponding environment are also included as well.
A brief instruction for an installation under Cygwin 1.3.x is as follows:
- download a copy of the distribution file >pggw0999b-cygwin.tgz into a directory, say /tmp
- unpack it in a directory, say /pgplot:
$ mkdir /pgplot
$ cd /pgplot
$ tar xvfz /pgplot/pggw0999b-cygwin.tgz
- copy the library files into /usr/lib:
$ cp *.a /usr/lib
- copy the include files into /usr/include:
$ cp *.h /usr/include
- set environment variables PATH and PGPLOT_DIR. If you use bash as a shell
input the following commands, which are necessary for every startups of bash and they can be in a startup file.
$ export PATH
$ export PGPLOT_DIR
To make executables from source, batch files in the distribution are useful.
Typical command lines are as follows:
$ pggwf77.bat pgdemo1 ( to compile pgdemo1.f )
$ pggwgcc.bat cpgdemo ( to compile cpgdemo.c )
$ pggwcpp.bat foo ( to compile foo.cpp )
Tsuguhiro TAMARIBUCHI <email@example.com>
Last modified: Tue Jul 1 23:44:34 JST 2003