how to make log axis scale
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Khaled aL Qattawi
el 8 de Jul. de 2022
Comentada: Khaled aL Qattawi
el 8 de Jul. de 2022
the code has loading files, all i want make the y axis as log scale. please see the attached plot, please help.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1059625/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1059625/image.png)
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 comentarios
Respuesta aceptada
Abderrahim. B
el 8 de Jul. de 2022
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');
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!