singh
|
Hello,
I have a matlab script in which i need to plot multiple data in single plot. suppose i have to plot data for 5 vales of i. right now i am hard coding those values inside legend. But i want that script should automatically put legend values each time from 1 till 5. how can i do that? moreover i need to print a term 'mm' in legend everytime eg 1mm,2mm ,3mm,4mm,5mm.
for i = 1 :5 functionality plot(bla bla) hold all legend('1','2','3','4','5') end
|