Printing PHYLIP trees with GCG

Jack Leunissen jackl at caos.kun.nl
Wed May 7 09:55:24 EST 1997


Collegues,

DRAWTREE and DRAWGRAM, the tree-plotting programs from the PHYLIP
package now have a new plotting  device built-in: they now can
produce a GCG FIGURE formatted output file. This file can then be 
previewed or plotted via any of the output-devices that GCG supports,
like PostScript, HPGL, Tek, REGIS, etc. 

Although the PHYLIP programs can generate these formats themself, 
first producing a FIGURE formatted file makes it easier to combine 
trees in one picture, or to preview the tree topology via Xwindows. 

There is an additional advantage of PHYLIP trees in figure format, 
apart from the possibility of previewing them via X windows. 
After conversion of the figure file into HPGL, this file can be read 
into the most common PC drawing programs, like CorelDraw. Although 
this could already be done before by the tree-plotting program, the 
advantage of the additional step is in the fact that the labels now 
are treated as real text by the program, and not just as a bunch of
lines. This means that now you can easily change the character font 
and character size for all the labels in the trees! 

The modified source files (drawgraphics.c and drawgraphics.h) can be
picked up from the CAOS/CAMM FTP server; the URL is

	"ftp://ftp.caos.kun.nl/pub/molbio/phylip/draw/".

Simply place them in the PHLYIP source directory, and type "make"...

Cheers,
Jack


   Jack A.M. Leunissen       | Email: jackl at caos.kun.nl
   CAOS/CAMM Center          | Tel. : +31 24 365 22 48
   University of Nijmegen    | Fax  : +31 24 365 29 77
   Nijmegen, The Netherlands | Www  : http://www.caos.kun.nl



More information about the Mol-evol mailing list