Zoom an image with a text

2 vues (au cours des 30 derniers jours)
Silvia
Silvia le 1 Juil 2011
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

Réponses (1)

Jan
Jan le 1 Juil 2011
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 commentaire
Silvia
Silvia le 1 Juil 2011
thank you very much :)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Exploration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by