フィルターのクリア

How to set linear Y-axis with logarithm diagram?

26 ビュー (過去 30 日間)
Lotmeri
Lotmeri 2019 年 2 月 21 日
編集済み: Adam Danz 2019 年 2 月 25 日
Hi,
I have to set linear Y-axis with logarithm scale but I need to visualize the linear values ( only Y-axis, not X).
Thank you

採用された回答

Adam Danz
Adam Danz 2019 年 2 月 21 日
編集済み: Adam Danz 2019 年 2 月 25 日
Set the 'YScale' axis property to 'log'
x = 1:10;
y = x.^2;
figure
h = plot(x,y)
set(gca, 'YScale', 'log')

その他の回答 (0 件)

カテゴリ

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