Mercurial > hg > octave-nkf
diff scripts/plot/plotyy.m @ 12437:a754c2d8a13f
Modify demo scripts to allow conventient conversion to Matlab compatible syntax.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 10 Feb 2011 18:48:36 -0500 |
parents | e916491cbb99 |
children | d0b799dafede |
line wrap: on
line diff
--- a/scripts/plot/plotyy.m +++ b/scripts/plot/plotyy.m @@ -222,10 +222,10 @@ %! ylabel (ax(1), "Axis 1"); %! ylabel (ax(2), "Axis 2"); %! axes (ax(1)) -%! text (0.5, 0.5, "Left Axis", +%! text (0.5, 0.5, "Left Axis", ... %! "color", [0 0 1], "horizontalalignment", "center") %! axes (ax(2)) -%! text (4.5, 80, "Right Axis", +%! text (4.5, 80, "Right Axis", ... %! "color", [0 0.5 0], "horizontalalignment", "center") %!demo