oint, I suceed to track
my information.
It was in the segments argument of matplotlib.collections.LineCollection
Now I'm tracking back the information ... It is in
mcontour.QuadContourSet(self, *args, **kwargs).allsegs
in the method matplotlib.axes.Axes.contour()
I'm almost done.
Than
x of the points that are
*actually* plotted without taking into account the axes, labels and
other decorations.
Does someone know how to do that ?
Since the object I have on hand is created by Sage[1] in a quite complex
way, I'm sorry to not being able to furnish an example.
Thanks
Laurent
ry something like;
>
>for i in xrange(5):
>theta = i*1.3+1.5
>xx = center[0]+(radius-4)*math.cos(theta)
>yy = center[1]+(radius-4)*math.sin(theta)
>pyplot.annotate(str(i+1), (xx, yy), color='g', va="center",
> ha="cent
x1, x2 = pyplot.xlim()
y1, y2 = pyplot.ylim()
bounds = (min(x1,y1), max(x2,y2))
pyplot.xlim(bounds)
pyplot.ylim(bounds)
for i in xrange(5):
theta = i*1.3+1.5
pyplot.annotate(str(i+1), (theta, radius-4), textcoords='polar', color='g')
pyplot.sho
Thank you for your answer.
I read the text and annotate manual pages.
I don't understand how the "polar" xycoords/textcoords works.
I guess I should use this but its not clear to me.
Le 26 nov. 10 à 14:13, Alan G Isaac a écrit :
> On 11/26/2010 8:12 AM, Benoist Laurent w
Hi,
I'm a new matplotlib user and I'm already impressed by matplotlib's
features!
But I can't find how to do something that looks quite easy.
I have several points making something that looks like a circle.
I would like to anotate these point.
How can I manage the annotation of points forming a
who knows for
the future):
axe = fig.add_axes(self.getPosition())
self._fig.delaxes(self._axe)
To go even faster(x10) you have the blitting method, but set_ydata should be
sufficent.
Laurent
De : Alexander Hupfer [mailto:son...@gmail.com]
Envoyé : jeudi 7 janvier
ionToolbar
Should work.
(Or at least will no more show errors related to TK backend...)
Laurent
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app develo
e2)
self.blit(self.ax2.bbox)
self.restore_region(self.background2)
that is blit before restore... don't understand why yet.
Any comment welcomed.
Is there any chance, after review, to find a way to include this in main
trunk?
What do think about this?
Cheers,
Laurent
"""
Re
Hi marie,
You can define exactly the size and position of your plot like this:
fig = Figure()
axe = fig.add_axes([pos_x,pos_y,size_x,size_y])
axe.plot(x, y, 'b')
where pos_x,pos_y is a number (0mailto:marie.delafonta...@yahoo.com]
Envoyé : dimanche 22 novembre 2009 18:05
À : matplotlib-users@li
han the old 7 FPS I go without blitting.
Im not sure it is the ideal solution.
Any thought?
Laurent
De : Auré Gourrier [mailto:aurelien.gourr...@yahoo.fr]
Envoyé : mercredi 21 octobre 2009 13:55
À : matplotlib-users@lists.sourceforge.net
Cc : Laurent Dufr?chou
Objet : Re : Re: Lit
like
this.
Any GUI guru help welcomed, Ill dig this further, but I think something is
missing there.
Perhaps I should force a repaint of the widget immediately?
Anyway, Im near the end J
Cheers,
Laurent
De : Auré Gourrier [mailto:aurelien.gourr...@yahoo.fr]
Envoyé
use a cmap=jet (for example)?
I've taken a look at Line2D but it has no cmap argument. The only thing
I've found is drawing a line with only one color...
Any idea appreciated!
Cheers,
Laurent
--
Com
use a cmap=jet (for example)?
I've taken a look at Line2D but it has no cmap argument. The only thing I've
found is drawing a line with only one color.
Any idea appreciated!
Cheers,
Laurent
--
Com
Bug reported:
https://sourceforge.net/tracker/index.php?func=detail&aid=2880692&group_id=80706&atid=560720
Does anybody where I could dig a little to try to correct it?
It a really needed feature for me, so if I could help...
Cheers,
Laurent
> -Message d'origine-
ubplot(211)
The image is buggy because the blitting is no more working, still I get
86FPS. So let say no change.
Now replace ax.bbox with ax.get_figure().bbox:
The bug disappear and I get a small 20 FPS
Tested under windows vista , matplotlib 0.99.1, python 2.5.4.
Laurent
P
es.
I can send you the good working example if you want.
Cheers,
Laurent
> -Message d'origine-
> De : Laurent Dufrechou [mailto:ldufrec...@marport.com]
> Envoyé : mardi 13 octobre 2009 19:02
> À : Jae-Joon Lee
> Cc : matplotlib-users@lists.sourceforge.net
> Objet : R
le is more beautiful but 10 times slower than other
examples, so is blitting really working in this case ?)
I'll dig this a little more but any idea welcome :)
> -Message d'origine-
> De : Laurent Dufrechou [mailto:ldufrec...@marport.com]
> Envoyé : mardi 13 octobre 2009
#x27;ll also try gtk backend as you suggest.
Update in next email :)
> -Message d'origine-
> De : Jae-Joon Lee [mailto:lee.j.j...@gmail.com]
> Envoyé : mardi 13 octobre 2009 18:36
> À : Laurent Dufrechou
> Cc : matplotlib-users@lists.sourceforge.net
> Objet : Re: [M
ion.
Does anybody has encountered this issue /solved it?
If not, can someone explain me the basic process behind finding the
pictures inside matplotlib? So I'l try to debug this with py2exe and
pyinstaller team.
Ps: using matplotlib 0.99.1 + pyqt 4.4
Thx a lot for any directi
hy in this case the example given is not working?
Cheers,
Laurent
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
develop
ion.
Does anybody has encountered this issue /solved it?
If not, can someone explain me the basic process behind finding the pictures
inside matplotlib? So I'l try to debug this with py2exe and pyinstaller
team.
Ps: using matplotlib 0.99.1 + pyqt 4.4
Thx a lot for any directi
ph
is not restored.
I think there is a bug in the refresh of the bounding box or something like
this.
Using matplotlib 0.99.1.1 python2.5 win32 pyqt4 4.4.3.7 (given with
python(x,y) 2.1.17)
Laurent
--
Come build wi
this case the example given is not working?
Cheers,
Laurent
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing sk
.
Laurent
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market
Hi Darren,
Thanks for your answer.
... I've updated to matplotlib 0.99 since the last email... and the bug
disappeared :)
Must be a bug of previous version since I had ever added a layout to the
central widget!
Thanks anyway for your help!
On Fri, Sep 11, 2009 at 5:52 PM, La
nually the app all became OK...
To be honest I've got NO idea of what is the problem :(
Any direction highly appreciated!
Laurent
matplotlib:
__version__ = '0.98.5.2'
And pyqt: 4.4.3.6
#!/usr/bin/env python
# embedding_in_qt4.py --- Simple Qt4 application embedding matplotlib
Hey pierre,
Wow that's fantastic!
One week ago I started (not sent) a mail that was intended for you on
python(x,y)
I explained that the main issue I get with users I want to convert to python
is:
1) "Hey there is so lot packages, each time I need to install a new package
to get your feature."
2)
hi,
I'm using polar bars to plot windroses. Since the 0.98.5 version i have
some issues with the plots.
The 0° bar is not displayed in the good way. This bar is
located between -0.26 radian and 0.26 radian but it is printed
counterclockwise.
It was working perfectly with matplotlib version 0.98.3.
Thx you john, for you fast reply (as always).
You're true seems to be a py2exe optimization problem. I've got the good
origin of the problem.
So your true you don't have to include my ugly patch :)
Thx for the link, will write a little tuto on making .exe!
Regards,
Laurent
Had the same problem, solved with the setup.py attached ;)
Just modify it to fit your needs, should be a good start.
Works under vista + matplotlib 0.98.3
Cheers
Laurent
> -Message d'origine-
> De : Ron Adelman [mailto:[EMAIL PROTECTED]
> Envoyé : samedi 20 septembre
Excellent!
That's was EXACTLY what I needed!
Thanks a lot Friedrich!
:)
2008/9/20 Friedrich Hagedorn <[EMAIL PROTECTED]>:
> On Sat, Sep 20, 2008 at 04:06:36PM +0200, Laurent Dufrechou wrote:
>> Hello all,
>> I'm trying to show to a friend matplotlib features v
var1['data'])
y1 = array(var1['data'])
axes = fig.add_subplot(111)#211)
axes.yaxis.tick_left()
axes.plot(x1,y1,alpha=1)
And should be OK.
Personnaly I use wx.aui to manage multpile wx.panel inside an App, but it
depends what yo
llet 2008 02:04
> À : Laurent Dufrechou
> Cc : matplotlib-users@lists.sourceforge.net
> Objet : Re: [Matplotlib-users] imshow update norm make my app crash.
>
> On Tue, Jul 29, 2008 at 6:52 PM, Laurent Dufrechou
> <[EMAIL PROTECTED]> wrote:
>
> > I've applied the i
_
result = self.f(d1, d2, *args, **kwargs).view(get_masked_subclass(a,b))
ValueError: shape mismatch: objects cannot be broadcast to a single shape
UpdateSonarview works flawlessly if I modify the colormap (self.cmap) and
call it then.
If I modify self.nor
Hi andrew, eric,
Excellent that is exactly what I was looking for :)
Laurent
> -Message d'origine-
> De : Eric Firing [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 29 juillet 2008 02:39
> À : Laurent Dufrechou
> Cc : matplotlib-users@lists.sourceforge.net
> Objet
0 with N segments.
(moreover I don't understand how you set the over/under value.)
Laurent
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applicatio
I am puzzled. Wasn't the whole point of close() to avoid memory leaks?
Laurent
2008/7/15 Michael Droettboom <[EMAIL PROTECTED]>:
> Yes, as of r5747 twinx (well, shared axes specifically) no longer leaks.
>
> Manuel has discovered a seemingly generic leak that occurs when
0,0.9,0.45))
ax1=PL.twinx(ax)
t=range(1000)
st=[math.sin(x*0.01) for x in t]
ax.plot(t,st)
fig.clf()
PL.close(1)
gc.collect()
print "GC"
print len(gc.get_objects())
print len(gc.garbage)
looptest()
>>
I think i narrowed down the memory leak i have been chasing for a while.
If i remove the call to twinx i get a slow leak, which would cause me
trouble
after a very long time. With the call to twinx, however i am losing
thousands of objects
at each loop.
Thanks,
Laurent
\images\home.png"; dying
It is really strange because I've put this in my setup.py:
import matplotlib
data_files = matplotlib.get_py2exe_datafiles()
So there is a directory mpl-data/images so should work.
(
I am using matplotlib to produce a big number(16000) of charts and am facing
a steady memory leak. my code sofar looks like:
while(1):
fig=PL.figure(1)
..plot some things..
fig.clf()
PL.close()
am i missing something?
Laurent
Have you tryied : ipython -pylab ?
It launch an ipython shell that support mathplotlib gui loop.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
] De la part de Wolfgang Kerzendorf
Envoyé : mercredi 26 mars 2008 08:31
À : matplotlib-users@lists.sourceforge.net;
[EMAIL
43 matches
Mail list logo