Version (7.29 KB) by Rik
Plot points or lines on a triangular field


Updated 7 Nov 2017

View License

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.
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 (2023). TrianglePlot (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
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!
Version Published Release Notes