Mercurial > hg > octave-nkf
comparison scripts/plot/polar.m @ 14088:9c1f630dc03d stable
polar.m: Add clf() to demos (bug 35142).
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 21 Dec 2011 19:13:41 -0500 |
parents | 5f0bb45e615c |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
14087:8782d41893c6 | 14088:9c1f630dc03d |
---|---|
215 | 215 |
216 endfunction | 216 endfunction |
217 | 217 |
218 | 218 |
219 %!demo | 219 %!demo |
220 %! clf | |
220 %! theta = linspace (0, 2*pi, 1000); | 221 %! theta = linspace (0, 2*pi, 1000); |
221 %! rho = sin (7*theta); | 222 %! rho = sin (7*theta); |
222 %! polar (theta, rho); | 223 %! polar (theta, rho); |
223 | 224 |
224 %!demo | 225 %!demo |
226 %! clf | |
225 %! theta = linspace (0, 10*pi, 1000); | 227 %! theta = linspace (0, 10*pi, 1000); |
226 %! rho = sin (5/4*theta); | 228 %! rho = sin (5/4*theta); |
227 %! polar (theta, rho); | 229 %! polar (theta, rho); |
228 | 230 |