MATLAB: Legend of a plot arrangement legend arrayMATLAB and Simulink Student Suite Hy all, i want to get a legend arrangement like this legend1 legend2 legend3 legend4 legend5 legend6 Not like legend1 legend2 legend3 legend4 legend5 legend6 On Matlab 2010a Best Answer You can use columnlegend() function.Check this article for example. Related SolutionsMATLAB: Legend when you do plot something you can specify your 'something' by the legend to know which plot corresponds to which function. try following: t=0:0.1:10;y1=2*t;y2=4*t;plot(t,y1,t,y2);legend('2*t','4*t'); MATLAB: Legend Tryif b is a numerical vector with: legend(num2str(b(:)))If b is a string vector : legend(b) Related QuestionLegend in several columnsUsing LegendPlot LegendMulticolumn legendArrangement between university and MATLABUnusual arrangement of plot
Best Answer