comparison scripts/plot/text.m @ 14249:27abe77158d6

Changes to allow plot demos to be converted and run by Matlab. * text.m, waitbar.m
author Ben Abbott <bpabbott@mac.com>
date Sun, 22 Jan 2012 13:47:15 -0500
parents 4506eade9f04
children 5d3a684236b0
comparison
equal deleted inserted replaced
14248:48cb466f1418 14249:27abe77158d6
129 129
130 %!demo 130 %!demo
131 %! clf; 131 %! clf;
132 %! ha = {'left', 'center', 'right'}; 132 %! ha = {'left', 'center', 'right'};
133 %! va = {'bottom', 'middle', 'top'}; 133 %! va = {'bottom', 'middle', 'top'};
134 %! x = y = [0.25 0.5 0.75]; 134 %! x = [0.25 0.5 0.75];
135 %! y = x;
135 %! for t = 0:30:359; 136 %! for t = 0:30:359;
136 %! for nh = 1:numel(ha) 137 %! for nh = 1:numel(ha)
137 %! for nv = 1:numel(va) 138 %! for nv = 1:numel(va)
138 %! text (x(nh), y(nv), 'Hello World', ... 139 %! text (x(nh), y(nv), 'Hello World', ...
139 %! 'rotation', t, ... 140 %! 'rotation', t, ...