How can I restrict the border of a figure on GUI.

1 view (last 30 days)
Hi everyone, I am working on GUI and as an example we can focuse on "GUI with axes and menu" in MATLAB GUI builder in order to define the problem. When you run GUI please firt rotate the plot and than zoom in. You will see that plot exceeds the border of the axes and covers all of the GUI.
Have a look at this picture. On the right you can see the GUI figure and border of axes and on te left plot that fills all of the GUI.
  4 Comments
Volkan Kandemir
Volkan Kandemir on 1 Apr 2012
Hi Mr.Jan, this is the first time that I am uploading a picture on the internet and I choose this site since registration is not compulsory. If you have any suggestion for sites I can use it for my next pictures :)
"Do you want to limit the outer position of the axes object?" my answer is yes, exactly that is what I want.
Varun Jadhav
Varun Jadhav on 20 Nov 2015
I'm having the same problems with my GUI. At first, I used 2 separate plots and the plot area was restricted. But now when I'm using subplots to do the same, the plot area widens over the entire length of the GUI and half of it is hidden behind the pushbuttons and edit texts.
Please guide on the same...

Sign in to comment.

Answers (0)

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!