Hi, I have C that is a 3×1 cell array in which there is one number per cell. I have plotted 5 different curves and I would like to use those numbers as a text in a legend for the first 3 curves. I have written the following code but there are my three numbers referred only to the first graph
p=cell2mat(C);legend(mat2str(p,2),'real data','real data 2' ,'Location','southeast')
Best Answer