Ernest Adrogué wrote:
> 14/10/09 @ 02:38 (+0200), thus spake qu...@gmx.at:
>> okay. don't shoot me
>>
>> you need to start ipython with:
>>
>>ipython -pylab
>>
>
> or alternatively, start ipython normally, import matplotlib.pyplot
> and then call matplotlib.pylot.ion() which turns the 'interac
14/10/09 @ 02:38 (+0200), thus spake qu...@gmx.at:
> okay. don't shoot me
>
> you need to start ipython with:
>
>ipython -pylab
>
or alternatively, start ipython normally, import matplotlib.pyplot
and then call matplotlib.pylot.ion() which turns the 'interactive
mode' on.
then when you cre
Hello, I have the following function as an example. You can see I started to
play with one of the demos to put a colorbar on it. I'm a little confused
how to make this work, as on my figure I have several 'collections'. The
other examples I have seen deal with one collection. Maybe someone could
sh
> From: jsw...@fastmail.fm
> Subject: Re: [Matplotlib-users] cannot install kubuntu 9.04 mpl 0.99.1.1,
> python 2.6
> To: petersk...@msn.com
>
> KURT PETERS wrote:
> > OK, that got me a hair further :-) With your suggestion I got past
> > that speed bump by:
> > sudo apt-get install tk8.5-dev
KURT PETERS wrote:
> OK, that got me a hair further :-) With your suggestion I got past
> that speed bump by:
> sudo apt-get install tk8.5-dev tcl8.5-dev
>
> Now the error is a little more sinister. I did a tiny bit of research
> and some posts says the error could be due to no installation of
OK, that got me a hair further :-) With your suggestion I got past that speed
bump by:
sudo apt-get install tk8.5-dev tcl8.5-dev
Now the error is a little more sinister. I did a tiny bit of research and some
posts says the error could be due to no installation of g++. but...
[code]
sudo ap
okay. don't shoot me
you need to start ipython with:
ipython -pylab
as noted in: http://matplotlib.sourceforge.net/users/shell.html
made someone else can benefit from my mistake
sorry for bothering you
q
On Wed, Oct 14, 2009 at 02:09:21AM +0200, qu...@gmx.at wrote:
> but i want to:
> 1)
qu...@gmx.at wrote:
> but i want to:
> 1) plot something
> 2) go on in ipython (with the figure/plot staying on)
>
> is that really not possible?
>
> thanks,
> q
>
That's exactly what happens in ipython (in pylab mode), if you don't
call show.
-Jeff
> On Tue, Oct 13, 2009 at 03:54:22PM -060
KURT PETERS wrote:
> Apparently, I have two :-)
>
> $ sudo find / -name "tk.h"
>
> /usr/include/tcl8.4/tk.h
> /usr/include/tcl8.4/tk-private/generic/tk.h
But you need /usr/include/tcl8.5/tk.h. Matplotlib is detecting a tk 8.5
installation, so it's looking for a tk 8.5 header.
-Jeff
>
> Kurt
>
Apparently, I have two :-)
$ sudo find / -name "tk.h"
/usr/include/tcl8.4/tk.h
/usr/include/tcl8.4/tk-private/generic/tk.h
Kurt
> Date: Tue, 13 Oct 2009 15:55:51 -0600
> From: jsw...@fastmail.fm
> Subject: Re: [Matplotlib-users] cannot install kubuntu 9.04 mpl 0.99.1.1,
> python 2.6
> To: pe
but i want to:
1) plot something
2) go on in ipython (with the figure/plot staying on)
is that really not possible?
thanks,
q
On Tue, Oct 13, 2009 at 03:54:22PM -0600, Jeff Whitaker wrote:
> qu...@gmx.at wrote:
> > Greetings.
> >
> > What i want to do is something like:
> >
> > ipython ...
> >
Well, while I waited for more help/thoughts on the matter, I happened to have
another machine with Jaunty 9.04 that I thought I'd give a try
I consolidated the install down with the "apt-get" commands at the bottom, and
matplotlib failed on the new machine as well (but took longer to fail possi
KURT PETERS wrote:
> Jeff,
>I had already had tk-dev installed:
> $ sudo apt-get install tk-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> tk-dev is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
qu...@gmx.at wrote:
> Greetings.
>
> What i want to do is something like:
>
> ipython ...
>
>
>
> t=linspace(0,2,50)
> y=sin(2*pi*t)
>
> pyplot.plot(t,y)
> pyplot.show()
>
>
>
> I get the plot here ... but now i want to do some more stuff in
> the ipython shell (and possibly have the plot
Greetings.
What i want to do is something like:
ipython ...
t=linspace(0,2,50)
y=sin(2*pi*t)
pyplot.plot(t,y)
pyplot.show()
I get the plot here ... but now i want to do some more stuff in
the ipython shell (and possibly have the plot still open)
How do i free the shell from the pl
Jeff,
I had already had tk-dev installed:
$ sudo apt-get install tk-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
tk-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
Please see my latest... This is
Getting closer... I'm going to post the sum total of "apt-get installs" I had
to do to get matplotlib installed when I get it working (prelim. is at the end
of this message).
I'm thinking on this one, something with ltk in it, but none of these look
promising:
[code]
apt-cache search tk | gr
Hey, coparing on how GTK2 example is done I've seen a difference between the
two!
In QT4Agg example and WX example the code use:
canvas.copy_from_bbox(ax.bbox)
replacing all occurrence of ax.bbox with ax.get_figure().bbox solved all the
issue I add.
Perhaps we should correct the examples.
I ca
I've just installer GTK on windows + tested your file and it works...
Moreover, I've modified the source to make the code use QT4Agg instead of GTK
and the bug does not appears.
So I think it is more an issue of misusing bliting technique in other examples.
(still your gtk example is more beautifu
KURT PETERS wrote:
> OK, I got by the tk part by installing tk-dev, but now get:
[...]
> build/temp.linux-i686-2.6/CXX/cxxextensions.o -L/usr/local/lib
> -L/usr/local/lib -ltk8.5 -ltcl8.5 -lstdc++ -lm -lfreetype -lz -lstdc++
> -lm -o build/lib.linux-i686-2.6/matplotlib/backends/_tkagg.so
> /usr/b
KURT PETERS wrote:
> I'm pretty sure I have all the required minimal dependencies
> installed, but get an error when I sudo python setup.py build. Any
> thoughts? I can start python and import Tkinter without an error. So
> I don't know why it's not finding it.
>
> [code]
> sudo python setup.
OK, I got by the tk part by installing tk-dev, but now get:
[code]
sudo python setup.py build
BUILDING MATPLOTLIB
I'm pretty sure I have all the required minimal dependencies installed, but get
an error when I sudo python setup.py build. Any thoughts? I can start python
and import Tkinter without an error. So I don't know why it's not finding it.
[code]
sudo python setup.py build
===
I've not been able to find a successful way to install matplotlib since
upgrading to OS 10.6. There doesn't seem to be an egg for it. Easy_install
matplotlib finds an old version (0.91) that is not compatible with the new
numpy supplied by Apple. Easy_install matplotlib-0.99.1 can't find it.
Likewi
Hello,
I've tested so far with wx and QT4 backend.
The two are buggy.
Easy way to reproduce the bug (another way I mean)
ax = p.subplot(212)
ax2 = p.subplot(211)
and the two backends got the same error.
Note that I'm under windows. I'll try under linux tonight just to check.
I'll also try gtk b
I haven't tested it with qt4, but with gtk, add_axes DOES work.
So, can you try other backends and see if they work?
And, I believe that add_subplot -> add_axes is a only change you made?
Unless the problem is persistent among other backends, I hope other
developers who use qt4 backend step in a
On Mon, Oct 12, 2009 at 11:45 AM, Ernest Adrogué wrote:
> hi,
>
> is there a way to put a label every two o three ticks,
> instead of putting it on every tick?
I personally think it is best to use major ticks with labels and minor
ticks w/o labels.
>
> the following works but it's a little cumbe
On Tue, Oct 13, 2009 at 2:52 AM, Georg Brandl wrote:
> BTW, from Gnuplot I missed the ability to press "q" to close a figure window
> and wrote a custom key handler to do that; would it make sense to add that
> by default?
gui and event handling is not my field, but as far as it is easily
customi
On Tue, Oct 13, 2009 at 2:48 AM, thkoe002 wrote:
>
> Hi Eric,
>
> thanks for the help, but this doesn't do what I want.
> I don't want to change the image in any way, I just want the axes to have a
> decreasing spacing. I made a small example with ms paint to clarify.
>
> http://www.nabble.com/fil
Hello,
I can't find the way to change the "zdata" on a Line3D object. (mpl 99.1)
I would like to use setp ...
Thanks by advance
Cédrick
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only d
Hi Eric,
thanks for the help, but this doesn't do what I want.
I don't want to change the image in any way, I just want the axes to have a
decreasing spacing. I made a small example with ms paint to clarify.
http://www.nabble.com/file/p25867951/axes.png
I could do this with ax.set_xticks() and
31 matches
Mail list logo