How to set linear Y-axis with logarithm diagram?

39 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by