diff +anim/setup_time_quantity_plot.m @ 74:d0df12c03aac

Added missing axis_handle reference.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 23 Nov 2015 15:56:41 +0100
parents 942cb3c53a47
children a38c243991d0
line wrap: on
line diff
--- a/+anim/setup_time_quantity_plot.m	Mon Nov 23 15:48:58 2015 +0100
+++ b/+anim/setup_time_quantity_plot.m	Mon Nov 23 15:56:41 2015 +0100
@@ -23,7 +23,7 @@
 
             [t,~] = getpoints(plot_handles(1));
             if t(1) < t(end)
-                xlim([t(1) t(end)]);
+                xlim(axis_handle, [t(1) t(end)]);
             end
         end
     end