No BSD License
-
deg2rad(deg)
-
fractions(A, B, C)
FRACTIONS normalise ternary data
-
simpletri(N);
SIMPLETRI return simple triangulation for square datasets
-
ternaxes(majors)
TERNAXES create ternary axis
-
terncontour(A, B, C, Z, I)
TERNCONTOUR plot contours on ternary phase diagram
-
terncoords(fA, fB, fC)
TERNCOORDS calculate rectangular coordinates of fractions on a ternary plot
-
ternlabel(A, B, C)
TERNLABEL label ternary phase diagram
-
ternpcolor(varargin)
TERNPCOLOR plot pseudo color diagram on ternary axes
-
ternplot(A, B, C, varargin)
TERNPLOT plot ternary phase diagram
-
ternsurf(A, B, C, Z)
TERNSURF plot surface diagram for ternary phase diagram
-
vertexlabel(A, B, C, offset)
VERTEXLABEL label ternary phase diagram at vertices
-
terndemo.m
-
View all files
from
Ternplot
by Carl Sandrock
Plots ternary phase data on a ternary phase diagram.
|
| ternpcolor(varargin) |
% TERNPCOLOR plot pseudo color diagram on ternary axes
% TERNPCOLOR(A, B, Z) plots surface fitted over Z on ternary phase diagram for three components. C is calculated
% as 1 - A - B.
%
% TERNPCOLOR(A, B, C, Z) plots surface of Z on ternary phase data for three components A B and C. If the values
% are not fractions, the values are normalised by dividing by the total.
%
% NOTES
% - An attempt is made to keep the plot close to the default trisurf type. The code has been based largely on the
% code for TERNPLOT.
% - The regular TITLE and LEGEND commands work with the plot from this function, as well as incrimental plotting
% using HOLD. Labels can be placed on the axes using TERNLABEL
%
% See also TERNSURF TERNCONTOUR
% Author : Carl Sandrock 20070107
% To do: Better error checking
function ternpcolor(varargin)
ternsurf(varargin{:});
view(0, 90);
|
|
Contact us at files@mathworks.com