MATLAB Answers

logarithmic bar chart with variable bases

4 views (last 30 days)
Mepe
Mepe on 4 Mar 2020
Commented: dpb on 4 Mar 2020
I would like to use a logarithmic y axis for a bar chart.
This goes with the command
set(gca,'YScale','log')
Now I want to adjust the scaling of the axis using different bases (10, 20 ...).
Is there a way to do this in Matlab?
  3 Comments
dpb
dpb on 4 Mar 2020
If that is the intent, then yes. You could with a lot of effort, create your own log scale axes object, but would be sizable effort for more than the most rudimentary.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by