I have a basic plot as follows. How can I display mean and std of X, Y, and Z in the legend?
Plot1=plot(T,X) hold on Plot2=plot(T,Y) hold on Plot3=plot(T,Z) legend([Plot1, Plot2, Plot3], 'X','Y','Z')
MATLABplot
Plot1=plot(T,X) hold on Plot2=plot(T,Y) hold on Plot3=plot(T,Z) legend([Plot1, Plot2, Plot3], 'X','Y','Z')
Best Answer