diff src/pt-plot.cc @ 2371:dd29ab8af9e7

[project @ 1996-10-12 00:09:55 by jwe]
author jwe
date Sat, 12 Oct 1996 00:09:57 +0000
parents 5a3f1d00a474
children f667d7ec08b9
line wrap: on
line diff
--- a/src/pt-plot.cc	Fri Oct 11 23:55:30 1996 +0000
+++ b/src/pt-plot.cc	Sat Oct 12 00:09:57 1996 +0000
@@ -61,6 +61,7 @@
 #include "sighandlers.h"
 #include "sysdep.h"
 #include "utils.h"
+#include "variables.h"
 
 // If TRUE, a replot command is issued automatically each time a plot
 // changes in some way.
@@ -627,8 +628,7 @@
       args(1) = val;
       args(0) = octave_value::magic_colon_t;
 
-      octave_value_list tmp = data.eval (0, 1, args);
-      retval = tmp(0);
+      retval = data.index (args);
 
       if (error_state)
 	return octave_value ();