Mercurial > repos > public > sbplib
comparison +grid/old/plot_shape.m @ 0:48b6fb693025
Initial commit.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 17 Sep 2015 10:12:50 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:48b6fb693025 |
---|---|
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 |