comparison scripts/plot/text.m @ 6419:73fcbac81f33

[project @ 2007-03-20 17:18:24 by jwe]
author jwe
date Tue, 20 Mar 2007 17:18:24 +0000
parents b298a4c12fc3
children 76e3d985ae56
comparison
equal deleted inserted replaced
6418:2efe282221ed 6419:73fcbac81f33
76 for i = 1:nx 76 for i = 1:nx
77 tmp(i) = __go_text__ (ca, "string", label, 77 tmp(i) = __go_text__ (ca, "string", label,
78 "position", pos(i,:), 78 "position", pos(i,:),
79 varargin{:}); 79 varargin{:});
80 endfor 80 endfor
81 __request_drawnow__ ();
81 elseif (n == nx) 82 elseif (n == nx)
82 for i = 1:nx 83 for i = 1:nx
83 tmp(i) = __go_text__ (ca, "string", label{i}, 84 tmp(i) = __go_text__ (ca, "string", label{i},
84 "position", pos(i,:), 85 "position", pos(i,:),
85 varargin{:}); 86 varargin{:});
86 endfor 87 endfor
88 __request_drawnow__ ();
87 else 89 else
88 error ("text: dimension mismatch for coordinates and label"); 90 error ("text: dimension mismatch for coordinates and label");
89 endif 91 endif
90 else 92 else
91 error ("text: dimension mismatch for coordinates"); 93 error ("text: dimension mismatch for coordinates");