Mercurial > hg > octave-lyh
diff scripts/plot/__go_draw_axes__.m @ 7123:0b5807019172
[project @ 2007-11-07 22:03:34 by jwe]
author | jwe |
---|---|
date | Wed, 07 Nov 2007 22:03:34 +0000 |
parents | a2174fb073d4 |
children | 735086cfd405 |
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);