Question: Plotting a stepwise function

January 14 2006 Tigleon 4
Maple

0

I would like to know if it is possible, how to plot a function that is stepwise, something like: for x< -1, y=2-x; for -1<= x <= 1, y=x; for x>1, y=2x+1;
Is it possible to do this all on one plot? I'm extremely new to Maple, so I apologize if the answer is quite obvious! Thanks!
Please Wait...