how to plot ternary with data base on their probability?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to have a ternary plot same as this
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/900635/image.jpeg)
i wrote this but it is not like as the above
[h,hg,htick]=terplot;
%-- Plot the data ...
hter1=ternplot(BBr(1:125), FFe(1:125), CCa(1:125));
hold on
hter2=ternplot(BBr(126:859), FFe(126:859), CCa(126:859));
%-- ... and modify the symbol:
set(hter1,'marker','o','markerfacecolor','red','markersize',6)
set(hter2,'marker','+','markerfacecolor','blue','markersize',6)
hlabels=terlabel('Br','Fe','Ca');
title('A')
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!