Mercurial > hg > octave-lyh
changeset 874:0c94207fb562
[project @ 1994-11-04 15:18:01 by jwe]
author | jwe |
---|---|
date | Fri, 04 Nov 1994 15:18:01 +0000 |
parents | 10882039366f |
children | 7dd6a8fedfed |
files | scripts/plot/__plt__.m |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__plt__.m +++ b/scripts/plot/__plt__.m @@ -27,7 +27,7 @@ nc = tmp; endif x1_i = imag (x1); - if (any (x1_i)) + if (any (any (x1_i))) x2 = x1_i; x1 = real (x1); else @@ -37,10 +37,10 @@ endif if (nargin <= 2) - if (any (imag (x1))) + if (any (any (imag (x1)))) x1 = real (x1); endif - if (any (imag (x2))) + if (any (any (imag (x2)))) x2 = real (x2); endif if (is_scalar (x1))