Azzera filtri
Azzera filtri

How to set linear Y-axis with logarithm diagram?

26 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Adam Danz
Adam Danz il 21 Feb 2019
Modificato: Adam Danz il 25 Feb 2019
Set the 'YScale' axis property to 'log'
x = 1:10;
y = x.^2;
figure
h = plot(x,y)
set(gca, 'YScale', 'log')

Più risposte (0)

Categorie

Scopri di più su Log Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by