필터 지우기
필터 지우기

how to resize axes within a GUI

조회 수: 2 (최근 30일)
F Z
F Z 2013년 8월 14일
Hello,
I am not used to work with Gui interfaces and i am having some troubles to define the axes limits.
I want plot 2 points in the GUI. Lets say A(-2;10) and B(5;5) but as i can't change the axes limits i can't display these 2 points.
On the other hand, is it possible to change the X axis limit to [-100,100], the same for the Y one but centered in (0,0)?
Thank you in advance for your help,
Fatzo

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 8월 14일
편집: Azzi Abdelmalek 2013년 8월 14일
set(handles.axes1,'xlim',[-100 100],'ylim',[-100 100])
  댓글 수: 1
F Z
F Z 2013년 8월 16일
Hello,
Thank you a lot for your support. But still have the problem of recentring axis at the origin (0,0). Any ideas please?
tank you in advance for your help,
Fatzo

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by