diff scripts/plot/__go_draw_axes__.m @ 10920:91ff0d7ee94b

Don't pass figure handle to __calc_dimensions__.
author Ben Abbott <bpabbott@mac.com>
date Fri, 27 Aug 2010 21:06:04 -0400
parents 888c75785221
children 2f9de135e7f9
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m
+++ b/scripts/plot/__go_draw_axes__.m
@@ -48,7 +48,7 @@
     nd = __calc_dimensions__ (h);
 
     if (strcmpi (axis_obj.plotboxaspectratiomode, "manual"))
-      pos = __actual_axis_position__ (axis_obj);
+      pos = __actual_axis_position__ (h);
     else
       pos = axis_obj.position;
     endif