Thanks JJ, but unfortunately this is not the solution. draw() gives the same
result. - and I am running this as a script (running it from ipython shell).
Any clue?
Jae-Joon Lee wrote:
>
> I presume you're running that script in interactive shell?
> Try draw() instead of show().
>
> Regards
OK, thanks JJ, I just wanted to make sure I was not missing something. I guess
I'll have to check how it goes once rebinned.
Cheers,
Auré
De : Jae-Joon Lee
À : Auré Gourrier
Cc : matplotlib-users@lists.sourceforge.net
Envoyé le : Lundi, 7 Septembre 2009, 4h11
> Any idea why there is such a difference between
> 0.98.5.3 and 0.99 ??
Drawing the whole figure once, when no further Python input is available, is
much more efficient than drawing after each plot() command. For some figures,
matplotlib 0.98.5.3 becomes extremely slow.
> Thanks JJ, but unfort
Hi Michiel
thanks, but does that explain why the script works smoothly in 0.98.6 and
earlier versions?
Plotting all the curves at the end of the script is certainly possible, but
it is a severe reduction of the functionallity. given the fact that it works
so well in earlier versions of matplotlib
Hi All,
The problem is not with fetching the data slice itself, but finding the
correct indices to specify, particularly with the time dimension. The
below examples refer to a remote dataset that I can open and slice using
indices, as in
slice = remoteobj.variables['tas'][:120,20:40,30:50].
H
Problem solved. The backend was set to Qt4Agg. Once set to TkAgg everything
works.
I don't get it but it works..
tva wrote:
>
> Hi Michiel
>
> thanks, but does that explain why the script works smoothly in 0.98.6 and
> earlier versions?
> Plotting all the curves at the end of the s
Hi,
can anybody tell me how to get gridlines in a logarithmic plot?
i tried eg.:
loglog([1,10,100], [1,10,100])
grid(True)
but neither the grid is drawn, nor an error occur. When i make a linear
plot, grid(True) works fine and draws the grid.
(win32, python 2.6, matplotlib 0.99)
Thanks
-
Oi, I'm having trouble ploting some values vs date with matplotlib.
I get the data from an SQL server using the _mssql module
after the query I tried populating the list using:
[code]
xls = []
yls = []
for row in conn:
xls.append(row['Ia'])
yls.append(row['tiempo'])
[/code]
The
I'm using 'xpdf' now, I think it must be ghostscript acting up. I only need
eps output infrequently so I'll stick with this workaround for the moment.
On Mon, Sep 7, 2009 at 4:28 AM, Jae-Joon Lee wrote:
> I cannot reproduce this error.
> And I'm not sure if this is a bug in matplotlib or ghostsc
jihi wrote:
> ... can anybody tell me how to get gridlines in a logarithmic plot? ...
from matplotlib.pyplot import *
plot([1,10,100],[1,10,100])
grid()
yscale('log')
xscale('log')
works here.
best,
sebastian.
signature.asc
Description: OpenPGP digital signature
-
On Mon, Sep 7, 2009 at 1:02 PM, tva wrote:
>
> Problem solved. The backend was set to Qt4Agg. Once set to TkAgg everything
> works.
> I don't get it but it works..
>
>
I think an explicit call of draw() in the interactive mode (e.g. with
ipython -pylab) should update the figure canvas imm
Arthur,
I wrote the date2index function and I think what you are seeing is a bug
that I fixed a couple of months ago. By using the latest version of
netcdf4-python, not only should this bug disappear, but you'll also find
that date2index now supports different selection methods: 'exact', 'before',
12 matches
Mail list logo