Display COMPLETE DOCUMENT Scroll Up Scroll DOWN MORE! TOP

How do I get GCG graphics on my PC (clone)?

If your PC can display graphics (i.e. has suitable graphic display software such as SmarTerm or an X-terminal emulator) you can have the graphic output displayed directly on your machine. Read on for instructions. If your PC 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

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 'pctek' if you have SmarTerm, and 'colorX' or 'monoX' if you have an X-windows emulator. You should see a window appear on your screen.

Then type 'plottest', and you should see graphics appear in the window. 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.

If you are using some other communications software, the important question is whether it can do Tektronix emulation. Try the 'pctek' option in setplot, if that doesn't work look through the software user manual and see if it says anything about emulating Tektronix. If not, you may be out of luck; if you really need the graphics you will either have to get the GCG graphics to go to a file and print that, or buy different communications software.

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: TEK4014
  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 TEK4014 attached to term
  using the tekd graphic interface.

 tekd instructions for a TEK4014 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 TEK4014 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 TEK4014 are now being sent to term.

Press <Return>

helix%
Sample pepplot graphic output

If you want publication-quality graphics, see How can I modify a GCG graphics figure for publication?.