How to Uncover the Hidden Tick Covered by an Object?
3 ビュー (過去 30 日間)
古いコメントを表示
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')
0 件のコメント
採用された回答
Walter Roberson
2017 年 2 月 23 日
You can set the axes property 'layer' to 'top'; https://www.mathworks.com/help/matlab/ref/axes-properties.html#property_Layer
0 件のコメント
その他の回答 (1 件)
Image Analyst
2017 年 2 月 23 日
Without seeing a screenshot, about all I can suggest is to try to make the plot taller by adjusting ylim().
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Graphics Object Properties についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!