Mercurial > octave
changeset 22446:ec9dca76189c
Reword input prompts in %!demo blocks for consistency
* linkaxes.m: Reword input prompt to match wording in demo.m.
* linkprop.m: Likewise.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 07 Sep 2016 08:55:22 -0700 |
parents | cbac595d23ac |
children | 25122f114a24 b8eeca55fa81 |
files | scripts/plot/util/linkaxes.m scripts/plot/util/linkprop.m |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 <RETURN> to link axes"); +%! input ("Press <enter> to link axes: "); %! linkaxes ([hax1, hax2, hax3]); -%! input ("Type <RETURN> to change ylim"); +%! input ("Press <enter> to change ylim: "); %! ylim (hax3, [0 10]); %!test
--- 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 <RETURN> to link plots"); +%! input ("Press <enter> to link plots: "); %! hlink = linkprop ([h1, h2], {"color", "linestyle"}); -%! input ("Type <RETURN> to change color"); +%! input ("Press <enter> to change color: "); %! set (h1, "color", "green"); -%! input ("Type <RETURN> to change linestyle"); +%! input ("Press <enter> to change linestyle: "); %! set (h2, "linestyle", "--"); %!test