Mercurial > hg > octave-lyh
diff scripts/plot/text.m @ 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 | be55736a0783 |
children | 74e285bb61c9 |
line wrap: on
line diff
--- 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