# HG changeset patch # User Rik # Date 1398807465 25200 # Node ID ea22cf3e370b74ba60ddae34edff5aa38dd19dbf # Parent abd8d8c686c942c9e14c327ad5d0cce55c9bf984 Don't plot grid lines directly over axis box lines. * gl-render.cc (opengl_renderer::render_grid): Only plot grid lines which are within the axes box rather than within or on the axes box boundary. diff -r abd8d8c686c9 -r ea22cf3e370b libinterp/corefcn/gl-render.cc --- a/libinterp/corefcn/gl-render.cc Tue Apr 29 11:53:23 2014 -0700 +++ b/libinterp/corefcn/gl-render.cc Tue Apr 29 14:37:45 2014 -0700 @@ -651,7 +651,7 @@ for (int i = 0; i < ticks.numel (); i++) { double val = ticks(i); - if (lim1 <= val && val <= lim2) + if (lim1 < val && val < lim2) { if (xyz == 0) // X {