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

请先登录,再进行评论。

回答(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 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by