Mercurial > octave
changeset 21561:4abcc0969ebd
__ezplot__.m: Remove code deprecated and commented out in v3.8.
* __ezplot__.m: Remove code deprecated and commented out in v3.8.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 29 Mar 2016 21:13:22 -0700 |
parents | 96c768d898f0 |
children | 6c2fd62db1f7 |
files | scripts/plot/draw/private/__ezplot__.m |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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);