shiftedline(xx, yy, dx, dy) is like plot(xx, yy) except that the plot is displaced by (dx, dy) points on the graph.
xx, yy, dx, dy may be vectors or scalars. Any scalars are automatically converted to vectors of the appropriate length. All vectors must be the same length.