Mercurial > octave
changeset 24192:d5c38fdf77f9
plotyy.m: Delete unuseful third demo (bug #52302).
* plotyy.m: Delete third %!demo block.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 01 Nov 2017 14:05:56 -0700 |
parents | fdd67d871a72 |
children | b7e5486e7bff |
files | scripts/plot/draw/plotyy.m |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/plotyy.m Wed Nov 01 18:21:21 2017 +0100 +++ b/scripts/plot/draw/plotyy.m Wed Nov 01 14:05:56 2017 -0700 @@ -304,17 +304,3 @@ %! subplot (2,2,4); %! plotyy (x,10*sin(2*pi*x), x,cos(2*pi*x)); %! axis square; - -%!demo -%! clf; -%! hold on -%! t = (0:0.1:9); -%! x = sin (t); -%! y = 5 * cos (t); -%! [hax, h1, h2] = plotyy (t, x, t, y); -%! [~, h3, h4] = plotyy (t+1, x, t+1, y); -%! set ([h3, h4], "linestyle", "--"); -%! xlabel (hax(1), "xlabel"); -%! title (hax(2), 'Two plotyy graphs on same figure using "hold on"'); -%! ylabel (hax(1), "Left axis is Blue"); -%! ylabel (hax(2), "Right axis is Orange");