On Tue, Mar 30, 2010 at 2:37 PM, Ryan May <rma...@gmail.com> wrote:

> You're looking for the set_ticks_position method on the xaxis (I've
> also tweaked setting the limits):
>
> plt.plot(xcoords, ycoords, 'ro')
> plt.xlim(0, maxX)
> plt.ylim(maxY, 0)
> ax = plt.gca() # Get current axes object
> ax.xaxis.set_ticks_position('top')
> plt.show()
>
> Ryan
>
>
This is easier :)

Could you get this one working ?

ax.xaxis.set_ticks_position('both')

It doesn't have an effect here on Qt4Agg using svn copy of matplotlib.

-- 
Gökhan
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to