フィルターのクリア

how can i include both linear and logarithmic scales in one plot???

3 ビュー (過去 30 日間)
hassan elkholy
hassan elkholy 2020 年 10 月 14 日
回答済み: Ameer Hamza 2020 年 10 月 14 日
how can i include both linear and logarithmic (dB) scales in one plot
code
figure;
plot(w,20*log10(abs(p)))
grid

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 10 月 14 日
Not possible on a single axes. You need to create two axes and join them in a seamless way. Refer to my answer here: https://www.mathworks.com/matlabcentral/answers/601147-extending-specific-y-axis-values for an example.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by