Set Histogram yrange

Hi

Is it possible to set the yrange of a histogram plot? I have a number of
histograms on separate plots that I would like to have the same yrange to
make them easier to compare.

Thanks
Marco

···

--
View this message in context: http://www.nabble.com/Set-Histogram-yrange-tp24566489p24566489.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Hi Marco,

you can set the yrange for the axes after the historgram was plotted, e.g. :

hist(arange(30)%3)
ylim(0, 15)

best regards Matthias

···

On Monday 20 July 2009 11:26:27 marcog wrote:

Hi

Is it possible to set the yrange of a histogram plot? I have a number of
histograms on separate plots that I would like to have the same yrange to
make them easier to compare.

Thanks
Marco