Mercurial > hg > octave-terminal
changeset 8441:cc3ac5eb6be3
__contour__.m: __contour__.m: correct order of patches
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Tue, 30 Dec 2008 00:25:20 -0500 |
parents | e792c736b1ac |
children | 502e58a0d44f |
files | scripts/ChangeLog scripts/plot/__contour__.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -20,6 +20,10 @@ * plot/hist.m: Doc string now mentions matrix input argument. Correct error message. +2008-12-30 Ben Abbott <bpabbott@mac.com> + + * plot/__contour__.m: __contour__.m: correct order of patches + 2008-12-24 Doug Stewart <dastew@sympatico.ca> * plot/grid.m: Handle "minor" option.
--- a/scripts/plot/__contour__.m +++ b/scripts/plot/__contour__.m @@ -288,7 +288,7 @@ [tmp, svec] = sort (cont_area); len = ncont - numel (del_idx); h = []; - for n = 1:len + for n = len:(-1):1 idx = svec(n); ctmp = c(:, cont_idx(idx):cont_idx(idx) + cont_len(idx) - 1); if (all (ctmp(:,1) == ctmp(:,end)))