diff src/graphics.cc @ 7214:86d0b16f2bb2

[project @ 2007-11-29 03:40:04 by jwe]
author jwe
date Thu, 29 Nov 2007 03:40:04 +0000
parents 4612ef369abb
children dd8b3bbeeaf9
line wrap: on
line diff
--- a/src/graphics.cc	Thu Nov 29 01:57:11 2007 +0000
+++ b/src/graphics.cc	Thu Nov 29 03:40:04 2007 +0000
@@ -759,6 +759,17 @@
 }
 
 void
+base_properties::update_axis_limits (const std::string& axis_type) const
+{
+  graphics_handle h = (type == "axes") ? __myhandle__ : parent;
+
+  graphics_object obj = gh_manager::get_object (h);
+
+  if (obj.isa ("axes"))
+    obj.update_axis_limits (axis_type);
+}
+
+void
 base_properties::delete_children (void)
 {
   octave_idx_type n = children.numel ();
@@ -1780,6 +1791,11 @@
   return retval;
 }
 
+void
+axes::update_axis_limits (const std::string& /* axis_type */)
+{
+}
+
 std::string axes::properties::go_name ("axes");
 
 // ---------------------------------------------------------------------