Mercurial > hg > octave-nkf
diff scripts/plot/plotyy.m @ 10949:848f3a13b7cf
Backed out changeset 6b50fd2d4ca6
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 07 Sep 2010 21:44:13 +0200 |
parents | 6b50fd2d4ca6 |
children | c9786e03670c |
line wrap: on
line diff
--- a/scripts/plot/plotyy.m +++ b/scripts/plot/plotyy.m @@ -195,16 +195,9 @@ set (ax, "tag", "plotyy") ## Store the axes handles for the sister axes. - try - addproperty ("__plotyy_axes__", ax(1), "data", ax); - catch - set (ax(1), "__plotyy_axes__", ax); - end_try_catch - try - addproperty ("__plotyy_axes__", ax(2), "data", ax); - catch - set (ax(2), "__plotyy_axes__", ax); - end_try_catch + addproperty ("__plotyy_axes__", ax(1), "data", ax); + addproperty ("__plotyy_axes__", ax(2), "data", ax); + endfunction %!demo