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

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-02-01 Thread Sandro Tosi
Hi Chris, thanks for your reply, helpful as usual :) On Fri, Jan 30, 2009 at 18:59, Chris Walker wrote: > Firstly, good luck with the book. cheers :) > The sort of book I'd buy would explain how to use the combination of > matplotlib/ipython/scipy/numpy to analyse data. Sadly, that would

[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

Re: [Matplotlib-users] Change Hue-Range in HSV color map

2009-02-01 Thread Jouni K . Seppänen
KarlBlau writes: > I would like to change the hue range of the hsv color map to use only hue > values between 0 and 0.6667. I checked the documentation of matplotlib and > searched in the internet but couldn't find the answer. There doesn't seem to be any predefined functionality for this. The e

[Matplotlib-users] Yaxis labels in plots with no vspacing

2009-02-01 Thread mfabulous
Hello, I apologize if this was asked earlier. I have following problem: I am creating multi panaled plots with share xaxis. It became common in publications to plot such plots without vspacing, so that they tough each other ( I attached a pdf http://www.nabble.com/file/p21773509/bN3368MJ_zhlnHD