Re: [Matplotlib-users] GridSpec has unecpected effect

2011-09-22 Thread Kurt Mueller
Am 17.09.2011 18:49, schrieb Kurt Mueller: > Am 17.09.2011 um 15:38 schrieb Jae-Joon Lee: >> Thanks for reporting this. >> I opened a pull request that I believe fixes this problem. >> https://github.com/matplotlib/matplotlib/pull/472 > Thank you very much! >> Please test this if you can. > I hope

Re: [Matplotlib-users] PIL + pyplot.savefig() size change

2011-09-22 Thread gary ruben
The dpi value, which can be overridden, will determine the size of the output image. It looks to me like you just want the output to always be the same size as your input image, so use imsave() instead of imshow() followed by savefig() for this: i.e. just do map = Basemap(..) pilImg = Image.op

[Matplotlib-users] Entra nella mia rete su LinkedIn

2011-09-22 Thread William Ratcliff tramite LinkedIn
LinkedIn William Ratcliff ha chiesto di aggiungerti ai suoi collegamenti su LinkedIn: -- Vorrei aggiungerti alla mia rete professionale su LinkedIn. Accetta l'invito di William Ratcliff http://www.linkedin.com/e/-b7qixr-gswk7oea-2f/_

[Matplotlib-users] PIL + pyplot.savefig() size change

2011-09-22 Thread Isidora
Hi, I am new to matplotlib so I may not have found the right answer because I am looking in the wrong places. I wrote a script to draw lines on a 800x600 pixels GIF background map. The output image I get is 620x450. Could someone let me know what I am doing wrong? Code Snippet: map = Basemap

[Matplotlib-users] subclassing ndarry

2011-09-22 Thread Martijn
Hi, I am trying to create an ndarry subclass for vector calculations. The result is not what I intent: import numpy as np class Vector(np.ndarray): def __abs__(self): return(np.sqrt(sum(self**2))) V = Vector([1,2,3]) print np.sqrt(sum(self**2)) print abs(V) I do not und

Re: [Matplotlib-users] plotting masked arrays with plot_surface()

2011-09-22 Thread Benjamin Root
On Thu, Sep 22, 2011 at 2:31 PM, Andreas Matthias < andreas.matth...@gmail.com> wrote: > I would like to plot a masked array with plot_surface(). > But unlike imshow() which really plots the masked data, > plot_surface() only plots the non-masked data. > > How can I plot the masked array? > > Ciao

[Matplotlib-users] plotting masked arrays with plot_surface()

2011-09-22 Thread Andreas Matthias
I would like to plot a masked array with plot_surface(). But unlike imshow() which really plots the masked data, plot_surface() only plots the non-masked data. How can I plot the masked array? Ciao Andreas import numpy as np import pylab as mpl from mpl_toolkits.mplot3d import axes3d x = np.a

Re: [Matplotlib-users] PDF/SVG Backends Don't Save FigureImages

2011-09-22 Thread Michael Droettboom
I'm not able to reproduce the problem: I get the watermark in both png and pdf output. This was with git master. What version of matplotlib are you using? Can you send (off-list) the png and pdf files so I can have a look at your output? Mike On 09/21/2011 10:28 AM, Dave Hirschfeld wrote: >

Re: [Matplotlib-users] Help with some data manipulation for a plot

2011-09-22 Thread Armando Serrano Lombillo
On Wed, Sep 21, 2011 at 9:28 PM, Benjamin Root wrote: > On Wed, Sep 21, 2011 at 2:00 PM, Armando Serrano Lombillo < > arser...@gmail.com> wrote: > >> Hello I have a dat set like this one >> a=[[x1, y1, cat1], [x2, y2, cat1], ..., [x8, y8, cat1], [x9, y9, cat2], >> ..., [x34, y34, cat2], [x35, y35

[Matplotlib-users] Interactive Plots of very large data sets

2011-09-22 Thread A. S. Budden
Dear all, I have some large data sets that I need to evaluate graphically. I find the graph navigation tools (left-click and drag to pan, right-click and drag to zoom) in matplotlib absolutely superb and I'd like to be able to better use them with the large data sets. At the moment, I'm achievin