Plotting a function with reversed axes

35 Views Asked by At

How could I plot the simple function Q=56-2P, with P on the vertical axis and Q on the horizontal axis?

One problem is that P is a locked variable so would need to use another variable and somehow rename it.