Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
hassan elkholy
hassan elkholy le 14 Oct 2020
how can i include both linear and logarithmic (dB) scales in one plot
code
figure;
plot(w,20*log10(abs(p)))
grid

Réponses (1)

Ameer Hamza
Ameer Hamza le 14 Oct 2020
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.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by