Mercurial > hg > octave-nkf
changeset 7123:0b5807019172
[project @ 2007-11-07 22:03:34 by jwe]
author | jwe |
---|---|
date | Wed, 07 Nov 2007 22:03:34 +0000 |
parents | 542379d37bf9 |
children | d07cb867891b |
files | scripts/plot/__go_draw_axes__.m |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -820,10 +820,7 @@ endfor - have_data = (! (isempty (data) - || isinf (xmin) || isinf (xmax) - || isinf (ymin) || isinf (ymax) - || isinf (zmin) || isinf (zmax))); + have_data = (! (isempty (data) && any (cellfun (@isempty, data)))); if (xautoscale && have_data) xlim = get_axis_limits (xmin, xmax, xminp, xlogscale);