Plotting very small values using bar command
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ahmad Bilal
am 17 Jul. 2018
Kommentiert: Swati Sarangi
am 4 Dez. 2020
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.
3 Kommentare
Akzeptierte Antwort
Pawel Jastrzebski
am 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];
figure
ax = gca();
b = bar(y);
set(ax,...
'YScale','log');
2 Kommentare
Swati Sarangi
am 4 Dez. 2020
Hi,
How can I set axis property for small values of the order 10^(-10)?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!