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

25 ビュー (過去 30 日間)
Baris Akdag
Baris Akdag 2022 年 11 月 8 日
回答済み: Voss 2022 年 11 月 8 日
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.

回答 (1 件)

Voss
Voss 2022 年 11 月 8 日
fplot(@exp,[1e-4 10])
set(gca(),'XScale','log','YScale','log')

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by