# HG changeset patch # User Rik # Date 1459311202 25200 # Node ID 4abcc0969ebd840e6a14cd89d3ad1eb8d086a05a # Parent 96c768d898f0a4a826fe16ce6e04988cc1d76983 __ezplot__.m: Remove code deprecated and commented out in v3.8. * __ezplot__.m: Remove code deprecated and commented out in v3.8. diff -r 96c768d898f0 -r 4abcc0969ebd scripts/plot/draw/private/__ezplot__.m --- a/scripts/plot/draw/private/__ezplot__.m Tue Mar 29 21:10:16 2016 -0700 +++ b/scripts/plot/draw/private/__ezplot__.m Tue Mar 29 21:13:22 2016 -0700 @@ -499,15 +499,6 @@ domain(3:4) = [XX(1), XX(end)]; endif - #{ - ## FIXME: Old algorithm for removing singularities - ## Deprecated in 3.8. Can be removed if no problems appear in ezplot. - idx = 2 : length (Z); - idx = find (((Z(idx) > yrange(2) / 2) & (Z(idx-1) < yrange(1) / 2)) | - ((Z(idx) < yrange(1) / 2) & (Z(idx-1) > yrange(2) / 2))); - Z(idx) = NaN; - #} - else ## 3-D data such as mesh, surf Zfinite = ! isnan (Z);