diff scripts/plot/__gnuplot_open_stream__.m @ 11588:d5bd2766c640

style fixes for warning and error messages in script files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:51:13 -0500
parents c792872f8942
children
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_open_stream__.m
+++ b/scripts/plot/__gnuplot_open_stream__.m
@@ -29,14 +29,14 @@
   if (npipes > 1)
     [plot_stream(1), plot_stream(2), pid] = popen2 (prog, args{:});
     if (pid < 0)
-      error ("__gnuplot_open_stream__: failed to open connection to gnuplot.");
+      error ("__gnuplot_open_stream__: failed to open connection to gnuplot");
     else
       plot_stream(3) = pid;
     endif
   else
     plot_stream = popen (sprintf ("%s ", prog, args{:}), "w");
     if (plot_stream < 0)
-      error ("__gnuplot_open_stream__: failed to open connection to gnuplot.");
+      error ("__gnuplot_open_stream__: failed to open connection to gnuplot");
     endif
   endif
   if (nargin > 1)