Filter löschen
Filter löschen

Zoom an image with a text

4 Ansichten (letzte 30 Tage)
Silvia
Silvia am 1 Jul. 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

Antworten (1)

Jan
Jan am 1 Jul. 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 Kommentar
Silvia
Silvia am 1 Jul. 2011
thank you very much :)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by