Multiple statistics (Weibull) curves on one graph

8 ビュー (過去 30 日間)
Stanislav Sikulskyi
Stanislav Sikulskyi 2022 年 1 月 22 日
Hi, I am trying to plot several Weibull functions on one graph. Using the attached code I was able to achieved the result shown in the attached Figure and edit each line individually. Meanwhile, I like the appearance of wblplot function, it is easy to use it for one set of data (one curve), however I can not plot several curves. I would greatly appreciate any sugestions on how I cna use wblplot, thanks.
Code:
figure
set(gca,'XMinorTick','on','YMinorTick','on', 'LineWidth', 0.5,'TickLength',[0.0125, 0.01]);
box
hold on
f1=probplot('weibull',[E182_7]);
f1(2).LineWidth = 1;
f1(2).Color = [0.929 0.694 0.125];
hold on
f2=probplot('weibull',[E182_18]);
f2(2).LineWidth = 1;
f2(2).Color = [0.8500 0.3250 0.0980];
grid on
xlabel('Breakdown strength (E_B), V/µm', 'interpreter', 'tex');
ylabel('Breakdown probability, %', 'interpreter', 'tex');
h=legend('7%','','18%','','Location','southeast');
title(h,'CCTO vol.% in Sylgard 182:')
Figure:

採用された回答

Soujanya Shimoga Raveendra
Soujanya Shimoga Raveendra 2022 年 1 月 25 日
編集済み: Soujanya Shimoga Raveendra 2022 年 1 月 27 日
Hello,
As per my understanding, you wish to plot multiple Weibull functions on a graph using “wblplot” function.
One possible workaround is to pass the Weibull functions to be plotted as parameters to the "wbplot" function, as shown below:
figure
f = wblplot([E182_7 , E182_18]);
xlabel('Breakdown strength (E_B), V/µm', 'interpreter', 'tex');
ylabel('Breakdown probability, %', 'interpreter', 'tex');
h=legend('7%','','18%','','Location','southeast');
title(h,'CCTO vol.% in Sylgard 182:')
Refer “wblplot” function documentation to know more about Weibull probability plots.
Hope this helps!
  3 件のコメント
Soujanya Shimoga Raveendra
Soujanya Shimoga Raveendra 2022 年 1 月 27 日
編集済み: Soujanya Shimoga Raveendra 2022 年 1 月 27 日
Hi Stanislav,
Please try the below line of code:
f = wblplot([E182_7' , E182_18']);
Thanks,
Soujanya
Stanislav Sikulskyi
Stanislav Sikulskyi 2022 年 1 月 27 日
Hi Soujanya,
It works now and I can edit each line individually as I did before. Thank you!
Bes wishes,
Stan

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by