On Tue, Jun 30, 2009 at 12:09 PM, Ondrej Certik wrote:
> Hi,
>
> this must have been answered many times already, but I searched the
> archives, online docs, but couldn't find anything.
>
> If I do:
>
> $ python
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
> [GCC 4.3.3] on linux2
> Type
Meant to copy this to the list as well for completeness.
-- Forwarded message --
From: Rick Muller
Date: Sun, Jul 5, 2009 at 2:03 PM
Subject: Re: [Matplotlib-users] Empty squares at end of data after
interpolation with griddata?
To: Jeff Whitaker
The link should work now. What
> Pau wrote:
>> ...
>> MODE: 0.00e+00 - 1.00e-04
>>
>> (2226):**
>>1: 1.00e-04 - 2.00e-04 ( 482):*
>>2: 2.00e-04 - 3.00e-04 ( 273):
> Is there some way to prevent this or alternatively set the
> properties after manually setting the labels?
Hi,
I just found out how to restore the old settings:
save = pl.rcParams.copy()
pl.clabel(cs, manual=True)
pl.rcParams.update(save)
Maybe this should be the default behaviour?
Regards,
Pau wrote:
> ...
> 2009/7/5 Gökhan SEVER :
>> On Sun, Jul 5, 2009 at 3:41 PM, Pau wrote:
>>> ...
>>> Traceback (most recent call last):
>>> File "./prova.py", line 14, in
>>>y.append(int(line.split('(')[1].split(')')[0]))
>>> IndexError: list index out of range
2009/7/5 Sebastian Busch
OK, You are one step closer to point out the error.
Look for an instance of line. What does it output?
Then try fiddling with the split() function and proper indexes.
Haha, are you a Mediterranean person or what?
On Sun, Jul 5, 2009 at 3:54 PM, Pau wrote:
> Hello,
>
> thanks, yes, I had done
Hello,
thanks, yes, I had done this already. It's pointing to the append
place for y, but I am absolutely lost at that line. I don't understand
it.
I guess this has to do with the format of the data (see previous e-mail)
---> 13y.append(int(line.split('(')[1].split(')')[0]))
anyway... thank
On Sun, Jul 5, 2009 at 3:41 PM, Pau wrote:
> ok, I installed now scipy
>
> Traceback (most recent call last):
> File "./prova.py", line 14, in
>y.append(int(line.split('(')[1].split(')')[0]))
> IndexError: list index out of range
>
> what is out of range?
>
> sorry for the spamming... :(
>
ok, I installed now scipy
Traceback (most recent call last):
File "./prova.py", line 14, in
y.append(int(line.split('(')[1].split(')')[0]))
IndexError: list index out of range
what is out of range?
sorry for the spamming... :(
2009/7/5 Pau :
> Hello!
>
> thanks for the quick answer!
>
>
Hello!
thanks for the quick answer!
I have removed the text lines (do you mean the ones starting with a
hash, #? I removed those)
It complained about
from scipy import * # complained "ImportError: No module named scipy"
So I commented it out and added
from pylab import *
But it's crashing:
Pau wrote:
> ...
> MODE: 0.00e+00 - 1.00e-04
> (2226):**
>1: 1.00e-04 - 2.00e-04 ( 482):*
>2: 2.00e-04 - 3.00e-04 ( 273):
>3: 3.00e-04 - 4.00e-04 ( 173):**
Hello,
I am trying to make a histogram with matplotlib and I do not
understand the example I found
http://n2.nabble.com/Python-MatPlotLib-histogram-example-td1922503.html
I have a data file called "histo.dat" which looks like
-
#
# Eccentricity on ent
Rick Muller wrote:
> Having one last problem with matplotlib. I have some data that I'm
> interpolating with griddata, and then plotting with contourf. For
> reasons that escape me, the upper right and the lower left squares are
> not being plotted. I'm printing out a 10x10 version of this to
>
Hello Rick,
On Sun, Jul 5, 2009 at 03:52, Rick Muller wrote:
> Having one last problem with matplotlib. I have some data that I'm
> interpolating with griddata, and then plotting with contourf. For reasons
> that escape me, the upper right and the lower left squares are not being
> plotted. I'm pr
14 matches
Mail list logo