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 Commenti

Just wondering... which renderer are you using, and does the behavior change if you switch to a different one?
John
John il 7 Set 2012
Modificato: John il 7 Set 2012
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?
John
John il 7 Set 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Richiesto:

il 7 Set 2012

Community Treasure Hunt

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

Start Hunting!

Translated by