changeset 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 8782d41893c6
children 9c36b3b7c818
files scripts/plot/polar.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/polar.m	Wed Dec 21 18:58:27 2011 -0500
+++ b/scripts/plot/polar.m	Wed Dec 21 19:13:41 2011 -0500
@@ -217,11 +217,13 @@
 
 
 %!demo
+%! clf
 %! theta = linspace (0, 2*pi, 1000);
 %! rho = sin (7*theta);
 %! polar (theta, rho);
 
 %!demo
+%! clf
 %! theta = linspace (0, 10*pi, 1000);
 %! rho = sin (5/4*theta);
 %! polar (theta, rho);