On Apr 12, 2007, at 11:02 AM, Eric Firing wrote:
> belinda thom wrote:
>
>> Me neither :-). I will try and get permission to upgrade axis.py w/
>> my quick fix commenting out the kwargs in line 2131 of axes.py, as
>> this is the quick option and I need something ASA
Eric,
On Apr 12, 2007, at 12:16 AM, Eric Firing wrote:
> belinda thom wrote:
>> Thanks Eric!
>> I'm kind of afraid to upgrade to the SVN version b/c I fear
>> something else might break (I've yet to install matplotlib from
>> source b/c of a few naggin
iven script. (I think
> there is some 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'
viding more info.
--b
Begin 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, belin
> 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= 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
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 installs
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.m
On Apr 11, 2007, at 4:54 PM, belinda thom wrote:
> Hi,
>
> What kwargs are available for plot3D and scatter3D?
And what is the difference between plot3d and plot3D?
The former seems most "matlab" like, and was what I was looking for:
a way to plot individual points and/or
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 & busines
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 gene
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 0.
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] = P.
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, yes---especi
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 h
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 o
Hi Angus and the Matplotlib community,
I'm finally getting around to trying your suggestions, which at first
blush seem like they'd do what I want, so THANKS for that!
But I'm still running into issues for which I'm uncertain how to
proceed. I outline my stumbling blocks below, which have to
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 ru
Eric,
This is great; much thanks!
--b
On Mar 23, 2007, at 3:16 PM, Eric Firing wrote:
> belinda thom wrote:
>> Hi,
>> I'm wondering if there's an easy way to reverse an axis in a plot.
>
> Using methods:
>
> bottom, top = ax.get_ylim()
> ax.set_ylim(t
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,
> 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
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
> 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
so use pylab.gca() ?
On Jan 11, 2007, at 3:31 PM, Christopher Barker wrote:
> Jeff Whitaker wrote:
>
>> Chris: In the pylab interface, figure() returns a figure instance
>> and
>> plot(x,y) returns a list of Line2d instances.
>
> yes, but it's the axis instance that you are most likely to need
Hi,
On Jan 10, 2007, at 5:56 PM, Robert Kern wrote:
> belinda thom wrote:
>> I went back and retried the plotting w/wx
>> as a backend and discovered that wx FAILS with PYTHONW and PYTHON
>> (appended).
>
> Okay, what version of wxPython did you install? What
On Jan 10, 2007, at 4:57 PM, Eric Firing wrote:
> Christopher Barker wrote:
>> Eric Firing wrote:
>>> This is the big difference between most pylab functions and the
>>> corresponding axes or figure methods that they wrap: the pylab
>>> functions automatically take care of redrawing the figure if
brary/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
site-packages/matplotlib/backends/backend_wx.py", line 1172, in
draw_if_interactive
figManager.canvas.draw()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
site-packages/matplotlib/backends/backend_wx
Robert,
> Try running with pythonw.
Do you know how to fix this in IDLE (it must be using python as
opposed to pythonw somehow).
Thanks again for all your help,
--b
-
Take Surveys. Earn Cash. Influence the Future of IT
J
Thanks.
And running w/pythonw does what it should :-).
On Jan 10, 2007, at 12:16 PM, John Hunter wrote:
>> "Robert" == Robert Kern <[EMAIL PROTECTED]> writes:
>
> Robert> Personally, I think the warnings are a bit overzealous and
> Robert> should be silenced. It's not as if the use
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 alterna
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 t
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 "whirlin
keep adding to, which is
great.
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
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
Fernando Perez wrote:
> hopefully the responsibilities will be:
>
> - ipython -> interactive work
> - numpy/scipy -> numerics
> - matploblib -> plotting
>
On Jan 3, 2007, at 10:01 AM, Christopher Barker wrote:
I sure hope so too.
> Following these ideas, in my personal use I normally do:
>
> i
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 = N.arange(12,dt
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 demons
Hi,
The source forge archive for this mailing list:
http://sourceforge.net/mailarchive/forum.php?
forum_id=33405&max_rows=25&style=ultimate&viewmonth=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 archi
Hi,
I'm using matplotlib w/numerix set to numpy (as described in my prior
post).
What I am wondering is in what situations one would want to:
import pylab
import numpy
together, because there is matlab-style stuff (e.g. matrices, arrays,
cumprod, fft, arange etc.) by importing the pylab pac
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
Numeric.__version_
On Dec 16, 2006, at 8:10 PM, John Hunter wrote:
> Simson> 3. If I was going to make a major change to the API at
> Simson> this point, it would be to make it so that you don't have
> Simson> a class/function/ identifier called "axes" and another one
> Simson> called "axis." I freq
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()
twinx()
l2 = plot()
legend([
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
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:
Hi,
I could've sworn I recently read about how to draw a line on a plot
in such a way that you see it regardless of what the axis ranges are.
Now that I need it, I can't find it anywhere. I'm not even sure what
to search for.
I suspect this is really trivial and hope some more advanced users
suite 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 wo
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 ,
.__version doesn't work).
Advice appreciated.
--b
-
Take Surveys. Earn Cash. Influen
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
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
---
48 matches
Mail list logo