Black lines missing in the box holding the axes of a MATLAB plot <p>When plotting on a figure in MATLAB, I have noticed that parts of the black box that holds the axes are missing (the left and bottom one):</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <img src="https://i.stack.imgur.com/mNHJj.png" alt="enter image description here"></p> <p>I have tried issuing:</p> <pre><code>box off box on </code></pre> <p>commands with no success. Do you know what I can do to get the corresponding black lines on the axes?</p> <h2>Note:</h2> <p>I am using the OpenGL renderer:</p> <pre><code>set(0,'DefaultFigureRenderer','opengl'); </code></pre>