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 Center および File ExchangeLog Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by