how to plot the log scale for the following values ?
이전 댓글 표시
x = [2.51 ;2.55; 2.56]; y = 10:10:30; semilogy(x,y,'bo-');
Not getting the log scale on Y axis.
댓글 수: 2
jonas
2018년 8월 21일
@Shannon: Write an answer instead of a comment! You get some credits and the question is flagged accordingly.
Shannon Cherry
2018년 8월 21일
Thanks, I'm new to this and this was my first answer.
답변 (2개)
Shannon Cherry
2018년 8월 21일
1 개 추천
Use loglog instead of semilogy. Type 'doc loglog' for explanation.
Dimitris Kalogiros
2018년 8월 21일
clear; close all; clc;
x = [2.51 ;2.55; 2.56];
y = 10:10:30;
loglog(x,y,'bo-');
grid on; zoom on;
카테고리
도움말 센터 및 File Exchange에서 Log Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!