changeset 11934:7518126401ac release-3-0-x

reverse effect of 61951dcb846c
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 18 Feb 2009 08:25:21 +0100
parents 205f10f5cbe8
children 8bc4e0ae758c
files scripts/plot/contourf.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = 1:len
+  for n = len:-1:1
     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{:});