Ternary plot (Contour lines)

15 次查看(过去 30 天)
Angshuman Podder
Angshuman Podder 2023-4-6
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by