I am not running Debian and am not on a linux box right now. I can be
in a few minutes. I think we should move this to the matplotlib users
list. Someone there can help you install on Debian.
Ryan
On 3/27/07, javi markez bigara <[EMAIL PROTECTED]> wrote:
> this is where the folder is
> /home2/d
Hi,
I tried to dig into the 3D code, and in fact, it is RegularPolyCollection
that seems to be incompatible with Axes3D. Axes3D uses _verts to create z
values, and it crashes when trying to figure out how to display it
(art3d.pylines 208-221). I don't know enough to correct it.
But I have another
Hi to the list,
I'm searching to display in realtime some data read serial port. The
data is a 2D matrix and is read element wise from the serial, one
pixel each one (or more) seconds.
I'm running the script from "ipython -pylab" using the command "run
scriptname". After "loading" the script I i
Hello All:
I have a qucik question. I like to use SciPy for many of the extra
functions it provides on top of NumPy. I also like to use matplotlib
to visualize my data.
Currently, I use the following in the majority of my Python codes:
from pylab import *
import scipy
I know that in the matplot
Having upgraded to 2.5, I get a segfault when running a very simple plot
script (test.py) at the show() function. Prior to show() I can save to file
and the result looks good. The GUI is crashing on show().
Any suggestions to fix welcome (I'm guessing many of you know the solution
to this probl
Hi, I'm new to mpl and want to learn date plotting. Would like to start
with the demo, but date_demo1 won't run for me. (My specs: winXP, Python
2.5, matplotlib 0.9.0, numpy 1.0, and yes was connected to the internet when
I ran it). I just copied into IDLE and saved it and got this error:
Trac
Hi
I want to set the limits of my colorbar to something different from that of
my plot. For example I have a contourf plot where I set the colour limits
to be, say:
clim([15, 25])
But I want the limits of the colorbar to be 10 and 30. I suspect this is
something to do with mappable and vmin a
Tyler Hayes wrote:
> Ideally I'd like to just make the one call:
>
> from pylab import *
>
> Which would load SciPy (& NumPy) automatically
I recommend simply making your own file with all of the imports you need.
Implicitly relying on scipy being the chosen 'numerix' will make your code
difficu
Sorry, I realise that my example in my original post doesn't quite make
sense. My data range is 17 to 23. I set clim to be clim([15, 25]). I then
want the colorbar limits to be the same as clim, 15 to 25. The questions
remains the same, which is how to set the range for colorbar.
Thanks, Evan
On Tuesday 27 March 2007 16:27:35 C M wrote:
> ValueError: time data did not match format: data=2003-12-01 fmt=%d-%b-%y
>
> Any idea what I'm doing wrong?
Well, if data='2003-12-01', the format should be "%y-%m-%d" or "%y-%d-%m"
depending on the local convention. Here, 2003 is interpreted as a
Evan,
It is still not quite clear to me what you want versus what you are
getting. With recent versions of mpl, the colorbar automatically uses
the same color boundaries as contourf, if that is what the colorbar is
tracking. What version of mpl are you using?
(With the most recent mpl I see
C M wrote:
> Hi, I'm new to mpl and want to learn date plotting. Would like to start
> with the demo, but date_demo1 won't run for me. (My specs: winXP,
> Python 2.5, matplotlib 0.9.0, numpy 1.0, and yes was connected to the
> internet when I ran it). I just copied into IDLE and saved it and
Matt Beal wrote:
> Having upgraded to 2.5, I get a segfault when running a very simple plot
> script (test.py) at the show() function. Prior to show() I can save to
> file and the result looks good. The GUI is crashing on show().
>
> Any suggestions to fix welcome (I'm guessing many of you kn
Hi Eric
I am using matplotlib-0.90.0.
I am making 2 contourf subplots of temperature values which have similar but
not equal ranges. In subplot1 the range is 15-25; in subplot2 it is 16 to
24. I use clim, giving it the max and min values obtained from a comparison
of subplot1 and 2; i.e., I us
Evan,
That is getting clearer, but it still seems to me that no override
should be needed in this case; it should "just work", so if it doesn't,
either there is a bug in mpl or a bug in the code. It would be most
helpful if you would write a stripped-down simplest-possible script that
illustr
Hi Eric, the following lines below will show this. Interestingly, the
correct (or, at least, what I want) behaviour results from using pcolor, but
not with contourf.
a = arange(12, 27, .5)
b = arange(17, 23, .5)
x, y = meshgrid(a, b)
# get max and min for clim
cmin = min(x.min(), y.min()) # cm
Evan,
OK, I see what the problem is: you need to tell the second contour
command to use the same contour levels as the first one is using.
Something like this:
figure(1)
CS1 = contourf(x)
clim(cmin, cmax)
colorbar()
figure(2)
CS2 = contourf(y, levels=CS1.levels)
clim(cmin, cmax)
colorbar()
Doe
Thanks, Eric,
Yes, that works for the stripped down version, but not for what I am trying
to do. The examples I have given have the range of one of the plots nicely
fitting inside that of the other (ie, plot 1 range 15 to 26, plot 2 range 17
to 23), but sometimes with what I am doing I have, for
18 matches
Mail list logo