changeset 4090:18adbb958baa

[project @ 2002-10-06 19:59:06 by jwe]
author jwe
date Sun, 06 Oct 2002 19:59:06 +0000
parents f70ce9baacd3
children 575507e27b8b
files src/ChangeLog src/pt-plot.cc
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Oct 05 03:47:40 2002 +0000
+++ b/src/ChangeLog	Sun Oct 06 19:59:06 2002 +0000
@@ -1,3 +1,9 @@
+2002-10-06  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* pt-plot.cc (subplot::handle_plot_data): Surround file names in
+	single quotes, not double (for Windows).
+	(do_external_plotter_cd): Likewise.
+
 2002-10-03  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* cutils.c (octave_usleep): Call octave_sleep, not sleep.
--- a/src/pt-plot.cc	Sat Oct 05 03:47:40 2002 +0000
+++ b/src/pt-plot.cc	Sun Oct 06 19:59:06 2002 +0000
@@ -704,7 +704,7 @@
 
 	      if (ftmp)
 		{
-		  plot_buf << " \"" << file << '"';
+		  plot_buf << " '" << file << "'";
 		}
 	      else
 		{
@@ -752,7 +752,7 @@
 		  if (file.length () > 0)
 		    {
 		      mark_for_deletion (file);
-		      plot_buf << " \"" << file << '"';
+		      plot_buf << " '" << file << "'";
 		    }
 		}
 	    }
@@ -926,7 +926,7 @@
   if (plot_stream && *plot_stream)
     {
       OSSTREAM plot_buf;
-      plot_buf << "cd \"" << newdir << "\"" << Vgnuplot_command_end
+      plot_buf << "cd '" << newdir << "'" << Vgnuplot_command_end
 	       << OSSTREAM_ENDS;
       send_to_plot_stream (OSSTREAM_STR (plot_buf));
       OSSTREAM_FREEZE (plot_buf);