13/10/09 @ 14:35 (-1000), thus spake Eric Firing:
> 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
On Wednesday 14 October 2009, Ernest Adrogué wrote:
> 13/10/09 @ 14:35 (-1000), thus spake Eric Firing:
> > Ernest Adrogué wrote:
> > No, you have to call ipython with a threading option:
> >-gthread, -qthread, -q4thread, -wthread, -pylab
>
> Ah, I didn't know that. In my Debian machine, it
Hello,
First, make sure that you have installed the Apple Developer Tools,
and the "BSD components" from the DVDs OS X.
Then, please indicate your version of python, and of numpy, and give
the installation log.
Pierre
Le 13 oct. 09 à 19:14, William Carithers a écrit :
> I've not been able
UPDATE: I've got something to work (see below). I would appreciate comments
on whether it is 'pythonic' and the most efficient. Also, what would I have
to do to have a more OO approach? I would prefer to not use 'pyplot' in
general.
#!/usr/bin/env python
import matplotlib as mpl
import numpy as
hi
i am trying to use mathplot in a script that has to produce and store
about 3000 graphs a time, the problem i have is that something inside
mathplot keeps storing in the memory, (eigther the graph or the file
to write to i guess...) so once it reached 1.5GB of ram it crashes
i hope you can hel
Dear All,
I'm playing around with mpl_toolkits.mplot3d to represent a 3D scatter, but I
need the axis' aspect to be 'equal'. I tried to :
ax = Axes3D(fig)
ax.set_aspect('equal')
but it doesn't change anything...
Any tips ?
Thanks a lot in advance,
Thomas
**
Thomas Leco
Hi,
I updated matplotlib to 0.99.1, and got a weird build failure:
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
I realized that cc1obj stands for the objective C compiler, and that it
is trying to build the macosx extension, but I am on Ubuntu with python
2.6, so it
Bas,
Send an example of how you're handling the plotting. I have had similar
issues, but I've finally figured out how to work around it. Basically, look
at the Object Oriented examples, rather than using pyplot.
What I found to be most efficient was to reuse figures as much as possible,
but del
Hi Thomas,.
> I'm playing around with mpl_toolkits.mplot3d to represent a 3D scatter, but
> I need the axis' aspect to be 'equal'. I tried to :
>
> ax = Axes3D(fig)
> ax.set_aspect('equal')
axis("scaled")
worked for me.
Tinne
-
David Cournapeau writes:
> This would always build the mac os x extension if
> options['build_macosx'] is True, which is the case for me (it is set-up
> in setup.cfg, which I did not touch).
The setup.cfg file is included in the distribution by mistake. Just
delete it before building.
--
Joun
Hi everyone,
I try to make a simple subplot with yticklabels on the left and
right side. Everthing is allright, if I use the subplot command,
but I need the Subplot command from the mpl toolkits in order to hide
some axis. The code below doesn't work for me. Setting label2On=True
or False has no
hi
i am trying to use mathplot in a script that has to produce and store about
3000 graps a time, the problem i have is that something inside mathplot
keeps stroring in the memmory, (eigther the graph or the file to write to i
guess...) so once it reached 1.5GB of ram it crashes
i hope you can he
hi
i am trying to use mathplot in a script that has to produce and store
about 3000 graps a time, the problem i have is that something inside
mathplot keeps stroring in the memmory, (eigther the graph or the file
to write to i guess...) so once it reached 1.5GB of ram it crashes
i hope you can
Ok, I'll answer my own question. I got the answer from
http://groups.google.com/group/de.comp.lang.python/browse_thread/thread/5d9a315c3d3ac0f5
, already 2 months old, but I wasn't aware. Code snippet below.
import Image
from pylab import *
#generate intensity map
a=meshgrid(ara
Hi JJ,
thanks a lot for your help. I think that
http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html
has everything I need, I'll try it out. The coordinates given by the mouse
are off, but that seems to be the case even for the far more elaborate
"custom scale/projectio
On Mon, Oct 12, 2009 at 8:09 AM, bas pigmans wrote:
> hi
>
> i am trying to use mathplot in a script that has to produce and store about
> 3000 graps a time, the problem i have is that something inside mathplot
> keeps stroring in the memmory, (eigther the graph or the file to write to i
> guess..
If what you want is just to hide some axis, I (as a developer of
axes_grid toolkit) strongly recommend you to stick with the mainline
matplotlib. You can easily do it with spines.
http://matplotlib.sourceforge.net/examples/pylab_examples/spine_placement_demo.html
axes_grid toolkit uses different
Whenever I use matplotlib, I will perform something like the following in an
ipython shell (no special flags):
import matplotlib.pyplot as plt
fig = plt.figure()
fig.show()# this will cause the window to pop up, and give me back a
prompt for ipython
fig.savefig(...)# if you want to s
Does anyone know if its possible to vary the line color according to some
pre-defined array in a standard line plot (either linear or loglog)? As an
example, I would like to color the line so that it indicates progression of
time.
--
View this message in context:
http://www.nabble.com/variable-
I use a scatterplot with enough points to overlap into a line. Works
best with alpha=0.5 or thereabouts; I generally overplot with a dashed
B&W line to make the legend understandable.
Probability that there is a more elegant way: high.
&C
On Oct 14, 2009, at 9:23 AM, Devin Silvia wrote:
>
It would be very useful to be able to use letters (or text in general) as
markers in lines and scatter plots. To be clear, I mean something like
this:
plot(x,y,marker='G') would produce a bunch of letter Gs as the marker.
Is this already possible? If not, what would be the easiest way to
impleme
Hello,
I've encountered two bugs recently in matplotlib. I am hoping someone
can tell me if these are known issues and if any workarounds have been
proposed. The bug occurs for horizontal bar chart where the x-axis has
a log scale:
from pylab import *
val = 3+10*rand(5) # the bar lengths
pos
I was trying what I thought was a simple import from matplotlib, when I got
a "Bus error" Here's the terminal ouptput.
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from matp
> -Original Message-
> From: Donovan Parks [mailto:donovan.pa...@gmail.com]
> Sent: Wednesday, October 14, 2009 1:31 PM
> To: matplotlib-users@lists.sourceforge.net
> Subject: [Matplotlib-users] Log scale for horizontal bar chart (2
> bugs)
>
> Hello,
>
> I've encountered two bugs recentl
Ok, after a little more digging I'm really confused. Libfreetype.6.dylib is
actually an OS X alias to libfreetype.6.3.2.dylib. Not sure why the error
report gave the path to the alias rather than the target file.
Bill
On 10/14/09 1:37 PM, "William Carithers" wrote:
> I was trying what I though
Jouni K. Seppänen wrote:
> David Cournapeau writes:
>
>
> The setup.cfg file is included in the distribution by mistake. Just
> delete it before building.
>
Ah, that would explain it, indeed. Thanks,
David
--
Com
On Tue, Oct 13, 2009 at 1:02 PM, Laurent Dufrechou
wrote:
> 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)
>
On mac with wxgtk, it works fine.
Maybe this is an windows
On Tue, Oct 13, 2009 at 5:06 PM, Laurent Dufréchou
wrote:
> 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 sol
On Tue, Oct 13, 2009 at 4:53 PM, Laurent Dufréchou
wrote:
> (still your gtk example is more beautiful but 10 times slower than other
> examples, so is blitting really working in this case ?)
What example do you mean?
The performance will depend on complexity of the plot items that need
to be dra
29 matches
Mail list logo