Mercurial > hg > octave-nkf
diff scripts/plot/contourf.m @ 17257:ce55a8575874
Fix typo in titles for contour/contourf demos.
* scripts/plot/contour.m, scripts/plot/contourf.m: Add missing '}' for
multi-line titles.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 15 Aug 2013 14:17:20 -0700 |
parents | 87ba70043bfc |
children | 68bcac3c043a |
line wrap: on
line diff
--- a/scripts/plot/contourf.m +++ b/scripts/plot/contourf.m @@ -92,7 +92,7 @@ %! colormap ('default'); %! [x, y, z] = peaks (50); %! contourf (x, y, z, -7:9); -%! title ({'contourf() plot (filled contour lines)'; 'Z = peaks()'); +%! title ({'contourf() plot (filled contour lines)'; 'Z = peaks()'}); %!demo %! clf; @@ -101,7 +101,7 @@ %! [X, Y] = pol2cart (theta, r); %! Z = sin (2*theta) .* (1-r); %! contourf (X, Y, abs (Z), 10); -%! title ({'contourf() plot'; 'polar fcn Z = sin (2*theta) * (1-r)'}); +%! title ({'contourf() plot'; 'polar fcn: Z = sin (2*theta) * (1-r)'}); %!demo %! clf;