i try to plot data in a histogram or bar in python. The data size (array size) is between 0-10000. The data itself (each entry of the array) depends on the input and has a range between 0 and e+20 (mostly the data is in th same range). So i want to do a hist plot with matplotlib. I want to plot how often a data is in some intervall (to illustrate the mean and deviation). Sometimes it works like this: hist1. But sometimes there is a problem with the intevall size like this: hist2. In this plot i need more bars at point 0-100 etc. Can anyone help me with this?
The plots are just made with:
from numpy.linalg import * import matplotlib.pyplot as plt plt.hist(numbers,bins=100) plt.show()