Question: Taylor Polynomials

I need to plot the taylor polynomials of sin(x) up to degree 7, i know the functions and i inserted this command: plot({f-g+h, f, f-g+h-i, f-g, sin(x)}, x = -Pi .. Pi, y = -2 .. 2, title = "Taylor Polynomials of Sin(x)") where f g h and i are simple taylor polynomials. Now my question is i need to label the graphs, i tried using legend="..." but i get the error: Error, (in plot) the legend option cannot be used when ploting a set of objects so how would i do this? any help is appreciated
Please Wait...