Overlap Gridline and Border (Box)

I have a pesky visual problem with plotting. When I plot using gridlines and "box on", the gridline for the upper y-limit doesn't match up exactly with the border, so there you see both. Is there a way to fix this?

4 个评论

Just wondering... which renderer are you using, and does the behavior change if you switch to a different one?
John
John 2012-9-7
编辑:John 2012-9-7
Had never changed that before. I was using Painters, tried OpenGL and Zbuffer, and all three had the same problem.
Repro code for a minimal working example?
Couldn't really recreate it, but I found a fix. I was using a specific figure size, and adjusting this by a small amount made the problem go away.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

提问:

2012-9-7

Community Treasure Hunt

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

Start Hunting!

Translated by