Filter löschen
Filter löschen

How to Uncover the Hidden Tick Covered by an Object?

3 Ansichten (letzte 30 Tage)
Rightia Rollmann
Rightia Rollmann am 23 Feb. 2017
Beantwortet: Walter Roberson am 23 Feb. 2017
The red rectangle covers the XTick at point 1 and that little black bar is not visible anymore (although it is visible for points -1 and 3 on x-axis). Is there any way to make it visible (for example by putting the Axes object in front of the rectangle)?
hAxss = axes( 'XLim', [-2 4])
R = rectangle('Position', [0 0 2 1], 'FaceColor', 'r')

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Feb. 2017

Weitere Antworten (1)

Image Analyst
Image Analyst am 23 Feb. 2017
Without seeing a screenshot, about all I can suggest is to try to make the plot taller by adjusting ylim().

Kategorien

Mehr zu Graphics Object Properties 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