diff src/pt-plot.cc @ 607:ae3b8b2924a0

[project @ 1994-08-13 20:11:17 by jwe]
author jwe
date Sat, 13 Aug 1994 20:11:17 +0000
parents 205b8c2ef749
children 14b2a186a5c0
line wrap: on
line diff
--- a/src/pt-plot.cc
+++ b/src/pt-plot.cc
@@ -47,6 +47,7 @@
 #include "tree-cmd.h"
 #include "tree-const.h"
 #include "tree-plot.h"
+#include "load-save.h"
 #include "help.h"
 #include "error.h"
 #include "utils.h"
@@ -806,10 +807,10 @@
 	  switch (ndim)
 	    {
 	    case 2:
-	      t.save (file);
+	      save_ascii_data (file, t);
 	      break;
 	    case 3:
-	      t.save_three_d (file, parametric);
+	      save_three_d (file, t, parametric);
 	      break;
 	    default:
 	      panic_impossible ();