# HG changeset patch # User Mike Miller # Date 1473263722 25200 # Node ID ec9dca76189cfc27846742b1c9fc8c468a6814c8 # Parent cbac595d23ac4c1d774c6321d92769c50ec15070 Reword input prompts in %!demo blocks for consistency * linkaxes.m: Reword input prompt to match wording in demo.m. * linkprop.m: Likewise. diff -r cbac595d23ac -r ec9dca76189c scripts/plot/util/linkaxes.m --- a/scripts/plot/util/linkaxes.m Wed Sep 07 08:40:29 2016 -0700 +++ b/scripts/plot/util/linkaxes.m Wed Sep 07 08:55:22 2016 -0700 @@ -110,9 +110,9 @@ %! bar (5*rand (4, 1), "facecolor", "g"); %! hax3 = subplot (3,1,3); %! bar (10*rand (4, 1), "facecolor", "b"); -%! input ("Type to link axes"); +%! input ("Press to link axes: "); %! linkaxes ([hax1, hax2, hax3]); -%! input ("Type to change ylim"); +%! input ("Press to change ylim: "); %! ylim (hax3, [0 10]); %!test diff -r cbac595d23ac -r ec9dca76189c scripts/plot/util/linkprop.m --- a/scripts/plot/util/linkprop.m Wed Sep 07 08:40:29 2016 -0700 +++ b/scripts/plot/util/linkprop.m Wed Sep 07 08:55:22 2016 -0700 @@ -126,11 +126,11 @@ %! subplot (1,2,2); %! h2 = plot (x, cos (x), "b"); %! -%! input ("Type to link plots"); +%! input ("Press to link plots: "); %! hlink = linkprop ([h1, h2], {"color", "linestyle"}); -%! input ("Type to change color"); +%! input ("Press to change color: "); %! set (h1, "color", "green"); -%! input ("Type to change linestyle"); +%! input ("Press to change linestyle: "); %! set (h2, "linestyle", "--"); %!test