Zoom an image with a text

2 ビュー (過去 30 日間)
Silvia
Silvia 2011 年 7 月 1 日
Hello,
I have an image and I have written a text on it. When I zoom the image (axes continue being same size)text appears out of axes and I don't know why I can read the text if it's out of axes.What I want is zoom the image and see the text until text is out of axes. Thak you

回答 (1 件)

Jan
Jan 2011 年 7 月 1 日
The property 'Clipping' triggers the visibility of objects outside the AXES area:
text(0.1, 0.1, 'Hello 1', 'Clipping', 'on');
text(0.1, 0.2, 'Hello 2', 'Clipping', 'off');
With enabled clipping the text disappears when zooming.
  1 件のコメント
Silvia
Silvia 2011 年 7 月 1 日
thank you very much :)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeData Exploration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by