plotphytree

Version 1.0.0.0 (5.16 KB) by Bingley L
PLOTPHYTREE(TREE) renders a phylogenetic tree object into a MATLAB figure as a phylogram.
1.5K Downloads
Updated 13 Apr 2007

No License

PLOTPHYTREE(TREE) renders a phylogenetic tree object into a MATLAB figure as a
phylogram with equal angle algorithm.

plotphytree(...,'ROTATION',value) will orient the phylogenetic tree within the figure window. Positive angles cause counterclockwise rotation, otherwise clockwise rotation.

plotphytree(...,'FONTSIZE',value) will set the lable font size.A value specifying the font size to use for text in units determined by the FontUnits property (1 point = 1/72 inch). The default is calculated from the data
according to the number of nodes.

plotphytree(...,'LINESTYLE',value) will set the color of the tree. The default color is blue.

plotphytree(...,'FONTCOLOR',value) will set the color of lable. It is a vector includes [R, G, B] components. Each with the range of 0 to 1. The default setting is [.2 .2 .2].
%
%
% Example:
%
% tr = phytreeread('pf00002.tree');
% plotphytree(tr,'ROTATION',-pi/2, 'FONTSIZE', 8, 'LINESTYLE', 'b', 'FONTCOLOR', [0.2 0.2 0.2]);

This program refered the plot function in Bioinformatics Toolbox of Matlab and phylip program.

Cite As

Bingley L (2025). plotphytree (https://www.mathworks.com/matlabcentral/fileexchange/14636-plotphytree), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Genomics and Next Generation Sequencing in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0