Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!uunet!wuarchive!emory!gatech!prism!dali.gatech.edu!mikeg From: mikeg@dali.gatech.edu (Mike Gourlay) Newsgroups: comp.windows.x Subject: XGKS Metafile Output difficulties Keywords: X GKS metafile help Message-ID: <1991Feb20.134612@dali.gatech.edu> Date: 20 Feb 91 18:46:12 GMT Sender: news@prism.gatech.EDU Reply-To: mikeg@dali.gatech.edu (Mike Gourlay) Organization: Georgia Tech Lines: 28 Hello, I built xgks on my HPUX 7.0 under X11R4. and it seems to work fine. The demos that came with it work mostly, but none produce a metafile. One reads one, but there is no way for me to test it. Does anyone have some code I could see as an example for outputting GKS Metafiles using xgks in either or both the C and Fortran bindings. I have a program written in fortran that uses GKS to display some stuff used for radar cross sections. The code works, and xgks gives a picture of the object, but I want to get an output file so that I can make plots to a laser printer or plotter (HPGL if that helps). I don't know if this is right or not, but I also have gplot, which takes in CGM files and outputs X or PostScript, or other formats like tektronix). Is CGM the format GKS uses? If not, then how do I make plots of GKS pictures with xgks + some tool? What is the "some tool"? Thanks, Mike Gourlay mike@penguin.gatech.edu