Mercurial > repos > public > sbplib
comparison +parametrization/old/plot_shape.m @ 151:3a3cf386bb7e feature/grids
Moved Curves and Tis from package grid to package parametrization.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 21 Dec 2015 15:09:32 +0100 |
parents | +grid/old/plot_shape.m@48b6fb693025 |
children | 81e0ead29431 |
comparison
equal
deleted
inserted
replaced
150:d5a794c734bc | 151:3a3cf386bb7e |
---|---|
1 % Plot a shape using n points. Returns cell array of plot handles. | |
2 % hs = plot_shape(s,n) | |
3 function hs = plot_shape(s,n) | |
4 default_arg('n',100); | |
5 | |
6 hs = {}; | |
7 hold on | |
8 for i = 1:length(s) | |
9 hs{end+1} = grid.plot_curve(s{i},n); | |
10 end | |
11 hold off | |
12 end |