Problem solved ... even as orginally C++ or Java programmer it is strange,
but a interpreted language makes it possible to obtain with an import at a
different position a complety different behaviour during run-time.
I just putted the import of mathplotlib and pylab after the file reading and
af
I am using Matplotlib version 1.0.1 and I get errors if I try the following:
import matplotlib.pyplot as plt
import numpy as np
plt.specgram(np.zeros(50))
I have pasted the error output below, but hopefully it would reproduce
in other systems. I'm not sure if this is intended behavior and was
w
Thank you very much for your patience, your explanations helped me a
very lot in getting beautiful plots for my thesis!
Best regards,
Daniel
--
Protect Your Site and Customers from Malware Attacks
Learn about various malwa
The zeros(...) statement needs a contiguous block of > 800 MB RAM and
the conversion another contiguous block of > 400 MB. Memory allocated
during the matplotlib import statement could easily fragment the
available memory such that no 800 + 400 MB blocks exist. Try monitoring
your memory usage
Dear Christoph,
It is not a memory problem, because before the programm starts I have more
than 1.3 GB free memory left. And on the other hand it depends on the import
line! There seems to be some interference of the packages. My Python version
is 2.6 (needed by another programm), perhaps that al
On Fri, Jan 14, 2011 at 1:40 PM, sprobst wrote:
>
> Hi all,
>
> I tried to plot parts of a large 3D array with each 4 float64 entries.
> Loading the array with numpy.fromfile and performing a type conversion
> afterwards ends up in a MemoryError.
>
> The following code reproduces the error:
> ***
Works for me on Windows 7 64 bit with 32 bit Python. I believe you
simply run out of memory. On a 32 bit Windows OS, Python can only use 2
GB, which it has to share with other all processes.
zeros((300,300,300,4),dtype=float64) requires ~820MB of contiguous
memory, which might not be available
On 01/14/2011 02:02 AM, Daniel Mader wrote:
Hi Eric,
thanks for your feedback, it helped a lot! I have some questions left,
see below.
2011/1/14 Eric Firing:
Quick thoughts with no testing or concrete examples:
1) Don't set the cmap or norm for the colorbar; let it inherit those
properties fr
Hi all,
I tried to plot parts of a large 3D array with each 4 float64 entries.
Loading the array with numpy.fromfile and performing a type conversion
afterwards ends up in a MemoryError.
The following code reproduces the error:
***
import gc
from os import path
f
Seems that deleting fontList.cache did it.
Michael Droettboom wrote:
> You can try deleting matplotlib's font cache in
> ~/.matplotlib/fontList.cache.
>
> If that doesn't work, set the rcParam "verbose.level" to
> "debug-annoying" and send us the output...
>
> Mike
>
> On 01/14/2011 08:10 AM,
2011/1/14 Thøger Emil Juul Thorsen
> Hi list;
>
> I am trying to do an imshow() comparison of four different data sets
> (astronomical photos), and since I want to show the differences in
> strength, I use fixed vmin and vmax.
>
> I would very much like one and only one colour bar for the entire
You can try deleting matplotlib's font cache in
~/.matplotlib/fontList.cache.
If that doesn't work, set the rcParam "verbose.level" to
"debug-annoying" and send us the output...
Mike
On 01/14/2011 08:10 AM, Neal Becker wrote:
> I have several machines running fedora f14. 2 of them produce plo
Hi list;
I am trying to do an imshow() comparison of four different data sets
(astronomical photos), and since I want to show the differences in
strength, I use fixed vmin and vmax.
I would very much like one and only one colour bar for the entire
figure, but I haven't been able to figure out ho
On Fri, Jan 14, 2011 at 5:06 AM, Bala subramanian wrote:
> Dear Friends, i used the following code to create a 3D plot (attached
> figure). I manipulate the appearance of the graph. Someone please enlighten
> me on the same. I dnt get what functions should i use to do the following
> manipulation
Friends,
I sent the following mail to mpl users with a figure. Since the size was
bigger, it bounced back to my email. So i am fwd it again without attaching
the figure.
It seems that i can only set tick labels and limits of the axes using
set_xlabel and set_xlim3d functions.Basically i want to kn
I have several machines running fedora f14. 2 of them produce plots fine with
STIX, but 1 doesn't, but gives:
/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py:1242:
UserWarning:
findfont: Font family ['STIXSizeOneSym'] not found. Falling back to Bitstream
Vera Sans
(prop.get_fam
Hi Eric,
thanks for your feedback, it helped a lot! I have some questions left,
see below.
2011/1/14 Eric Firing :
> Quick thoughts with no testing or concrete examples:
>
> 1) Don't set the cmap or norm for the colorbar; let it inherit those
> properties from the mappable to which it is connecte
Hooo, well done! This is it.
I didn't knew about caching...
I was indeed using ipython, but I did led some test using the basic python
interpreter,with same results, so I did not mention this point.
In fact, python's basic interpreter still records the last three outputs. As my
tests were really
18 matches
Mail list logo