diff scripts/plot/__go_draw_axes__.m @ 6942:fbf2e8b95a18

[project @ 2007-10-01 19:26:41 by jwe]
author jwe
date Mon, 01 Oct 2007 19:26:41 +0000
parents 17d9ce1f00f5
children 642f481d2d50
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m	Mon Oct 01 18:58:29 2007 +0000
+++ b/scripts/plot/__go_draw_axes__.m	Mon Oct 01 19:26:41 2007 +0000
@@ -702,7 +702,7 @@
     else
       xdir = "noreverse";
     endif
-    fprintf (plot_stream, "set %srange [%.15g:%.15g] %s;\n", xaxisloc, xlim, xdir);
+    fprintf (plot_stream, "set %srange [%.15e:%.15e] %s;\n", xaxisloc, xlim, xdir);
 
     if (yautoscale && have_data)
       ylim = get_axis_limits (ymin, ymax, yminp, ylogscale);
@@ -715,7 +715,7 @@
     else
       ydir = "noreverse";
     endif
-    fprintf (plot_stream, "set %srange [%.15g:%.15g] %s;\n", yaxisloc, ylim, ydir);
+    fprintf (plot_stream, "set %srange [%.15e:%.15e] %s;\n", yaxisloc, ylim, ydir);
 
     if (nd == 3)
       if (zautoscale && have_data)
@@ -729,7 +729,7 @@
       else
 	zdir = "noreverse";
       endif
-      fprintf (plot_stream, "set zrange [%.15g:%.15g] %s;\n", zlim, zdir);
+      fprintf (plot_stream, "set zrange [%.15e:%.15e] %s;\n", zlim, zdir);
     endif
 
     if (strcmpi (axis_obj.box, "on"))