Mercurial > repos > public > sbplib
annotate +parametrization/old/plot_shape.m @ 1118:07d0caf915e4 feature/poroelastic
Introduce optFlag so that one can choose not to build the optimization-related cell of matrices called B. It is too computationally costly and should probably be done in a different way.
| author | Martin Almquist <malmquist@stanford.edu> |
|---|---|
| date | Sun, 05 May 2019 19:05:31 -0700 |
| parents | 81e0ead29431 |
| children |
| rev | line source |
|---|---|
| 0 | 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) | |
|
248
81e0ead29431
Fixed package names in +parametrization
Jonatan Werpers <jonatan@werpers.com>
parents:
151
diff
changeset
|
9 hs{end+1} = parametrization.plot_curve(s{i},n); |
| 0 | 10 end |
| 11 hold off | |
| 12 end |
