To see and print GCG's graphy in PC computer

Reinhard Doelz doelz at comp.bioz.unibas.ch
Mon Feb 12 06:03:33 EST 1996

: Could someone told me how to see and print GCG's graphy in PC computer?

You local GCG person might have set up these options for you within the GCG 
package itself already.  The attached text is reprinted from the BioCompanion, 
page 29 or similar, depending on your version (VMS/UNIX/taylored etc). 

Briefly, if you logged in to a computer which runs the GCG package you might 
use the capabilities of this program to display the graphics. Usually, the PC
and Mac public domain versions of terminal emulators are capable of Tektronix 
black and white graphics, but more sophisticated graphics are available and 
eventually recommended (secondary structure prediction cures etc.) 

If you are using X-Windows, the Wisconsin Package Interface displays the 
graphics in a separate window. 

Depending on your setup, you might want to look at the GhostView program, 
which is available on the network, to view and print postscript files. 
Be warned, though - you will need to ihave a non-negotiable amount of disk 
space on your PC (mainly, for the fonts) and also spend some time for the 
installation if the local computer support did not do this for you. Use 
a Web Robot and search for the keyword GSVIEW if you need more information.

Reinhard Doelz

Setup of the GCG Plotting Environment 
... Using WPI
WPI automatically displays graphics on the screen. If you want to 
recapture graphics, open the "output manager window" and select either the 
print or display option button. Depending on your
site, various devices will be configured. 

NOTE: WPI output files can become very large easily. Make sure to have 
enough disk space or quota if you produce many plots or delete them 
frequently. WPI deletes files only if selected. 

Plotting Setup from the Command Line Using the 'setplot' Utility 
% setplot 

If you issue the command 'setplot', you get a menu which allows you to 
choose from different options. Remember that the GCG package can either 
display graphics on the screen or print them on a printer. It is usually 
not possible with the default configuration to do both simultaneously.
The typical cycle of commands, therefore, is 

setplot  (-> set output to display device)   
program  (-> run program first time and display result)   
program  (-> rerun program if you need to optimise output)  
...      (rerun program, or other programs, as often as you need)   
setplot  (-> set output to printer)   
program  (-> generate hardcopy output)   
setplot  (-> reset output to display device)  

Plotting Setup from the Command Line Using Generic Commands 

If the command 'setplot' is not supported at your site, the following 
graphics drivers will be important. There are more available, ask your 
program manager for details. The setup is performed by typing one of the 
following commands: 

regis       for DEC terminals   
tektronix   for many kinds of graphics, including terminals and PCs   
hpgl        for Hewlet-Packard devices   
postscript  for postscript devices  
xwindows    for X-Windows  

Verification of the Plotting Environment 
To verify that your environment is setup and working properly, give the 

% plottest 

NOTE: Make sure that you are close to the printer when you try to print 
the plot test for the first time.
In the worst case, the graphics output is misconfigured and the printer
spits out paper like mad.
Refer to section "Need to Stop a Print Session" to stop a misguided output. 

Reinhard Doelz, Basel, Switzerland

More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net