Hello,
Is there a way to return a list of all the open figure numbers? For
instance, if I had:
close('all')
figure(1)
[some plotting]
figure(5)
[some plotting]
I'd like to be able to have access to a command that returns the list
[1, 5].
Thanks,
--b
Hi again,
At http://matplotlib.sourceforge.net/installing.html under topic OS X:
All of the backends run on OS X. Chris Barker has built a binary
package (fink users see below) for matplotlib which is hosted on
pythonmac, and works with Agg, Wx and Tk; see the step-by-step
instructions
Hi,
Perhaps I'm missing something really basic, but I can't figure out
how to query pylab as to what version it is (the usual import foo,
foo.__version doesn't work).
Advice appreciated.
--b
-
Take Surveys. Earn Cash.
and much more; see MacEnthon.
should be removed.
Whoever maintains this page should make the appropriate change.
On Dec 6, 2006, at 11:38 PM, Robert Kern wrote:
belinda thom wrote:
I do not want to compile code myself unless absolutely necessary. I
was wondering what was up with the MacEnton
Hi,
This mailing list is great---I've gotten a couple very useful replies
from others in a very short time period. Thanks!
And now, onto my next question. I need to construct a two-y-axis
plot. I've found some hints on how to do this on the mailing archive
(Subject: secondary y-axis, Date:
Note: there is a type-o in the above email.
W/MacPorts, I've been able to get the TkAgg backend to work
should be
W/MacPython, I've been able to get the TkAgg backend to work
-
Take Surveys. Earn Cash. Influence
Looks like I've been able to help myself on this one. I'll post this
here b/c others had asked about this in prior emails and I never saw
an answer given.
You can make your own custom legend by keeping the return values from
each plot command:
e.g.
l1 = plot(y1's stuff)
twinx()
l2 =
Hi,
I'm unable to use matplotlib when I have the following line in my
matlabplotrc file: numerix Numeric.
There is no problem when I use: numerix numpy
Here's my setup: Mac G5 w/OS X 10.4.8, using MacPython 2.4,
numpy.__version__ is 1.0, matplotlib.__version__ 0.87.7 and
Hi,
The source forge archive for this mailing list:
http://sourceforge.net/mailarchive/forum.php?
forum_id=33405max_rows=25style=ultimateviewmonth=200612
has no posts listed as of 12/24/06. I've posted several things today
and would like to be able to view their progress. Has this archive
Hi,
The documentation for pylab.load mentions the load_demo.py example.
I can't find this on my distribution. I believe all Pylab examples
live in site-packages/doc/matplotlib, for in there are files like
log_demo.py (the only file that begins with load is
load_converter.py, which is
Hi,
Is there a way for me to keep adding the next row of a 2d array to a
file via load? (matlab's save had a very useful -append option).
I managed to get 2d laod/save working, e.g.
import numpy as N
import pylab as P
import bthom.utils as U
# a numpy 2d array
a =
Hello,
I'm a new matplotlib user, coming from the Matlab end.
Is there a standard way to create a figure (here I'd like the
equivalent of matlab's hold on, so I can draw multiple things) and
then clear the figure (so the drawing goes away) so I can repeat the
process again? The commands to
.
Is passing a hold=False arg to a drawing command the preferred way to
clear a figure, or is clear() not working properly?
Many thanks,
--b
On Jan 9, 2007, at 7:50 PM, belinda thom wrote:
Hello,
I'm a new matplotlib user, coming from the Matlab end.
Is there a standard way to create a figure
Hi,
I've been playing w/both IDLE and IPython, using TkAgg in both cases
as the back end. Also, I've got the latest matplotlib and ipython
versions and am using MacPython's 2.4.4 IDLE.
It seems that if IDLE is not invoked w/the -n flag, the figures that
are drawn can often get the
Mark,
BTW, when you use pylab in interactive mode, the axis() command
should scale your figure interactively, also under IDLE. Have you
tried that?
Yes, I tried using axis in both IDLE and IPython. IPython's redrew
the axis automatically whereas IDLE's did not.
I am not sure, but I
I am posting this message to both numpy and matplotlib mailing lists
because the thread relates to both.
First, Robert Kern kindly provided step-by-step instructions for Macs
(PPCs and Intels) regarding how to install FROM SOURCE the packages
needed to allow Python to become a viable
PPS: Belinda, now that you've done all this work, I do hope you can
go the extra mile and figure out how to make a binary package of it
all for others!
I certainly would like to to do this, but its gonna have to wait
until after TheCurrentCrisis alleviates. Hopefully before Feb (in the
FWIW
On Jan 11, 2007, at 5:29 PM, Bob Ippolito wrote:
On 1/11/07, Nicholas Riley [EMAIL PROTECTED] wrote:
On Thu, Jan 11, 2007 at 02:21:19PM -0800, Christopher Barker wrote:
Is it that hard to make a binary to put up (OK, two - one for
PPC, one
for Intel), once you've gotten it all built?
Hi,
With the exception of ipython -pylab, noone is forcing you to import
*. And on the subject, Fernando, perhaps we should support a pylab
mode in ipython which doesn't dump the pylab namespace (or maybe just
dumps the required figure, show, close, nx), but does the interactive
backend
Hi,
I'm wondering if there's an easy way to reverse an axis in a plot.
For instance, suppose I wanted to create a plot that had its origin
in the upper left hand corner, so that x would range from, say 0 to 1
moving right, and y would range from, say 0 to 1, moving down.
Thanks!
--b
Hi,
I'm trying to write a very simple GUI using matplotlib and have
gotten stuck. Hopefully someone out there has done something similar
and can point me on my way.
First, I should mention that the examples provided with matplotlib
weren't immediately helpful to me, because when I try to
On Apr 5, 2007, at 6:27 AM, John Hunter wrote:
On 4/5/07, belinda thom [EMAIL PROTECTED] wrote:
My app needs to look something like this:
--
create a game and display it in a matplotlib figure
while game not over :
if its player 1's turn, get player 1's valid mouse input
On Apr 5, 2007, at 1:20 PM, Ken McIvor wrote:
On Apr 5, 2007, at 2:14 PM, belinda thom wrote:
I do think its valuable to be able to write a blocking mouse
function. After your pointer to Timer (which led me to the threading
Python library) and idle handler (which I didn't find useful doc
Thanks everyone for the advice.
For anyone in my boat following this thread, here's what I ended up
doing:
Had a stroke of insight and coded the whole thing up (poorly) using
maptlotlib w/no polling. In other words, the entire API sat in the
mouse click callback function. Lame,
Hi,
I'm having problems plotting two different kind of graphs on the same
3D figure. Was hoping for some pointers.
Here's some basic test code, to demonstrate what I'd like to be able
to do.
import copy
import pylab as P
import matplotlib.axes3d as P3
def test() :
[X,Y] =
I also seem to have some other 3D plotting problems. Again, following
some of the demo/test advice in the cookbook, I tried things like
import pylab as p
import matplotlib.axes3d as P3
P3.test_surface()
and get errors (seems Axes3D needs a figure, no?).
I'm using matplotlib version
Hi,
I'm replying to this older thread
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/
msg02100.html
because it relates very much to my recent problem, posted at http://
www.mail-archive.com/matplotlib-users@lists.sourceforge.net/
msg03037.html. This problem seems more
Hi,
What kwargs are available for plot3D and scatter3D?
Thanks,
--b
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT
On Apr 11, 2007, at 4:47 PM, belinda thom wrote:
Hi,
I'm replying to this older thread
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/
msg02100.html
because it relates very much to my recent problem, posted at http://
www.mail-archive.com/matplotlib-users
Thanks for the input.
Its easy for me to patch my own machine, but for students in my class
who are using lab machines, its more difficult. Hopefully I can get
someone to upgrade the machines in the lab I'm using. (Its difficult
to get facilities people to agree to update coursework
Hi Belinda,
I've been playing with 3D plots and scatter plots in the past few days
and I've been able to get them working. You should be able to pass in
a c=color parameter as you would for a normal 2d scatter plot. I've
been doing this and it's working for me.
Interesting.
I'm on Mac OS X
forwarded message:
From: Richard Brown [EMAIL PROTECTED]
Date: April 11, 2007 8:41:37 PM PDT
To: belinda thom [EMAIL PROTECTED]
Subject: Re: [Matplotlib-users] 3d plotting question
On 12/04/07, belinda thom [EMAIL PROTECTED] wrote:
I also seem to have some other 3D plotting problems. Again
backend for which you can get away with using it more
than once, but this is not good practice.)
Eric
belinda thom wrote:
On Apr 11, 2007, at 4:47 PM, belinda thom wrote:
Hi,
I'm replying to this older thread
http://www.mail-archive.com/matplotlib-
[EMAIL PROTECTED]/ msg02100.html
33 matches
Mail list logo