Mercurial > repos > public > sbplib
diff +anim/setup_1d_plot.m @ 66:dbc50fa58ca6
Made setup_1d_plot behave like matlab plot.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 20 Nov 2015 10:24:21 +0100 |
parents | ce90abc350c5 |
children | f87003695677 |
line wrap: on
line diff
--- a/+anim/setup_1d_plot.m Wed Nov 18 17:15:02 2015 +0100 +++ b/+anim/setup_1d_plot.m Fri Nov 20 10:24:21 2015 +0100 @@ -18,11 +18,9 @@ figure_handle = gcf; plot_handles(1) = plot(x,0*x); - hold on for i = 2:length(yfun) - plot_handles(i) = plot(x,0*x); + plot_handles(i) = line(x,0*x); end - hold off axis_handle = gca;