Re: [Matplotlib-users] ticks in Matplotlib

2009-02-01 Thread Jae-Joon Lee
You cannot set different tick positions for bottom and top x-axis in the same axes. What you can do is to make another axes at the same location and use it to draw ticks at top. Take a look at http://matplotlib.sourceforge.net/examples/api/two_scales.html But it may not be an ideal solution for y

[Matplotlib-users] ticks in Matplotlib

2009-02-01 Thread Eli Bressert
Hi, I'm looking into customizing the the tick positions on an imshow plot. I found that you can do this by doing img = imshow(data) img.ax.xaxis.set_ticks([100.,200.]) The problem with this method is that it moves the tick positions on the bottom and top x axis. What if I wanted to do have th