Separating axes from plot area in MATLAB <p>I find that data points that lie on or near the axes are difficult to see. The obvious fix, of course, is to simply change the plot area using <code>axis([xmin xmax ymin ymax])</code>, but this is not preferable in all cases; for example, if the x axis is time, then moving the minimum x value to -1 to show activity at 0 does not make sense. </p> <p>Instead, I was hoping to simply move the x and y axes away from the plot area, like I have done here: <a href="https://i.stack.imgur.com/WzkUw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WzkUw.png" alt="left: Matlab generated, right: desired (image editing software)"></a> left: MATLAB generated, right: desired (image editing software) </p> <p>Is there a way to automatically do this in MATLAB? I thought there might be a way to do it by using the <code>outerposition</code> axes property (i.e., set it to <code>[0 0 0.9 0.9]</code> and drawing new axes where they originally were?), but I didn't get anywhere with that strategy.</p>