comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: VMS FORTRAN/GKS Graphics to PV-WAVE conversion
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: VMS FORTRAN/GKS Graphics to PV-WAVE conversion [message #21077] Wed, 09 August 2000 00:00 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
"Liam E. Gumley" wrote:
>
> curryks@my-deja.com wrote:
>> I wish to convert an existing FORTRAN program (with many, many
>> subroutines and GKS plot commands) into functional PVWave code. Does
>> anyone have any helpful hints as to how to go about this efficiently?
>
> The only way you can convert a FORTRAN program to IDL is to re-write it.
> No automated converter exists.
>
> Assuming your FORTRAN program contains a mixture of analysis and
> plotting, then you might consider sending the GKS commands (as text
> strings?) to an output file, and then writing an IDL interpreter for the
> GKS commands.

Alternatively, remove the plotting commands from your FORTRAN program
(but leave the analysis part intact), and then write the data from your
FORTRAN program into an ASCII or binary data file. Then use IDL to read
and plot the data.

I'd try this method first.

Cheers,
Liam.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: I $400 TODAY AND IT IS ONLY 3PM
Next Topic: Re: A[X,Y,Z] -> A[Z,X,Y]

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 20:22:22 PDT 2025

Total time taken to generate the page: 1.43963 seconds