Mercurial > hg > octave-terminal
changeset 13137:52c5799130c2
plot/text.m: Improve matlab compatibility of demos.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 14 Sep 2011 19:59:24 -0400 |
parents | 79b9a7669bb8 |
children | aa4a23337a0f |
files | scripts/plot/text.m |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/text.m +++ b/scripts/plot/text.m @@ -164,9 +164,9 @@ %!demo %! clf %! axis ([0 8 0 8]) -%! title (["First title";"Second title"]) -%! xlabel (["First xlabel";"Second xlabel"]) -%! ylabel (["First ylabel";"Second ylabel"]) +%! title (["1st title";"2nd title"]) +%! xlabel (["1st xlabel";"2nd xlabel"]) +%! ylabel (["1st ylabel";"2nd ylabel"]) %! text (4, 4, {"Hello", "World"}, ... %! "horizontalalignment", "center", ... %! "verticalalignment", "middle") @@ -177,10 +177,10 @@ %! h = mesh (peaks, "edgecolor", 0.7 * [1 1 1], ... %! "facecolor", "none", ... %! "facealpha", 0); -%! title (["First title";"Second title"]) -%! xlabel (["First xlabel";"Second xlabel"]) -%! ylabel (["First ylabel";"Second ylabel"]) -%! zlabel (["First zlabel";"Second zlabel"]) +%! title (["1st title";"2nd title"]) +%! xlabel (["1st xlabel";"2nd xlabel"]) +%! ylabel (["1st ylabel";"2nd ylabel"]) +%! zlabel (["1st zlabel";"2nd zlabel"]) %! text (0, 0, 5, {"Hello", "World"}, ... %! "horizontalalignment", "center", ... %! "verticalalignment", "middle")