I try to get a different legend for each value of the for-loop-variable acl0
something like ACL1, ACL2, ACL3, ...
As it is now, the same legend is plotted for each run...can anyone here help me with this?
clear
beta=[0.1:0.1:10];
for acl0=1:10
arrayname=sprintf('deltaprocacl_%d',acl0)
arrayname=100*beta./(1+beta+acl0);
plot(beta,arrayname,";acl0;")
hold on
xlabel 'beta'
ylabel 'procerror'
grid on
endfor
p.s. different colors or graph-types for each run would also be great
thanks in advance
jean