🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #474

fortran-style scientific plotting in OS2 PM window?

#474
From: horne
Date: Sun, 26 Jul 1992 02:23
28 lines
1622 bytes

Summary -- can one do traditional scientific plotting (fortran style) into a PM
window, and still have WRITE (or printf, depending) statements output
to the screen somewhere?

I'm trying to assemble a scientific programming environment under OS2.  F2c and
gnu gcc are the main ingredients.  What's missing is graphics.

I had planned to port a graphics package -- initially an old Tektronics-style
system; if that works I'd consider the pre-GKS NCAR package.  

  I would like my OS2 box from which I run the program to remain visible and
display the output from fortran write statments (or printf).  I would like the
graphics to appear in a PM window.  My experiments so far (based on SAMPLE3
from Mark Johnson's GCC port)  have not succeeded. (I can plot, but printf
doesn't seem to work in a PM program).

One way to get this would seem to be to start a separate thread for
the graphics window; then do all plotting via messages to it from the "main"
task.  Isn't there a simpler way?  


			Thanks to any who respond -- please mail
			to me, since I don't read this group as 
			often as I should.
					Steve Horne
					horne@alcvax.pfc.mit.edu
Technical Details
Message-ID: <26JUL92.02231367@alcvax.pfc.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!alcvax.pfc.mit.edu!horne

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!alcvax.pfc.mit.edu!horne
From: horne@alcvax.pfc.mit.edu
Subject: fortran-style scientific plotting in OS2 PM window?
Message-ID: <26JUL92.02231367@alcvax.pfc.mit.edu>
Sender: news@athena.mit.edu (News system)
Nntp-Posting-Host: alcvax.pfc.mit.edu
Organization: MIT PLASMA FUSION CENTER
Date: Sun, 26 Jul 1992 02:23:13 GMT
Lines: 28