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 Kommentare

darova
darova am 29 Aug. 2021
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
darova
darova am 29 Aug. 2021
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 am 30 Aug. 2021
Bearbeitet: Cris LaPierre am 30 Aug. 2021
A link to the file exchange would be helpful, then.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 28 Aug. 2021

Kommentiert:

am 30 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by