changeset 18705:60df2fd04293

Don't plot tickmarks over axes lines for better appearance. * gl-render.cc (opengl_renderer::render_tickmarks): Use '<' rather than '<=' so that tickmarks exactly on the axes boundaries are not included.
author Rik <rik@octave.org>
date Tue, 29 Apr 2014 15:50:32 -0700
parents ea22cf3e370b
children ec55f6870efb
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 14:37:45 2014 -0700
+++ b/libinterp/corefcn/gl-render.cc	Tue Apr 29 15:50:32 2014 -0700
@@ -700,7 +700,7 @@
     {
       double val = ticks(i);
 
-      if (lim1 <= val && val <= lim2)
+      if (lim1 < val && val < lim2)
         {
           if (xyz == 0) // X
             {