Re: [Matplotlib-users] imshow axis labels

2009-06-08 Thread Jeremy Lewi
I want to let matplotlib control where the tick marks go, but I want to scale the value of the tick labels. For example, if my matrix has a 100 columns the tick marks might be [0,25,50,100]. I want to scale these tick labels by some value say .01 so that the corresponding tick labels would be [

Re: [Matplotlib-users] [matplotlib-devel] The easiest way to check-out matplotlib source

2009-06-08 Thread John Hunter
On Mon, Jun 8, 2009 at 2:14 PM, Gökhan SEVER wrote: > Hello, > > How do you add you automatically check-out new added files from matplotlib > trunk? Is there a specific svn command for this? Check out svn as indicated here:: http://matplotlib.sourceforge.net/faq/installing_faq.html#install-fro

Re: [Matplotlib-users] imshow axis labels

2009-06-08 Thread Michael Droettboom
What are you setting the x ticklabels to? If you want to control how the numbers are displayed, you can create a custom formatter (which is basically a function to convert a floating-point number to a string). If you want to control the number of ticks across the axis, you can make a custom t

Re: [Matplotlib-users] [matplotlib-devel] The easiest way to check-out matplotlib source

2009-06-08 Thread Gökhan SEVER
On Mon, Jun 8, 2009 at 2:16 PM, John Hunter wrote: > On Mon, Jun 8, 2009 at 2:14 PM, Gökhan SEVER wrote: > > Hello, > > > > How do you add you automatically check-out new added files from > matplotlib > > trunk? Is there a specific svn command for this? > > > Check out svn as indicated here:: > >

[Matplotlib-users] The easiest way to check-out matplotlib source

2009-06-08 Thread Gökhan SEVER
Hello, How do you add you automatically check-out new added files from matplotlib trunk? Is there a specific svn command for this? Another question: For example IPython has uses bzr and when I issue bzr branch lp:ipython command I grab the latest development branch. I do a development installatio

[Matplotlib-users] imshow axis labels

2009-06-08 Thread Jeremy Lewi
Hi, I'm using imshow to make an image of a 2-d matrix. I use set_xticklabels to adjust the x-axis labels. The problem is that when I then zoom in on the plot, the axis labels are not adjusted appropriately. Does anyone suggestions on how I can fix this? Thanks Jeremy --

Re: [Matplotlib-users] Griddata

2009-06-08 Thread green63
I ve a problem with the use of griddata. I have a grid of x,y with value z. the grid have 4500 points I would like to have a rigular grid of 1500 points. I try the function zi = griddata(x,y,z,xi,yi) but I have an error "too many indices". I don't understant why!!! x,y,z,xi and yi are numpy array

Re: [Matplotlib-users] change the subplots

2009-06-08 Thread Matthias Michler
Hi Markus, I'm not sure I understand correctly, but if you delete all the axes / subplots of your figure you cannot expect a graph showing up. Maybe what you want to do is just changing the geometry of an existing axes with something like: self.subplot1.change_geometry(2, 2, 3) and delete onl

Re: [Matplotlib-users] Beginning Python Visualization??

2009-06-08 Thread Sebastian Busch
Esmail wrote: > ... > By the way, any idea how different the MayaVi interface is? I understand that > matplotlib doesn't do 3D plots and I may want to plot some. > ... Hey Esmail, there was the possibility for 3D plots in matplotlib: http://www.scipy.org/Cookbook/Matplotlib/mplot3D however, the