Mercurial > hg > octave-nkf
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 +++ b/src/ChangeLog @@ -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 +++ b/src/pt-plot.cc @@ -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);