Mercurial > hg > octave-lyh
changeset 17265: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 | ee1d19174316 |
children | 213ee68b59da |
files | scripts/plot/contour.m scripts/plot/contourf.m |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/contour.m +++ b/scripts/plot/contour.m @@ -91,7 +91,7 @@ %! [x, y, z] = peaks (); %! contour (x, y, z); %! title ('contour() plot of peaks() function'); -%! title ({'contour() plot (isolines of constant Z)'; 'Z = peaks()'); +%! title ({'contour() plot (isolines of constant Z)'; 'Z = peaks()'}); %!demo %! clf; @@ -100,7 +100,7 @@ %! [X, Y] = pol2cart (theta, r); %! Z = sin (2*theta) .* (1-r); %! contour (X, Y, abs (Z), 10); -%! title ({'contour() plot'; 'polar fcn Z = sin (2*theta) * (1-r)'}); +%! title ({'contour() plot'; 'polar fcn: Z = sin (2*theta) * (1-r)'}); %!test %! hf = figure ("visible", "off");
--- 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;