Mercurial > hg > octave-lojdl
changeset 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 | dd6b90f44ae5 |
children | 2a25f282e965 |
files | scripts/ChangeLog scripts/plot/plotyy.m |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,6 @@ -2010-08-25 Ben Abbott <bpabbott@mac.com> - +2010-08-27 Ben Abbott <bpabbott@mac.com> + + * plot/plotyy.m: Modified demo for changeset 10912 9abc67b4bd4f. * plot/__fltk_print__.m, plot/__go_draw_axes__.m, plot/__go_draw_figure__.m, plot/__gnuplot_print__.m, plot/gnuplot_drawnow.m, plot/print.m, plot/private/__ghostscript__.m,
--- 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