# HG changeset patch # User Ben Abbott # Date 1224163188 14400 # Node ID 586b02ac671e95ebeb113358e937604ff4cf3d6b # Parent 50fa927b4e490f23568e61eab14628a5783746fd contourf.m: Correct order of patch object handles. diff -r 50fa927b4e49 -r 586b02ac671e scripts/ChangeLog --- a/scripts/ChangeLog Thu Oct 16 10:57:49 2008 +0100 +++ b/scripts/ChangeLog Thu Oct 16 09:19:48 2008 -0400 @@ -1,3 +1,7 @@ +2008-10-16 Ben Abbott + + * plot/contourf.m: Correct order of patch object handles. + 2008-10-16 David Bateman * plot/__go_draw_axes__.m: If current plot is an image, don't flag diff -r 50fa927b4e49 -r 586b02ac671e scripts/plot/contourf.m --- a/scripts/plot/contourf.m Thu Oct 16 10:57:49 2008 +0100 +++ b/scripts/plot/contourf.m Thu Oct 16 09:19:48 2008 -0400 @@ -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{:});