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 Kommentare

Walter Roberson
Walter Roberson am 7 Sep. 2012
Just wondering... which renderer are you using, and does the behavior change if you switch to a different one?
John
John am 7 Sep. 2012
Bearbeitet: John am 7 Sep. 2012
Had never changed that before. I was using Painters, tried OpenGL and Zbuffer, and all three had the same problem.
Sean de Wolski
Sean de Wolski am 7 Sep. 2012
Repro code for a minimal working example?
John
John am 7 Sep. 2012
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 7 Sep. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by