1 2 3 4 5 6 7 8 9
| plegend={strvcat(['\color{red}',obj.name],['\color{black}',obj.sdesc])};
for i=length(obj.listofSubInd):-1:1;
plegend={plegend{:},strvcat(' ',['\color{blue}',' ',obj.listofSubInd{i}.name])};%,['\color{black}',obj.listofSubInd{i}.sdesc])};
for j=length(obj.listofSubInd{i}.listofSubInd):-1:1
plegend={plegend{:},strvcat(['\color[rgb]{0 0.7 0.9}',' ',obj.listofSubInd{i}.listofSubInd{j}.abbr,': ','\color{black}',obj.listofSubInd{i}.listofSubInd{j}.name],[' ',obj.listofSubInd{i}.listofSubInd{j}.sdesc,' '])};
end
end
text(-4.2,0,plegend,...
'HorizontalAlignment','left','EraseMode','none','edgecolor','black','linewidth',1,'parent',cam); |
Partager