plot (X,Y,Z) values on a triangular base. Values are scaled to fraction after which the position is calculated. The grid is a patch object, the three labels are text objects and positioned to not overlap with the plot. The data accepts all additional input to the plot function.
Compatibility:
Matlab: should work on all releases (tested on R2017b and R2012b)
Octave: tested on 4.2.1
OS: written on Windows 10 (64bit), Octave tested on a virtual (32bit) Ubuntu 16.04 LTS, should work for Mac
Cite As
Rik (2026). TrianglePlot (https://in.mathworks.com/matlabcentral/fileexchange/64996-triangleplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Leibniz harmonic triangle
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
