Mercurial > hg > octave-lyh
changeset 14019:36d6867c85d9
rectangle.m: Replace "close all" with "clf" in demos to allow "rundemos plot"
to run conveniently.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 08 Dec 2011 20:33:21 -0500 |
parents | 5d5685216876 |
children | caf69ec5b94c |
files | scripts/plot/rectangle.m |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/rectangle.m +++ b/scripts/plot/rectangle.m @@ -205,17 +205,17 @@ %!demo -%! close all +%! clf %! axis equal %! rectangle ("Position", [0.05, 0.05, 0.9, 0.9], "Curvature", [0.5, 0.5]); %!demo -%! close all +%! clf %! axis equal %! rectangle ("Position", [0.05, 0.05, 0.9, 0.4], "Curvature", 1.0); %!demo -%! close all +%! clf %! axis equal %! h = rectangle ("Position", [0.05, 0.05, 0.9, 0.4], "Curvature", 1.0); %! set (h, "FaceColor", [0, 1, 0]);