App Designer: keep axes limits fixed
    조회 수: 7 (최근 30일)
  
       이전 댓글 표시
    
Hi folks,
I'm working on a GUI with two UIAxes. On one axes I want to show the whole plot and so the Xlim, Ylim and ZLim are set to 'auto'. On the second UIAxes I want to create a detailed/zoomed view on what I'm plotting. But how to keep the Axes limits fixed automatically to a value I want? If I set XLim to 'manual' and Ylim & ZLim to 'auto' the UIAxes is kind of rotated, the x axis is on the rigth of my UIAxes and the whloe plot is rotated by 90°. 
The limits have to be predefined in App Designer and can not be changed via code.
Can anyone help? 

Thanks in advance.
댓글 수: 0
답변 (1개)
  Cris LaPierre
    
      
 2021년 1월 8일
        Not sure what you mean by "rotated".
This is how you can set the X lmiits in you can't use code, though not all types of plots will honor them.
댓글 수: 2
  Cris LaPierre
    
      
 2021년 1월 11일
				Can you share your mlapp file? You can attach it to your post using the paperclip icon.
참고 항목
카테고리
				Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

