Mercurial > hg > octave-lyh
diff scripts/plot/pie.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | eb63fbe60fab |
children | be55736a0783 |
line wrap: on
line diff
--- a/scripts/plot/pie.m +++ b/scripts/plot/pie.m @@ -86,13 +86,13 @@ labels = arg; have_labels = true; if (numel (x) != numel (labels)) - error ("pie: mismatch in number of labels and data"); + error ("pie: mismatch in number of labels and data"); endif elseif (isnumeric (arg)) explode = arg; have_explode = true; if (! size_equal (x, explode)) - error ("pie: mismatch in number of elements in explode and data"); + error ("pie: mismatch in number of elements in explode and data"); endif endif endwhile @@ -140,7 +140,7 @@ endif hlist = [hlist; patch(xoff + [0, - sind(xn)], yoff + [0, cosd(xn)], i); - text(xt, yt, labels{i}, "horizontalalignment", align)]; + text(xt, yt, labels{i}, "horizontalalignment", align)]; endfor if (len == 1)