How can I generate equal visual witdh bars with bar graph and log absciss scale ?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Damien MORIN
le 19 Juin 2019
Réponse apportée : Roman Katzer
le 20 Fév 2024
Hello everyone,
My problem is that I want to obtain a graph similar to this one (consider the green bars only) with Matlab.
The things is that with a logarithmic absciss scale with Matlab, I obtain:
Is there a way to generate bars with a width that increase when this bar is located on the right of the absciss scale in order to hev "visualy" the same width for each bar ?
Regards
N.B : I put my code as an attached file but it is quite simple.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Roman Katzer
le 20 Fév 2024
I used the stairs plot function with specified band edges. Code is attached.
What I don't know is why the fractional spectra from poctave would be different, depending on whether I calculate them from time signal os the time signal's PSD. If anyone has an idea, please help.
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!