Error in plotting ternary diagram using my script

Hello MATLAB community,
I am attaching a script named as ok.m
I am getting an unsymmetrical ternary plot after running this script (ok.m). I am attaching relevant functions too which are required for running my script named as ok.m
Can someone help me in setting the axes of this ternary plot symmetrical.
Please help me as I am new to MATLAB.
Thank you
Note: After saving all functions attached here, then only run the script named as ok.m

댓글 수: 5

There are too much complications. Please simplify the code or make another example
Dear sir, Actually the attached functions aren't written by me, and was collected from MATLAB exchange files. So all the functions are needed to run the script named as ok.m
Thank you
That is a lot of work too downlaod all those scripts
I agree sir. Also, as all these files were uploaded by the author who was not from MathWorks. So while downloading all those scripts, the author mentioned to save these all .m files in the current directory. I know it's a time taking task. But just a matter to download and save it at the current directory. After that it's just a matter of running the ready-made script ok.m
Please look at the output once after downloading all the files sir. If you could help then it's appreciated.
Thank you
Cris LaPierre
Cris LaPierre 2021년 8월 30일
편집: Cris LaPierre 2021년 8월 30일
A link to the file exchange would be helpful, then.

댓글을 달려면 로그인하십시오.

답변 (1개)

It works fine for me.
unzip('github_repo.zip')
ok

댓글 수: 3

Dear Cris LaPierre, Thank you for running my script. However, the plot shown in the right side of the output from ok.m has error. As you have too attached the output figure. That plot should be a triangle, but it looks crooked. I was looking for help by how on tweaking the script we can get a perfect triangle which shows stress, temperature and ageing time on the three sides of the triangle. I hope now the query is clear. If you still need any help kindly let me know. Regards Onkar Khadke
I would suggest sharing this with the author of the code. You can leave a comment in the Discussions tab of the File Exchange page.
Alright I will drop a message on discussion tab. Thank you

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Spline Postprocessing에 대해 자세히 알아보기

질문:

2021년 8월 28일

댓글:

2021년 8월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by