How can I correctly zoom axes inside an uipanel?

4 views (last 30 days)
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)
  1 Comment
Azzi Abdelmalek
Azzi Abdelmalek on 12 Sep 2012
What do you mean by zoom? by command line or manualy?

Sign in to comment.

Accepted Answer

Sean de Wolski
Sean de Wolski on 12 Sep 2012
  1 Comment
Aurelien Queffurust
Aurelien Queffurust on 12 Sep 2012
Edited: Aurelien Queffurust on 12 Sep 2012
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 Visual Exploration 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!

Translated by