diff scripts/plot/__go_draw_axes__.m @ 6431:ff87ad14403f

[project @ 2007-03-22 18:20:31 by jwe]
author jwe
date Thu, 22 Mar 2007 18:20:32 +0000
parents 0cc5ca7b1e91
children f1f2e0de340a
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m	Wed Mar 21 20:58:08 2007 +0000
+++ b/scripts/plot/__go_draw_axes__.m	Thu Mar 22 18:20:32 2007 +0000
@@ -349,7 +349,7 @@
 
 	case "line"
 	  data_idx++;
-	  filespec{data_idx} = '-';
+	  filespec{data_idx} = "-";
 	  if (isempty (obj.keylabel))
 	    titlespec{data_idx} = "title \"\"";
 	  else
@@ -485,7 +485,7 @@
 	case "surface"
 	  data_idx++;
 	  [style, typ] = do_linestyle_command (obj, data_idx, plot_stream);
-	  filespec{data_idx} = '-';
+	  filespec{data_idx} = "-";
 	  if (isempty (obj.keylabel))
 	    titlespec{data_idx} = "title \"\"";
 	  else
@@ -723,6 +723,8 @@
 	  fputs (plot_stream, "e\n");
 	endif
       endfor
+    else
+      fputs (plot_stream, "plot \"-\";\nInf Inf\ne\n");
     endif
 
     fflush (plot_stream);