The semilogy plot doesn't show the grid lines ?
조회 수: 10 (최근 30일)
이전 댓글 표시
Hi !
I have been working with my code, earlier it plotted fine the BER curve with semilogy but now when I added another case to semilogy it plots the curve fine but the it doesn't show the grid lines of semilogy.
Any kind of help would be appreciated. Currently I am getting the plot as this in the image in the attachment.
댓글 수: 0
답변 (2개)
Kate P
2023년 10월 19일
Make sure to specify the grid after you use the semilog command.
x = [1:1:100];
y = [1:10:1000];
figure('Name','semilog plot')
hold on
fontsize(16,"points")
hold off
semilogx(x,y)
hold on
grid on
semilogx(x,y)
hold off
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
