diff scripts/plot/colorbar.m @ 10910:40cf7cc4ea62

Properly interpret plotboxaspectratio when 3D objects are viewed as 2D.
author Ben Abbott <bpabbott@mac.com>
date Tue, 24 Aug 2010 18:12:45 -0400
parents 693e22af08ae
children 91ff0d7ee94b
line wrap: on
line diff
--- a/scripts/plot/colorbar.m
+++ b/scripts/plot/colorbar.m
@@ -575,6 +575,13 @@
 
 %!demo
 %! clf
+%! pcolor (peaks (20))
+%! shading ("interp")
+%! axis ("tight", "square")
+%! colorbar ()
+
+%!demo
+%! clf
 %! plot([0, 2])
 %! colorbar ("east")
 %! axis equal