plotphytree
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
