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 commentaires

Walter Roberson
Walter Roberson le 7 Sep 2012
Just wondering... which renderer are you using, and does the behavior change if you switch to a different one?
John
John le 7 Sep 2012
Modifié(e) : John le 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 le 7 Sep 2012
Repro code for a minimal working example?
John
John le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Question posée :

le 7 Sep 2012

Community Treasure Hunt

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

Start Hunting!

Translated by