How to set the x and y to log scale while plotting a function with fplot

25 Ansichten (letzte 30 Tage)
Baris Akdag
Baris Akdag am 8 Nov. 2022
Beantwortet: Voss am 8 Nov. 2022
I am trying to plot a function with fplot and i want to make the scales of x and y axis in log and since i have a function i dont know how and if i can use loglog for this.

Antworten (1)

Voss
Voss am 8 Nov. 2022
fplot(@exp,[1e-4 10])
set(gca(),'XScale','log','YScale','log')

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by