changeset 999:b989de67b22d

[project @ 1994-12-19 23:50:05 by jwe]
author jwe
date Mon, 19 Dec 1994 23:50:13 +0000
parents 032fcf9f45a4
children de0df9547e08
files src/pt-plot.cc src/pt-plot.h
diffstat 2 files changed, 30 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/src/pt-plot.cc
+++ b/src/pt-plot.cc
@@ -741,33 +741,33 @@
 subplot::subplot (void)
 {
   plot_data = 0;
-  using = 0;
-  title = 0;
-  style = 0;
+  using_clause = 0;
+  title_clause = 0;
+  style_clause = 0;
 }
 
 subplot::subplot (tree_expression *data)
 {
   plot_data = data;
-  using = 0;
-  title = 0;
-  style = 0;
+  using_clause = 0;
+  title_clause = 0;
+  style_clause = 0;
 }
 
 subplot::subplot (subplot_using *u, tree_expression *t, subplot_style *s)
 {
   plot_data = 0;
-  using = u;
-  title = t;
-  style = s;
+  using_clause = u;
+  title_clause = t;
+  style_clause = s;
 }
 
 subplot::~subplot (void)
 {
   delete plot_data;
-  delete using;
-  delete title;
-  delete style;
+  delete using_clause;
+  delete title_clause;
+  delete style_clause;
 }
 
 void
@@ -781,9 +781,9 @@
 {
   tree_constant retval;
 
-  if (using)
+  if (using_clause)
     {
-      ColumnVector val = using->values (ndim);
+      ColumnVector val = using_clause->values (ndim);
 
       Octave_object args;
       args(1) = val;
@@ -800,7 +800,7 @@
       retval = data;
     }
 
-  if (ndim == 2 && style && style->errorbars ())
+  if (ndim == 2 && style_clause && style_clause->errorbars ())
     {
       int nc = retval.columns ();
 
@@ -849,9 +849,9 @@
 		  plot_buf << " " << data.string_value ();
 		}
 
-	      if (using)
+	      if (using_clause)
 		{
-		  int status = using->print (ndim, n_max, plot_buf);
+		  int status = using_clause->print (ndim, n_max, plot_buf);
 		  if (status < 0)
 		    return -1;
 		}
@@ -905,9 +905,9 @@
   if (status < 0)
     return -1;
 
-  if (title)
+  if (title_clause)
     {
-      tree_constant tmp = title->eval (0);
+      tree_constant tmp = title_clause->eval (0);
       if (! error_state && tmp.is_string ())
 	plot_buf << " " << GNUPLOT_COMMAND_TITLE << " "
 	  << '"' << tmp.string_value () << '"';
@@ -922,9 +922,9 @@
     plot_buf << " " << GNUPLOT_COMMAND_TITLE << " "
       << '"' << "line " << plot_line_count << '"';
 
-  if (style)
+  if (style_clause)
     {
-      int status = style->print (plot_buf);
+      int status = style_clause->print (plot_buf);
       if (status < 0)
 	return -1;
     }
@@ -941,14 +941,14 @@
       plot_data->print_code (os);
     }
 
-  if (using)
-    using->print_code (os);
+  if (using_clause)
+    using_clause->print_code (os);
 
-  if (title)
-    title->print_code (os);
+  if (title_clause)
+    title_clause->print_code (os);
 
-  if (style)
-    style->print_code (os);
+  if (style_clause)
+    style_clause->print_code (os);
 }
 
 int
--- a/src/pt-plot.h
+++ b/src/pt-plot.h
@@ -177,9 +177,9 @@
 
 private:
   tree_expression *plot_data;
-  subplot_using *using;
-  tree_expression *title;
-  subplot_style *style;
+  subplot_using *using_clause;
+  tree_expression *title_clause;
+  subplot_style *style_clause;
 };
 
 class