Mercurial > repos > public > sbplib
comparison +anim/setup_time_quantity_plot.m @ 70:243c558dc3ae
Made end of animated quantity plot nicer.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 23 Nov 2015 14:07:03 +0100 |
parents | f87003695677 |
children | 942cb3c53a47 |
comparison
equal
deleted
inserted
replaced
69:f87003695677 | 70:243c558dc3ae |
---|---|
23 for j = 1:length(yfun) | 23 for j = 1:length(yfun) |
24 quantities{j} = [quantities{j} yfun{j}(varargin{:})]; | 24 quantities{j} = [quantities{j} yfun{j}(varargin{:})]; |
25 plot_handles(j).XData = t; | 25 plot_handles(j).XData = t; |
26 plot_handles(j).YData = quantities{j}; | 26 plot_handles(j).YData = quantities{j}; |
27 end | 27 end |
28 | |
29 if t(end) > t(1) | |
30 xlim([t(1) 1.1*t(end)]); | |
31 end | |
28 end | 32 end |
29 end | 33 end |
30 update_data = @update; | 34 update_data = @update; |
31 end | 35 end |