plot y sin(x) for x from -2pi to 2pi and y from -1 to 1