how to plot the log scale for the following values ?
조회 수: 6 (최근 30일)
이전 댓글 표시
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.
답변 (2개)
Shannon Cherry
2018년 8월 21일
Use loglog instead of semilogy. Type 'doc loglog' for explanation.
댓글 수: 0
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;
댓글 수: 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!