Buchholz, Greg wrote:
> Is there a way to display more digits on the cursor readout in the
> lower right hand corner of the plot window? Right now my setup is only
> showing three digits to the right of the decimal point, which isn’t
> enough when I’m zoomed way in. If that description isn
Is there a way to display more digits on the cursor readout in the
lower right hand corner of the plot window? Right now my setup is only
showing three digits to the right of the decimal point, which isn't
enough when I'm zoomed way in. If that description isn't good enough to
describe what I
loop through the data and call clf():
from pylab import *
from numpy import *
ion()
hold(False)
frame1 = zeros((200, 200))
frame1[20:40, 20:40] = 255
frame2 = zeros((200, 200))
frame2[20:40, 30:50] = 255
frame3 = zeros((200, 200))
frame3[20:40, 40:60] = 255
frame4 = zeros((200, 200))
frame4[2
Nat Wilson wrote:
> I don't think so - how would I find out?
> I haven't explicitly installed anything like that myself, so unless it's
> sipped with OS X, or was installed with some other package, I shouldn't
> have it.
MPL has a few dependencies that are not provided by OS-X. You will need
li
On Tue, Oct 07, 2008 at 08:19:39AM -0400, Michael Droettboom wrote:
> Did you not get an exception when you ran your example?
>
> The following works for me:
>
> import pylab
> x1 = pylab.arange(-10, 10, 0.01)
> x2 = pylab.arange( 0, 10, 0.01)
> f1 = [0 for e in x1]
> f2 = [1 for e in x2]
> pylab.
On Tue, Oct 07, 2008 at 12:54:49PM +0200, Johann Rohwer wrote:
> The autoscaling feature sets the y limits to [0,1] which means that
> your lines are falling on the bottom and top x-axis which hides them.
> Rescaling the y-axis will make the lines visible, e.g.
>
> pylab.ylim(-1,2)
Thank you very
I don't think so - how would I find out?
I haven't explicitly installed anything like that myself, so unless
it's sipped with OS X, or was installed with some other package, I
shouldn't have it.
Nat
On Oct 7, 2008, at 3:06 PM, Johann Cohen-Tanugi wrote:
I think that the culprit is :
src/bac
On Tue, Oct 7, 2008 at 11:32 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> This is a known problem with old versions of pygtk.
>
> See here:
>
> http://osdir.com/ml/python.matplotlib.general/2004-11/msg00101.html
See also this FAQ:
http://matplotlib.sourceforge.net/faq.html#PYGTK24
--
Sorry, I seem to have installed pygtk by
configure --prefix=/data/opt
make
make install
Bye,
Venkat.
Venkat Ramanan wrote:
> Thanks for the quick and helpful pointer.
>
> I have a related question not specifically matplotlib related.
>
> I installed pygtk-2.4 using "python setup.py install". Is t
Thanks for the quick and helpful pointer.
I have a related question not specifically matplotlib related.
I installed pygtk-2.4 using "python setup.py install". Is there an easy
way to remove it from the python install?
Thanks,
Venkat.
Michael Droettboom wrote:
> This is a known problem with ol
This is a known problem with old versions of pygtk.
See here:
http://osdir.com/ml/python.matplotlib.general/2004-11/msg00101.html
Cheers,
Mike
Venkat Ramanan wrote:
> Hi all,
>
> Both the latest matplotlib (0.98.3) and the maintenance release (0.91.4)
> fail to compile for me with identical er
Hi all,
Both the latest matplotlib (0.98.3) and the maintenance release (0.91.4)
fail to compile for me with identical error msg.
I'm using Fedora Core 2, which I can't upgrade unfortunately.
I've installed python2.5.2, numpy-1.1.1, pygtk-2.4 and they seem work ok.
The relevant line is,
gcc
I was wondering if it is possible to change the colorbar tick labeling in
matplotlib from numeric to text. Essentially, I want the colorbar to be a
qualitative indicator; in the jet scheme, I'd like blue to be labeled
as 'unstable', green as 'neutral', and red as 'stable'. I can change it so I
matplotlib 0.98.3 predates the release of Python 2.6, so it is
unsupported in that combination. There were recent changes made to
matplotlib in SVN to make it (more) Python 2.6 compatible. You may run
into further trouble trying to get it to work with Python 2.6
That, however, doesn't seem to
I'm trying to figure out how to do animated graphics in pylab using
imshow, so I made this little 'hello world' equivalent showing a
moving square over two frames.
Problem is I have to call draw twice to refresh the image. Anyone can
explain why this is so (and how to do this more elegantly)? This
pylab.show() takes no arguments. The pylab interface is "stateful",
meaning you run a series of commands in order and it usually does the
right thing, rather than passing the results of one function into
another (in general).
Did you not get an exception when you ran your example?
The followi
On Tuesday, 7 October 2008, [EMAIL PROTECTED] wrote:
> Why does this snippet give a *BLANK* plot when I run it?
>
> (Either line separately seems to be ok!?!?)
>
> import pylab
> x1 = pylab.arange(-10, 10, 0.01)
> x2 = pylab.arange( 0, 10, 0.01)
> f1 = [0 for e in x1]
> f2 = [1 for e in x2]
> pyla
I don't know what dumb thing I'm going but I can't seem to plot
2 horizontal lines on the same plot!!!
Why does this snippet give a *BLANK* plot when I run it?
(Either line separately seems to be ok!?!?)
import pylab
x1 = pylab.arange(-10, 10, 0.01)
x2 = pylab.arange( 0, 10, 0.01)
f1 = [0 for
18 matches
Mail list logo