Some GCG programs such as mapplot, dotplot, plotfold, pepplot, pileup can produce graphic output. If your Mac can display graphics (i.e. has suitable graphic display software such as Versaterm Pro or an X-terminal emulator) you can have the graphic output displayed directly on your machine. Read on for instructions. If your Mac does not do Tektronix or X-term emulation, you can get the graphics output into a file which you can then print. See What if my connection software can't do graphics for instructions.
If your connection software does Tektronix or Xterm emulation:
These graphics are not publication quality, but may be useful for
quick checks of the output. (For publication-quality graphics,
you can send the output to a plotter/printer directly.
For example, see How do I print GCG graphics
to my postscript printer.)
First you need to tell GCG what kind of graphics to send. After you start up GCG (by typing 'gcg' at the helix prompt) type 'setplot', then select the 'mactek' option if you have Versaterm Pro, and 'colorX' or 'monoX' if you have an X-windows emulator.
Then type 'plottest', and a Versaterm window should appear showing test graphics. This means that GCG is able to display correctly to your machine.
If you now run any GCG program that produces graphics, it will send the output to this window.
Here is a sample session:
helix% setplot +----------------------> displaying all of 7 option(s) <---------------------+ |mactek Tektronix -- a Mac-Versaterm-Pro tektronix 4105 screen | |pctek Tektronix -- a tektronix 4014 screen [PC/Kermit] | |colorX Color X Windows Graphics Window | |monoX Monochrome X Windows Graphics Window | |lwpost to generate postscript for a Apple LaserWriter file ->gcgplot.ps | |EPSF to generate encapsulated popostscript file ->gcgplot.epsf | |HP7550 to select a HP7550 plotter file ->gcgplot.gl | | | | | | | | | | | +------------------------------------------------------------------------------+ Enter a command. Choices are: <up-arrow> and <down-arrow> scroll the list <return> makes GCG use the selected device Q quits without doing anything C creates and edits a new device (you can't delete from the site file) V views the selection (use C to edit a copy) Done Plotting Configuration set to: Language: tekd Device: VERSATERM-TEK4105 Port or Queue: term helix% plottest PlotTest plots a test pattern to see if your plotter is configured properly. The test pattern uses every GCG graphics feature. It should resemble the example test pattern in the PROGRAM MANUAL. Process set to plot with VERSATERM-TEK4105 attached to term using the tekd graphic interface. tekd instructions for a VERSATERM-TEK4105 are now being sent to term. Press <Return> helix% mapplot MapPlot displays restriction sites graphically. If you don't have a plotter, MapPlot can write a text file that approximates the graph. Process set to plot with VERSATERM-TEK4105 attached to term using the tekd graphic interface. (Linear) MAPPLOT of what sequence ? x87617.gb_new Begin (* 1 *) ? End (* 1497 *) ? *** I read your enzyme data file "enzyme.dat"!! *** Select the enzymes: Type nothing or "*" to get all enzymes. Type "?" for help on which enzymes are available and how to select them. Enzyme(* * *): tekd instructions for a VERSATERM-TEK4105 are now being sent to term. Press <Return> helix% |
The graphics file can be printed (in Versaterm Pro, use the Print Graphics option under the File menu) or saved (using the Save Graphics option under the File menu). If saved as a Pict file, the graphics can be imported into other Mac programs. The file is a bitmap file, and cannot be easily modified, but simple additions such as arrows can be made. If you want publication-quality graphics, see How can I modify a GCG graphics figure for publication?