how can i include both linear and logarithmic scales in one plot???
1 次查看(过去 30 天)
显示 更早的评论
how can i include both linear and logarithmic (dB) scales in one plot
code
figure;
plot(w,20*log10(abs(p)))
grid
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!