From my understanding, you want to plot a line, and then move it some units with respect to x axis and plot it.
For example, you have a plot
x = 1:5;
y = 1:5;
Now you want to shift the line by 3 units from x axis
It will update the figure with the new plot
For more information and examples, refer to the documentation page.