# HG changeset patch # User jwe # Date 1194473014 0 # Node ID 0b58070191725c94539ee8a60d8415ea08758d65 # Parent 542379d37bf9a0d7d792648f176491b4565555af [project @ 2007-11-07 22:03:34 by jwe] diff -r 542379d37bf9 -r 0b5807019172 scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Wed Nov 07 21:50:41 2007 +0000 +++ b/scripts/plot/__go_draw_axes__.m Wed Nov 07 22:03:34 2007 +0000 @@ -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);