From: Hao Yuan on
This problem bothers me a long time, finally I figured it out:
you can try somthing like this
make a cell array


%legendmatrix=cell(n,1);
%for k=1:length(variablef)
%legendmatrix{k}=strcat('text',num2str(variablef(k)));
%end
%legend(legendmatrix)

here the legendmatrix is an cell array that can be used in your legend function.
'text' you can change it into whatever you wan'
and the variabelf is the variable that is different for different legend items

Hope you can catch my idea~~ it works fine in my code
 | 
Pages: 1
Prev: Biopac & Matlab
Next: problems with mex