How can I correctly zoom axes inside an uipanel?

When I execute this code ( an axe inside an uipanel ) :
h = uipanel;
axes('parent',h)
x = -4:0.1:4;
y = randn(10000,1);
hist(y,x)
and zoom in, the histogram can go outside the axes. How can I workaround this issue ?
Thanks
Aurélien (Win XP , R2012b)

 Accepted Answer

1 Comment

Thanks a lot ! I missed this BR! FYI setting opengl for the renderer has solved the issue

Sign in to comment.

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!