John Hunter wrote:
This is where you can help us. Saying specgram is slow is only
marginally more useful than saying matplotlib is slow or python is
slow. What is helpful is to post a complete, free-standing script
that we can run, with some attached performance numbers. For
starters, just run
Yes we all know the normal install of Matplotlib is rock solid and reliable.
I'm having trouble doing an "egg" (setuptools) install of matplotlib.
(I'm hoping eggs will be a nice way to have uniform install instructions across
all OSes.)
I got numpy egg installed but got this when I tried matplo
Orion Poplawski wrote:
> Jeff Whitaker wrote:
>> Orion Poplawski wrote:
>>> I've got a 2-D array of values that I'd like to plot onto a map with
>>> Basemap. The latitude and longitudes for each point are stored in
>>> their own 2-D array that matches that of the values. Can some one
>>> help
Orion Poplawski wrote:
> I've got a 2-D array of values that I'd like to plot onto a map with
> Basemap. The latitude and longitudes for each point are stored in their
> own 2-D array that matches that of the values. Can some one help with
> how to do this? Looks like basemap requires a squar
I've got a 2-D array of values that I'd like to plot onto a map with
Basemap. The latitude and longitudes for each point are stored in their
own 2-D array that matches that of the values. Can some one help with
how to do this? Looks like basemap requires a square and uniform set of
data to p
Pierre,
I will try to improve it.
Eric
Pierre GM wrote:
> Folks,
> Would it be possible to switch the current error message
>
>
ValueError: Arguments x, y, z, mask (if present) must be 2D arrays.
>
>
> in cntr.c to something more explicit, when x, y, and z are 2D arrays, but
> one
>
This slightly modified excerpt from the new version of spy may do what
you want:
nr, nc = Z.shape
extent = [-0.5, nc-0.5, nr-0.5, -0.5]
return self.imshow(Z, interpolation='nearest',
extent=extent, origin='upper')
Eric
John Travers wrote:
> Hi, I'm struggling to get an
On 12/12/06, John Hunter <[EMAIL PROTECTED]> wrote:
> --verbose-helpful will confirm the setting). A good way to start is
> to write a demonstration script that you find too slow which makes a
> call to savefig, and run it with
>
> > time myscript.py --verbose-helpful -dAgg
It may be worth men
> "David" == David Cournapeau <[EMAIL PROTECTED]> writes:
David> Hi, I am a regular user of matplotlib since I moved from
David> matlab to python/numpy/scipy. Even if I find matplotlib to
David> be a real help during the transition from matlab to python,
David> I must confess I
On 12/12/06, Pierre GM <[EMAIL PROTECTED]> wrote:
> On Tuesday 12 December 2006 06:57, John Travers wrote:
> > Hi, I'm struggling to get an array plotted the way I want with imshow.
> > I have an array A which i try to plot with
> >
> > e=(tdims[0], tdims[-1], wldims[-1], wldims[0])
> > imshow(A,ex
On Tuesday 12 December 2006 06:57, John Travers wrote:
> Hi, I'm struggling to get an array plotted the way I want with imshow.
> I have an array A which i try to plot with
>
> e=(tdims[0], tdims[-1], wldims[-1], wldims[0])
> imshow(A,extent=e)
>
> if I set extent correctly, the image is scaled
>
Hi,
I am a regular user of matplotlib since I moved from matlab to
python/numpy/scipy. Even if I find matplotlib to be a real help during
the transition from matlab to python, I must confess I found it the most
disappointing compare other packages ( essentially numpy/scipy/ipython).
This i
Hi, I'm struggling to get an array plotted the way I want with imshow.
I have an array A which i try to plot with
e=(tdims[0], tdims[-1], wldims[-1], wldims[0])
imshow(A,extent=e)
The image displays fine in the x axis, with tdims marked correctly,
but in the yaxis the dimensions are incorrect. An
Eric Firing wrote:
> Robert Cimrman wrote:
> [...]
>> What could be done, though, is to raise an exception explaining that
>> sparse matrices and the image mode don't like each other; as it is,
>> the function spy3 just dies on asarray (should be st. like asarray(
>> Z.todense() ))
>
> (I think
(sorry for my English)
The following code in Python causes leakage of memory:
from pylab import *
import pygtk
pygtk.require('2.0')
import gtk
import matplotlib
matplotlib.use('GTKAgg') # or 'GTK'
from matplotlib.backends.backend_gt
Folks,
Would it be possible to switch the current error message
>>> ValueError: Arguments x, y, z, mask (if present) must be 2D arrays.
in cntr.c to something more explicit, when x, y, and z are 2D arrays, but one
of them is complex ? Or force a downcast to float if needed ?
(I know, I should
16 matches
Mail list logo