changeset 929:2b1abe048b61

[project @ 1994-11-16 00:04:41 by jwe]
author jwe
date Wed, 16 Nov 1994 00:04:41 +0000
parents 2f91e7098f8c
children b02124748d40
files src/pt-plot.cc
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/pt-plot.cc	Tue Nov 15 21:56:54 1994 +0000
+++ b/src/pt-plot.cc	Wed Nov 16 00:04:41 1994 +0000
@@ -1038,11 +1038,22 @@
   plot_line_count = 0;
 }
 
+// This should maybe reset other things too?
+
+void
+reinitialize_gnuplot (void)
+{
+  send_to_plot_stream ("set title\n");
+  send_to_plot_stream ("set xlabel\n");
+  send_to_plot_stream ("set ylabel\n");
+}
+
 DEFUN ("clearplot", Fclearplot, Sclearplot, 0, 0,
   "clearplot (): clear the plot window")
 {
   Octave_object retval;
   send_to_plot_stream ("clear\n");
+  reinitialize_gnuplot ();
   return retval;
 }