Mercurial > hg > octave-avbm
changeset 11272:521f2bb7c443
text.m: Ensure text position property is set after units property.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 18 Nov 2010 20:14:52 -0500 |
parents | da314c58f0b9 |
children | bd2643f0ce57 |
files | scripts/ChangeLog scripts/plot/text.m |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2010-11-18 Ben Abbott <bpabbott@mac.com> + * plot/text.m: Ensure text position property is set after units + property. * plot/__go_draw_axes__.m: Fix bug setting zscale to yscale (31693). 2010-11-18 Christos Dimitrakakis <christos.dimitrakakis@gmail.com>
--- a/scripts/plot/text.m +++ b/scripts/plot/text.m @@ -76,15 +76,15 @@ label = label{1}; for i = 1:nx tmp(i) = __go_text__ (ca, "string", label, - "position", pos(i,:), - varargin{:}); + varargin{:}, + "position", pos(i,:)); endfor __request_drawnow__ (); elseif (n == nx) for i = 1:nx tmp(i) = __go_text__ (ca, "string", label{i}, - "position", pos(i,:), - varargin{:}); + varargin{:}, + "position", pos(i,:)); endfor __request_drawnow__ (); else