Histograms with different bin numbers for the same data. Interpretation in quite different in each case. Source code:
datuak=c(72.26399,57.00617,69.91893,62.28538,64.23263,66.36837,65.73023,59.25491,47.87921,
80.22539,55.26381,70.27965,64.78872,65.03225,48.90518,52.30302,73.17672,57.08555,67.52380,
65.37827,80.83639,57.30258,69.29734,68.39086,57.23719,63.02278,66.23289,57.89146,61.46943,
74.39894,64.11941,60.37424,70.17998,77.60188,69.26936,64.68734,69.46779,65.97961,63.06862,
59.96505)
png(filename = "tarte_kopuru_desberdinak_histograma_01.png", width=1650, height=400)
par(mfcol=c(1,4))
tarteak1=c(46,51,56,61,66,71,76,81)
tarteak2=c(45,50,55,60,65,70,75,80,85)
tarteak3=c(47,59,71,83)
library(Rlab) #Package needed for hplot
hplot(datuak,breaks=tarteak3,col=c("yellowgreen"),xaxt="n",yaxt="n",xlab="",ylab="",main="3 tarte",cex.main=2)
axis(1,at=tarteak3,cex.axis=2)
hplot(datuak,breaks=tarteak1,col=c("yellowgreen"),yaxt="n",xaxt="n",xlab="",ylab="",main="7 tarte",cex.main=2)
axis(1,at=tarteak1,cex.axis=2)
hplot(datuak,breaks=tarteak2,col=c("yellowgreen"),yaxt="n",xaxt="n",xlab="",ylab="",main="8 tarte",cex.main=2)
axis(1,at=tarteak2,cex.axis=2)
hplot(datuak,nclass=25,col=c("yellowgreen"),yaxt="n",xlab="",ylab="",main="25 tarte",cex.axis=2,cex.main=2) #hplot forces numbers of bis (hist suggests it)
dev.off()