Mercurial > repos > public > sbplib
comparison +parametrization/old/plot_shape.m @ 886:8894e9c49e40 feature/timesteppers
Merge with default for latest changes
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 15 Nov 2018 16:36:21 -0800 |
parents | 81e0ead29431 |
children |
comparison
equal
deleted
inserted
replaced
816:b5e5b195da1e | 886:8894e9c49e40 |
---|---|
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} = parametrization.plot_curve(s{i},n); | |
10 end | |
11 hold off | |
12 end |