comparison scripts/plot/newplot.m @ 10549:95c3e38098bf

Untabify .m scripts
author Rik <code@nomad.inbox5.com>
date Fri, 23 Apr 2010 11:28:50 -0700
parents 62ebba45054e
children 84c35a483d1f
comparison
equal deleted inserted replaced
10548:479536c5bb10 10549:95c3e38098bf
37 case "add" 37 case "add"
38 case "replacechildren" 38 case "replacechildren"
39 delete (get (cf, "children")) 39 delete (get (cf, "children"))
40 case "replace" 40 case "replace"
41 otherwise 41 otherwise
42 error ("newplot: unrecognized nextplot property for current figure"); 42 error ("newplot: unrecognized nextplot property for current figure");
43 endswitch 43 endswitch
44 ca = gca (); 44 ca = gca ();
45 anp = get (ca, "nextplot"); 45 anp = get (ca, "nextplot");
46 switch (anp) 46 switch (anp)
47 case "new" 47 case "new"
48 case "add" 48 case "add"
49 case "replacechildren" 49 case "replacechildren"
50 delete (get (ca, "children")) 50 delete (get (ca, "children"))
51 case "replace" 51 case "replace"
52 __go_axes_init__ (ca, "replace"); 52 __go_axes_init__ (ca, "replace");
53 __request_drawnow__ (); 53 __request_drawnow__ ();
54 otherwise 54 otherwise
55 error ("newplot: unrecognized nextplot property for current axes"); 55 error ("newplot: unrecognized nextplot property for current axes");
56 endswitch 56 endswitch
57 else 57 else
58 print_usage (); 58 print_usage ();
59 endif 59 endif
60 60