Question: auto legend for plot

Is there any way to automatically create a legend for a plot of a list of functions? The problem is, I'd rather not specify the legend and maple require the exact number so I cannot specify a generic length such as [1,2,3,4,5,6,7,8].


plot([f1(x), f2(x), f3(x), sin(x)*cos(x)*sin(3x^2 + cos(x))], x=1..34)


The point is that I do not want or care what the legend is(except the names shouldn't be long). I just want to be able to use it to select the plots easily and to be able to reference them(so the naming matters in that the order shoudl be obvious).


Please Wait...