Mercurial > repos > public > sbplib
comparison +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 |
comparison
equal
deleted
inserted
replaced
73:a5fa3c2d0aa3 | 74:d0df12c03aac |
---|---|
21 addpoints(plot_handles(j),t_now,yfun{j}(varargin{:})); | 21 addpoints(plot_handles(j),t_now,yfun{j}(varargin{:})); |
22 end | 22 end |
23 | 23 |
24 [t,~] = getpoints(plot_handles(1)); | 24 [t,~] = getpoints(plot_handles(1)); |
25 if t(1) < t(end) | 25 if t(1) < t(end) |
26 xlim([t(1) t(end)]); | 26 xlim(axis_handle, [t(1) t(end)]); |
27 end | 27 end |
28 end | 28 end |
29 end | 29 end |
30 update_data = @update; | 30 update_data = @update; |
31 end | 31 end |