I am programming a GUI which has a Axes on it. I want to plot texts on the Axes so I use TEXT function.
The problem is that when I zoom in the Axes, the text that I only want to display on axes will move outside of Axes, displaying on other part of GUI, which I do not want to happen!
Thank you for your time

 채택된 답변

Walter Roberson
Walter Roberson 2011년 6월 17일

0 개 추천

Set the Clipping property of the text object to be 'on'
See the "text properties" reference material for more information.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

질문:

Lin
2011년 6월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by