Mercurial > octave
changeset 18704:ea22cf3e370b
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.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 29 Apr 2014 14:37:45 -0700 |
parents | abd8d8c686c9 |
children | 60df2fd04293 |
files | libinterp/corefcn/gl-render.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 {