Mercurial > hg > octave-lyh
diff scripts/plot/private/__ezplot__.m @ 17175:0a761f218d8d
Fix contour plot axis to x-y data range, not axis ("tight").
* scripts/plot/private/__contour__.m: Remove axis ("tight"). Set axis range
before adding patches so that axis limits aren't re-calculated for each patch.
* scripts/plot/meshc.m, scripts/plot/surfc.m: Set xlimmode, ylimmode to manual.
scripts/plot/private/__ezplot__.m: Remove FIXME comment and manually setting
axis which was workaround for old behavior.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 04 Aug 2013 07:02:29 -0700 |
parents | 27b3a675ea6b |
children | 87ba70043bfc |
line wrap: on
line diff
--- a/scripts/plot/private/__ezplot__.m +++ b/scripts/plot/private/__ezplot__.m @@ -432,9 +432,6 @@ hax = newplot (hax); if (iscontour) [~, h] = feval (pltfunc, hax, X, Y, Z); - ## FIXME: Work around contour setting axis tight. - ## Fix should really be in __countour__. - axis (hax, domain); elseif (isplot && nargs == 2) h = zeros (length (XX), 1); hold_state = get (hax, "nextplot");