diff scripts/plot/surfl.m @ 10226:2884758e265b

Replace dataaspectratio props with plotboxaspectratio props.
author Ben Abbott <bpabbott@mac.com>
date Fri, 29 Jan 2010 21:52:53 -0500
parents 1bf0ce0930be
children 95c3e38098bf
line wrap: on
line diff
--- a/scripts/plot/surfl.m
+++ b/scripts/plot/surfl.m
@@ -138,7 +138,7 @@
     endif
 
     vn = get (tmp, "vertexnormals");
-    dar = get (h, "dataaspectratio");
+    dar = get (h, "plotboxaspectratio");
     vn(:,:,1) *= dar(1);
     vn(:,:,2) *= dar(2);
     vn(:,:,3) *= dar(3);