Plot out of screen

조회 수: 4 (최근 30일)
John
John 2015년 4월 17일
댓글: John 2015년 4월 19일
Help, my plots are wider than the window. How can I shrink the plots?
  댓글 수: 3
Ronny Landsverk
Ronny Landsverk 2015년 4월 18일
편집: Ronny Landsverk 2015년 4월 18일
The default axes should fit the plot but you can use
xlim([x1,x2]);
ylim([y1,y2]);
Geoff Hayes
Geoff Hayes 2015년 4월 18일
John's answer moved here

댓글을 달려면 로그인하십시오.

채택된 답변

Geoff Hayes
Geoff Hayes 2015년 4월 18일
John - you have two options both of which will require you to modify the GUI through GUIDE (where this was created). Open the figure in GUIDE by typing the following in the Command Window (assumes that you have changed directory to where the GUI figure and m-file are or they are within the MATLAB search path)
guide LTE_GUI_show_aggregate_results.fig
Now you can either resize all controls so that the updated GUI fits within your screen, or (and this is the easier/better option), from the menu choose Tools->GUI Options and select Proportional as the Resize behaviour. Press OK and save the changes and then run your GUI. You will now be able to resize it for your monitor.
  댓글 수: 1
John
John 2015년 4월 19일
Thank you very much. The solution simply worked!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by