how to make log axis scale
3 ビュー (過去 30 日間)
古いコメントを表示
Khaled aL Qattawi
2022 年 7 月 8 日
コメント済み: Khaled aL Qattawi
2022 年 7 月 8 日
the code has loading files, all i want make the y axis as log scale. please see the attached plot, please help.

clear all;
load 'X_theta.txt';
X=X_theta;
load 'Y_POE.txt';
Y=Y_POE;
plot(X,Y);
title('Correction Factor And Probability of Exceedance');
xlabel('Correction Factor Θz');
ylabel('Probability of Exceedance PoE');
0 件のコメント
採用された回答
Abderrahim. B
2022 年 7 月 8 日
Hi!
clear all;
load 'X_theta.txt';
X=X_theta;
load 'Y_POE.txt';
Y=Y_POE;
semilogy(X,Y);
title('Correction Factor And Probability of Exceedance');
xlabel('Correction Factor Θz');
ylabel('Probability of Exceedance PoE');
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Log Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
