changeset 16917:4bbc4b703fe4

area.m: tight axis limits for demo.
author Ben Abbott <bpabbott@mac.com>
date Sun, 07 Jul 2013 19:41:32 -0400
parents 59f575e504dc
children ab46b5c77669
files scripts/plot/area.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/area.m	Sun Jul 07 21:45:17 2013 +0100
+++ b/scripts/plot/area.m	Sun Jul 07 19:41:32 2013 -0400
@@ -227,6 +227,7 @@
 %! t = linspace (0, 2*pi, 100)';
 %! y = [sin(t).^2, cos(t).^2];
 %! area (t, y);
+%! axis tight
 %! legend ('sin^2', 'cos^2', 'location', 'NorthEastOutside');  
 
 %!demo