On Mon, Mar 29, 2010 at 10:20 PM, <Rachel-Mikel_ArceJaeger@hmc.edu> wrote:

This is my first time trying out this list, so please forgive me if I've doing this wrong.

I'm trying to create a plot that has its origin in the upper-left hand corner, rather than the lower-left hand corner. I've discovered that I get the same effect if I do:

plt.plot( xcoords, ycoords, 'ro' )
plt.axis( [0, maxX, maxY, 0] )

However, the x-axis still appears on the bottom of the graph rather than the top.

Is there a way that I can shift the location of the origin more easily, or at least shift where the axis is written at?


Spines should do the trick.

Take a look at: