Mercurial > repos > public > sbplib
comparison +parametrization/old/plot_shape.m @ 832:5573913a0949 feature/burgers1d
Merged with default, and updated +scheme/Burgers1D accordingly
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 11 Sep 2018 15:58:35 +0200 |
parents | 81e0ead29431 |
children |
comparison
equal
deleted
inserted
replaced
831:d0934d1143b7 | 832:5573913a0949 |
---|---|
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 |