diff scripts/plot/surfc.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 26589abbc78d
children df4c4b7708a4
line wrap: on
line diff
--- a/scripts/plot/surfc.m
+++ b/scripts/plot/surfc.m
@@ -73,7 +73,8 @@
     set (htmp, "facecolor", "flat");
     if (! ishold ())
       set (hax, "view", [-37.5, 30],
-                "xgrid", "on", "ygrid", "on", "zgrid", "on");
+                "xgrid", "on", "ygrid", "on", "zgrid", "on",
+                "xlimmode", "manual", "ylimmode", "manual");
     endif
 
     drawnow ();