Mercurial > hg > octave-nkf
diff scripts/plot/plotyy.m @ 10914:c0434971d0a8
plotyy.m: Modified demo for changeset 10912 9abc67b4bd4f.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 27 Aug 2010 06:50:22 -0400 |
parents | be55736a0783 |
children | a72d53df4fa6 |
line wrap: on
line diff
--- a/scripts/plot/plotyy.m +++ b/scripts/plot/plotyy.m @@ -207,6 +207,12 @@ %! xlabel ("X"); %! ylabel (ax(1), "Axis 1"); %! ylabel (ax(2), "Axis 2"); +%! axes (ax(1)) +%! text (0.5, 0.5, "Leftt Axis", +%! "color", [0 0 1], "horizontalalignment", "center") +%! axes (ax(2)) +%! text (4.5, 80, "Right Axis", +%! "color", [0 0.5 0], "horizontalalignment", "center") %!demo %! clf