Benoit,
Is there any particular reason why you can't do a log10() of the data that
is being pcolor()'d and then label the colorbar as having units of dB? That
would seem to be the most straight-forward approach to me.
Ben Root
2010/6/24 Benoit Donnet benoit.don...@uclouvain.be
Hi guys,
Hello Benjamin,
Thanks for your reply.
Is there any particular reason why you can't do a log10() of the data that is
being pcolor()'d and then label the colorbar as having units of dB? That
would seem to be the most straight-forward approach to me.
That's what I first tested.
In that
Ah, I just noticed that.
Actually, I think I just figured out what is happening. The colorbar
automatically chooses what values to display, and in your case, the values
are 0.0, -0.4, -0.8, -1.2, -1.6, ..., -3.6, which when turned into integers
are 0, 0, 0, -1, -1, ..., -3, which matches what
Hi,
This simple script will animate correctly on Linux, but will not work on
Windows (mpl 0.99.3) and at the end will crash with a message box
(unknown software exception (0x4015) at the location 0x1e05b62a) and
prints to the console:
Fatal Python error: PyEval_RestoreThread: NULL
The crash happens with the TKAgg backend but not with the GTKAgg
backend, but the script will still not animate. This one will however:
#---
import matplotlib
matplotlib.use(GTKAgg)
import matplotlib.pyplot as plt
import numpy as np
plt.ion()
x =
On 06/24/2010 04:03 AM, Benjamin Root wrote:
Ah, I just noticed that.
Actually, I think I just figured out what is happening. The colorbar
automatically chooses what values to display, and in your case, the
values are 0.0, -0.4, -0.8, -1.2, -1.6, ..., -3.6, which when turned
into integers
Can someone point me to up to date installation instructions for Mac OS
(10.6.4, python 2.6.4)?
Every route I pursue hits a dead end.
- if I install from dmg files on the matplotlib, it is not visible to my python
installation (I think it installs to the OSX native python).
- if I install via
Hi,
I've stumbled across an old application from 2007 which uses the old
matplotlib.transforms API, namely matplotlib.transforms.Value() which
obviously disappeared in a great transforms overhaul.
I tried to figure out what has become of these classes and functions
browsing the changelog and
There is a guide about porting from the old transforms to the new
transforms here:
http://matplotlib.sourceforge.net/api/api_changes.html#notes-about-the-transforms-refactoring
Mike
On 06/24/2010 01:53 PM, Florian Berger wrote:
Hi,
I've stumbled across an old application from 2007 which
On Thu, Jun 24, 2010 at 1:11 PM, Michael Droettboom md...@stsci.edu wrote:
There is a guide about porting from the old transforms to the new
transforms here:
http://matplotlib.sourceforge.net/api/api_changes.html#notes-about-the-transforms-refactoring
It's possible I'm missing something, but
I'm updating my python install but am running into problems with matplotlib,
as always. This time around I'd thought I'd use the .dmg installer. I've
already installed Python 2.6.5 from python.org and numpy from scipy.org.
Both of these work. I noticed the matplotlib installer wants to
Hi,
Ryan May rma...@gmail.com:
Michael Droettboom md...@stsci.edu wrote:
There is a guide about porting from the old transforms to the new
transforms here:
http://matplotlib.sourceforge.net/api/api_changes.html#notes-about-the-transforms-refactoring
It's possible I'm missing
Hi all,
I'm pleased to announce here that Spyder version 1.1.0 has been released:
http://packages.python.org/spyder
Spyder (the Scientific PYthon Development EnviRonment) is a free open-source
Python development environment providing MATLAB-like features in a simple and
light-weighted
On 06/24/2010 11:07 AM, Florian Berger wrote:
Hi,
Ryan Mayrma...@gmail.com:
Michael Droettboommd...@stsci.edu wrote:
There is a guide about porting from the old transforms to the new
transforms here:
Hi,
Eric Firing efir...@hawaii.edu:
It was *such* a major change that Value and its ilk were completely
replaced, not moved aside.
Thanks, I feared as much. :)
look at what you were trying to do with the code, not at how you
implemented it via Value.
Well the thing is that *I* did not
Hi Mike,
I tried to run it on windows.
Got error
D:\download\pythondemo_axes_grid.py
Traceback (most recent call last):
File D:\download\python\demo_axes_grid.py, line 2, in module
from demo_image import get_demo_image
ImportError: No module named demo_image
Went looking on examples
Hi Tim,
From what I gather you are trying to install everything from source the
trying to install via the dmg. I did a fresh install of python,
matplotlib and a number of other packages today (on 10.6) and maybe it
would be helpful to see how to install from source. When installing
Python,
Tim,
I think you just need to direct the PYTHONPATH variable to the place
where matplotlib is installed. My PYTHONPATH looks like this:
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages:/Library/Python/2.6/site-packages
Hana
On 6/24/10 6:45 PM, Tim Gray wrote:
18 matches
Mail list logo