subplot(2,2,1) hist(rand(1,100), 0.05:0.10:0.95); title('A') set(gca,'xtick',0:0.1:1); subplot(2,2,2) points = 0.005:0.010:0.995; hist(points, 0.05:0.10:0.95); title('B') set(gca,'xtick',0:0.1:1); set(gca,'ylim',[0 12]); subplot(2,2,3) pkg load statistics hist(exprnd(0.1, 1,100), 0.05:0.10:0.95); title('C') set(gca,'xtick',0:0.1:1); subplot(2,2,4) hist(rand(1,100), 0.05:0.10:0.95); title('D') set(gca,'xtick',0:0.1:1);