Plotting very small values using bar command

10 views (last 30 days)
Hi, I have a series of data such as 1.11134,0.01823643,0.08337726 and so on. Can anybody guide how can i plot this series of numbers using bar command. Thank you.
jonas on 17 Jul 2018
Can you show us your code so far? If possible, attach the data as well

Sign in to comment.

Accepted Answer

Pawel Jastrzebski
Pawel Jastrzebski on 17 Jul 2018
If you have a mix of relatively high and low values, you might want to consider using the logarithmic scale for the y-axis, i.e.:
y = [1.11134,0.01823643,0.08337726];
ax = gca();
b = bar(y);
Swati Sarangi
Swati Sarangi on 4 Dec 2020
How can I set axis property for small values of the order 10^(-10)?

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by