You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
We developed a new function for the correct visualization of general directed and undirected rooted trees. Our function Drawtree(p,pre,x) is an educational purpose function which has the following three inputs:
1) p is the vector of parent pointers in which p(r) = r implies that r is the root.
2) pre is the vector of the pre-order traversal.
3) x is a vector which describes the arc?s directions.
This work was analytically presented in: Paparrizos K., Samaras N. and Sifaleras A., «A learning tool for the visualization of general, directed or undirected rooted trees» , Proc. of the 1st International Conference on New Learning Paradigms and New Learning Tools, (New Learning 2004), 10-12 May 2004, pp. 205-213, Skiathos, Greece.
Cite As
Angelo Sifaleras (2026). Plot trees (https://www.mathworks.com/matlabcentral/fileexchange/7410-plot-trees), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (19 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | An example |
