Ternary plot (Contour lines)
Hi, I am trying to draw some contour lines of a ternary phase diagram. I am currently just using closely spaced digitized points on the ternary plot. I am using the package: Ternary Plots. However, I want smooth lines connecting them. So far, I have this:
The code is:
B = readmatrix(‘dataset.xlsx’);
close all
clc
B1 = B*0.01; %liquidus line
fig = figure(‘units’,’pixels’,’position’,[100 100 1000 800]);
colormap(jet)
%– Plot the axis system
[h,htick]=terplot3;
hter1=ternaryc(B1(1:188,1),B1(1:188,2),B1(1:188,3)); %phase boundaries
set(hter1,’marker’,’o’,’markerfacecolor’,’none’,’markersize’,4)
hlabels=terlabel2(‘MnO’,’Al_2O_3′,’SiO_2′);
The dataset is here. Thanks for any help.Hi, I am trying to draw some contour lines of a ternary phase diagram. I am currently just using closely spaced digitized points on the ternary plot. I am using the package: Ternary Plots. However, I want smooth lines connecting them. So far, I have this:
The code is:
B = readmatrix(‘dataset.xlsx’);
close all
clc
B1 = B*0.01; %liquidus line
fig = figure(‘units’,’pixels’,’position’,[100 100 1000 800]);
colormap(jet)
%– Plot the axis system
[h,htick]=terplot3;
hter1=ternaryc(B1(1:188,1),B1(1:188,2),B1(1:188,3)); %phase boundaries
set(hter1,’marker’,’o’,’markerfacecolor’,’none’,’markersize’,4)
hlabels=terlabel2(‘MnO’,’Al_2O_3′,’SiO_2′);
The dataset is here. Thanks for any help. Hi, I am trying to draw some contour lines of a ternary phase diagram. I am currently just using closely spaced digitized points on the ternary plot. I am using the package: Ternary Plots. However, I want smooth lines connecting them. So far, I have this:
The code is:
B = readmatrix(‘dataset.xlsx’);
close all
clc
B1 = B*0.01; %liquidus line
fig = figure(‘units’,’pixels’,’position’,[100 100 1000 800]);
colormap(jet)
%– Plot the axis system
[h,htick]=terplot3;
hter1=ternaryc(B1(1:188,1),B1(1:188,2),B1(1:188,3)); %phase boundaries
set(hter1,’marker’,’o’,’markerfacecolor’,’none’,’markersize’,4)
hlabels=terlabel2(‘MnO’,’Al_2O_3′,’SiO_2′);
The dataset is here. Thanks for any help. ternary, plot MATLAB Answers — New Questions