DISLIN with Digital/Compaq/HP/Intel Visual Fortran
DISLIN is a high-level library for displaying data as curves, bar graphs, pie charts, 3D-colour plots, surfaces, contours, and maps. It is developed at the Max Planck Institute for Solar System Research and supports several operating systems and programming languages. DISLIN is free for non-commercial purposes.
- Fig. 1: Example output of DISLIN
I tested DISLIN with the dusty Compaq Visual Fortran Professional Edition 6.6c compiler, but it should work with other Visual Fortran versions as well.
Installation
- Download the distribution for "Digital/Compaq Visual Fortran 5.x, 6.x" from the official website.
- Unzip
dl_11_df.zip
and runsetup.exe
. - Install DISLIN to
c:\dislin
. - Set the environment variable
DISLIN
toc:\dislin
and addc:\dislin\win
to the system path variable.
Usage
Attention: Ensure that the active configuration of your
Fortran project is set to "Release". The "Debug" configuration seems not to work
with DISLIN, as you will likely encounter linking errors (unresolved
external symbol
).
- Fig. 2: The project settings in Compaq Visual Fortran
Follow these steps inside the Visual Fortran IDE to add DISLIN to your Fortran project:
- Project → Add To Project → Files …
Add Fortran source filec:\dislin\dislin.f90
- Project → Settings → Fortran → Libraries
Use run-time library: Multi-threaded - Project → Settings → Fortran → Preprocessor
INCLUDE and USE Paths:c:\dislin
- Project → Settings → Link → Input
Add object/library modules:disdll.lib disdvf.lib user32.lib gdi32.lib
(user32.lib
andgdi32.lib
should be already in the list)
Additional library path:c:\dislin
Finally, compile your Fortran project.
Last Update:
Sat, 02 Feb 2019 17:46:12 +0100