changeset 20889:a88142abca36

Remove spurious tick labels occuring when setting ticks and removing tick labels. * scripts/plot/util/private/__gnuplot_draw_axes__.m: Consistently use "%.15g" in place of "%.15e"
author Edarag <edera@gmx.fr>
date Sun, 13 Dec 2015 17:40:44 -0500
parents bcb6edf35d93
children 95c0d4c07c56
files scripts/plot/util/private/__gnuplot_draw_axes__.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m	Sun Dec 13 14:48:32 2015 -0500
+++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m	Sun Dec 13 17:40:44 2015 -0500
@@ -2188,8 +2188,8 @@
     endif
     fprintf (plot_stream, "set %stics %s %s %s %s (", ax, tickdir,
              ticklength, axispos, mirror);
-    fprintf (plot_stream, " %.15e,", tics(1:end-1));
-    fprintf (plot_stream, " %.15e) %s;\n", tics(end), fontspec);
+    fprintf (plot_stream, " %.15g,", tics(1:end-1));
+    fprintf (plot_stream, " %.15g) %s;\n", tics(end), fontspec);
   else
     fprintf (plot_stream, "set %stics %s %s %s %s %s %s;\n", ax,
              tickdir, ticklength, axispos, mirror, colorspec, fontspec);