how to plot the log scale for the following values ?

조회 수: 6 (최근 30일)
Harshil Patel
Harshil Patel 2018년 8월 21일
답변: Dimitris Kalogiros 2018년 8월 21일
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
jonas 2018년 8월 21일
@Shannon: Write an answer instead of a comment! You get some credits and the question is flagged accordingly.
Shannon Cherry
Shannon Cherry 2018년 8월 21일
Thanks, I'm new to this and this was my first answer.

댓글을 달려면 로그인하십시오.

답변 (2개)

Shannon Cherry
Shannon Cherry 2018년 8월 21일
Use loglog instead of semilogy. Type 'doc loglog' for explanation.

Dimitris Kalogiros
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;

카테고리

Help CenterFile Exchange에서 Log Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by