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.

DISLIN example
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.


  1. Download the distribution for "Digital/Compaq Visual Fortran 5.x, 6.x" from the official website.
  2. Unzip and run setup.exe.
  3. Install DISLIN to c:\dislin.
  4. Set the environment variable DISLIN to c:\dislin and add c:\dislin\win to the system path variable.


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).

DISLIN with Compaq Visual Fortran
Fig. 2: The project settings in Compaq Visual Fortran

Follow these steps inside the Visual Fortran IDE to add DISLIN to your Fortran project:

Finally, compile your Fortran project.

Last Update: Sat, 02 Feb 2019 17:46:12 +0100