From: Adam Chapman on
I am using clabels on a graph with warped axes.

as a result of the warping I have a very steep gradient at the top of
the chart. The clabels function is currently taking 7 seconds to run.

I'm currently using

handle=clabel(C,h,'LabelSpacing',350,'fontsize',10);
set(handle,'Color','w')
for a=1:1:length(handle)
s = get(handle(a),'String'); % get string
s = str2double(s); % convert in to number
s = sprintf('%2.1f%%',s); % format as you need
set(handle(a),'String',s); % place it back in the figure
end

the variable 'handle' does not appear to contain any meaningful data
on x,y location of the label.

How can I ensure that labels are not placed near the top of my chart?

Thanks in advance, Adam
 | 
Pages: 1
Prev: urgent
Next: reading after space