|
GCG Graphics Files Typical UNIX emulators cannot deal with graphical output. This is problematic for GCG programs that put out graphics, like FRAMES or COMPARE. For these programs, you will need to learn to download and view these files with a microcomputer program. The way to do that is dependent upon the type of computer (Mac) or PC and upon programs available at the site running the GCG suite. The awkwardness of this funciton is one of the primary reasons that I switched to SeqWeb. Your first steps are to generate a graphics file on the mainframe and to download it to your PC. When you generate the graphics file, you must redirect the graphic output to this file, and the output must be of a type appropriate for your system. So, directions for the two common systems, Mac and PC, based on "least common denominator" installations are given below. Our class can use the .gif driver, which is a universal solution! 1. Redirect graphic output to a figure
file GCGFigure is freeware from GCG. We did have it on the Macs last year, and will try to do so this year. If not, you should download it to a diskette for lab use. There is a manual for the use of GCGFigure, but the program is straightforward. GCG can provide two formats for PC use: Postscript (.ps) and HPGL (.hgl). Microsoft's current products no longer support .hgl files. Some graphic importers will support these files, feel free to use them if you have access to them. If you are using a PC, you have 2 basic options that depend on the software that you have.
frames -plo=myplot.hpgl myseq.seq Download the file myplot.hpgl to your PC, and open it with Adobe Photoshop as a Hewlett Packard Graphics Language format file. Some programs need the extensions .hgl or .plt to recognize this file type.
First, use setplot to create and to use a graphics configuration like the following. Type in setplot and follow the menus. Your first screen will look like this. C(reate) a new configuration that looks like the next image! Note that there are to set!!! You can now use commands like: frames -plo=myfigure.gif to redirect output to a .gif format file that can be be transferred via FTP to your PC and viewed in many applications, such as Netscape or manipulated with editors like Adobe Photoshop. You will need to use setplot EVERY TIME you login to select (not to create) the right graphics configuration!!!! Now you see one of the reasons I was seduced by SeqWeb.
|