Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29604 Discussions

plot commands in compaq visual fortran

mjsy8b
Beginner
2,391 Views
Hi,

There is an old fortran program written circa 1980 that I am working on and the only fortran compiler I have now is Compaq Visual Fortran 6.0. I know that it is supposed to be able to read the fortran 77 code just fine, but it is not recognizing certain commands that the program uses to plot some data. Here are the commands it is not recognizing:

gstart
gstop
powell
page
detdev
grace
simplx
xticks
yticks
xrevtk
yrevtk
yaxang
marker
sclpic
basalf
physor
area2d
headin
yname
xname
graf
curve
endgr

most of the commands are preceded by call. Thanks in advance.
0 Kudos
5 Replies
pcurtis
Beginner
2,391 Views
Neither F77 nor F90 include intrinsic functions for plotting. Your listed items are names for external subroutines, possibly written in Fortran, which were likely compiled into a library and available to the main program when it was linked. You need either to locate the source code for this library and port it to CVF, or find some equivalent means of realizing a plot. The latter might include writing a general plot routine yourself using Win32 API functions, exporting the program's data to Excel or similar app which has its own graphics functions, or perhaps acquiring a 3rd-party graphics library.
0 Kudos
Jugoslav_Dujic
Valued Contributor II
2,391 Views
A Google search reveals it's NASADIG library. Unfortunately,

"NASADIG is only available on the CCD Alpha Cluster, a DEC VMS system."

So, it looks as if Paul is right and that you'll have to seek for alternate solutions.

Jugoslav
0 Kudos
tkibedi
Novice
2,391 Views
According to a pdf document from Galaxy Advanced Engineering, Inc. (see
http://www.gaeinc.com/ugl.pdf
) their UGL library may be suitable for your application.

Tibor Kibedi, ANU
0 Kudos
mjsy8b
Beginner
2,391 Views
Hey guys, thank you very much for all of you help. The GAE UGL library looks like it would work perfectly, the only problem is that it costs $1,000. Are there any free libraries that would work?

thanks again
0 Kudos
mjsy8b
Beginner
2,391 Views
Also, my research indicates this program ran fine on a VAX system, and now that we have updated to windows with compaq visual fortran, it no longer works. I am thinking that it used DISSPLA from the VAX system and that there is nothing like it for CVF. Is this info correct, and what would be the best solution? Thanks!
0 Kudos
Reply