Mercurial > hg > octave-lojdl
changeset 8227:586b02ac671e
contourf.m: Correct order of patch object handles.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 16 Oct 2008 09:19:48 -0400 |
parents | 50fa927b4e49 |
children | 53dbbd331498 |
files | scripts/ChangeLog scripts/plot/contourf.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-10-16 Ben Abbott <bpabbott@mac.com> + + * plot/contourf.m: Correct order of patch object handles. + 2008-10-16 David Bateman <dbateman@free.fr> * plot/__go_draw_axes__.m: If current plot is an image, don't flag
--- a/scripts/plot/contourf.m +++ b/scripts/plot/contourf.m @@ -168,7 +168,7 @@ [tmp, svec] = sort (cont_area); len = ncont - numel (del_idx); h = zeros (1, len); - for n = len:-1:1 + for n = 1:len idx = svec(n); ii = cont_idx(idx):cont_idx(idx) + cont_len(idx) - 2; h(n) = patch (c(1, ii), c(2, ii), cont_lev(idx), patch_props{:});