image thumbnail

Pythagoras tree

version (4.2 KB) by Guillaume JACQUENOT
This function generates Pythagoras tree and exports the plot to SVG file.


Updated 01 Mar 2010

View License

The Pythagoras Tree is a plane fractal constructed from squares. It is named after Pythagoras because each triple of touching squares encloses a right triangle, in a configuration traditionally used to depict the Pythagorean theorem.

Cite As

Guillaume JACQUENOT (2021). Pythagoras tree (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!