How to make a stairs + semilogx plot?
8 views (last 30 days)
Show older comments
I have a spectrum of sound pressure measurement in one-third octave band starting from 25 Hz to 4000 Hz. I would like to make a staircase plot with x axis in log scale, i.e. a stairs + semilogx plot. Each stair should extend from the lower cutoff and higher cutoff frequencies of each band. How to do it?
0 Comments
Accepted Answer
Honglei Chen
on 30 May 2018
I don't know if this is what you want, but here is a quick example to combine stair plot with log scale in x
stairs(1:10,1:10);
set(gca,'XScale','log');
HTH
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!