Voilà l’autre jour je faisait un histogramme dans un uipanel :
h = uipanel;
axes('parent',h)
x = -4:0.1:4;
y = randn(10000,1);
hist(y,x)
axes('parent',h)
x = -4:0.1:4;
y = randn(10000,1);
hist(y,x)
ce qui donne
![histogramme fait avec MATLAB](http://blog.developpez.com/matlab4geek/files/2012/09/histo-300x224.png)
maintenant en zoomant :
comme on peut le voir l’histogramme est sorti de l’axe.