Effacer les filtres
Effacer les filtres

Ternary plot (Contour lines)

15 vues (au cours des 30 derniers jours)
Angshuman Podder
Angshuman Podder le 6 Avr 2023
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.

Réponses (0)

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by