You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
(10) |
2
(6) |
3
(13) |
4
(3) |
5
(10) |
6
(4) |
7
(2) |
8
(15) |
9
(10) |
10
(44) |
11
(17) |
12
(9) |
13
(2) |
14
(2) |
15
(4) |
16
(8) |
17
(13) |
18
(11) |
19
(12) |
20
|
21
|
22
(10) |
23
(10) |
24
(11) |
25
(11) |
26
(9) |
27
(1) |
28
|
29
(15) |
30
(14) |
31
(7) |
|
|
|
>>>>> "Vidar" == Vidar Gundersen <vid...@37...> writes: Vidar> thanks for providing this, i hope this will be included in Vidar> the matplotlib distribution, along with your script for Vidar> previewing and listing all colormaps? (see modification of Vidar> original code below.) I haven't been able to find any licensing information for the color scales at colorbrewer or http://geography.uoregon.edu/datagraphics . Does anyone know what their license is, if any? JDH
>>>>> "Pierre" == Pierre Hanser <ha...@cl...> writes: Pierre> hello it seems that the two examples date_demo1 et Pierre> date_demo2 do not work if LC_TIME is not C. At least, they Pierre> don't work with fr_FR.UTF-8 nor with fr_FR. Pierre> Is this a known problem? is it a python or a matplotlib Pierre> problem? -- Pierre Could you be more specific about what you mean "don't work"? Do they crash, do they have the wrong timezone, are the date strings formatted improperly? JDH
>>>>> "Benjamin" == Benjamin Schindler <bsc...@st...> writes: Benjamin> Hi Sortof, but not really. I've just discovered Benjamin> something reeeally interesting. Benjamin> I've produced a sample app that exhibits this Benjamin> behaviour. However, monitor.py (in plugins/wx) still Benjamin> depends on twisted.spread.pb. If I comment out that Benjamin> import, it all runs fine. (you can add data with the a Benjamin> button and the slider in the left pane) It's hard for me Benjamin> guess who is causing the troubles - whether it's Benjamin> matplotlib not beeing able to handle the twisted Benjamin> threading or twisted breaking matplotlib - I don't know Yep, this looks like a threading problem. Could be a tough nut to crack. Sorry, but I don't have any concrete suggestions for you. Perhaps someone on the wx list would have some idea how to make wx events play nicely with twisted threads. JDH
>>>>> "David" == David <dav...@fr...> writes: David> Hi all, and thanks for amazing matplotlib. I devellop my David> data processing / plotting software using glade, pygtk, David> scipy and matplotlib 0.83.2. David> I use the class library and I run into trouble with David> autoscaling. David> I expected that autoscale_view() function of axes class David> would do autoscaling. But if I update the data using David> set_data(), set_xdatat() or set_ydata() (of lines object) David> and I call autoscale_view() of the corresponding axes and David> then redraw the canvas, the scale is not changed and some David> data points are thus out of the picture. David> Do I miss or misunderstand something ? The axes keeps a copy of the "dataLim" and won't automatically know if you change the line's data. You need to call ax.update_datalim_numerix(x, y, ignore) where x and y are the numerix arrays you pass to line.set_data. If ignore is True, the previous data passed to the axes will be ignored in computing the new datalim. If False, the datalim will include the previous data and the current data you are passing it. After this, a call to ax.autoscale_view() should work as you expect. JDH
Hi all, and thanks for amazing matplotlib. I devellop my data processing / plotting software using glade, pygtk, scipy and matplotlib 0.83.2. I use the class library and I run into trouble with autoscaling. I expected that autoscale_view() function of axes class would do autoscaling. But if I update the data using set_data(), set_xdatat() or set_ydata() (of lines object) and I call autoscale_view() of the corresponding axes and then redraw the canvas, the scale is not changed and some data points are thus out of the picture. Do I miss or misunderstand something ? Regards, David
On Mon, 2005年08月29日 at 17:39 +0200, Nicolas Girard wrote: > Hi all, > > I apologize for beeing slightly off-topic with this question, but I couldn't > think about a better place to ask :-/ > > Consider two vectors x1 and y1. Using matplotlib, plot(x1,y1) will display the > line joining all points whose coordinates are (x1(i),y1(i)) > Now, consider another couple of vectors x2 and y2. > Using plot(x1,y1,x2,y2) we are shown the 2 lines corresponding to (x1,y1) and > (x2,y2), and we can compare these two lines with the naked eye > > My question is, how to do this quantitatively ? Is there a way of calculating > the difference between the two sets of points, and then plot this difference, > using matplotlib ? I mean, if the data was generated using a fixed grid, it > would be enough to plot (y2-y1) but with an adaptative grid, x1 and x2 > differ. Do you know about a quick & dirty way to achieve this ? You have to interpolate the results to a common vector, and then perform the difference. If you want to reproduce exactly the difference you can see on-screen, then use a linear interpolation (cause the lines joining successive points are straight, hence a linear interpolation - well, assuming that your plot is in cartesian coordinates, else this becomes more tricky), and map both set of results to the common vector (list(x1)+list(x2)).sort() (remove duplicated values and reduce it to the interval max(min(x1),min(x2)), min(max(x1),max(x2)) if you want to be clean and safe...)
Hi, you can look in the direction of polyfit, polyval function to do what do you want. Regards, N Nicolas Girard wrote: >Hi all, > >I apologize for beeing slightly off-topic with this question, but I couldn't >think about a better place to ask :-/ > >Consider two vectors x1 and y1. Using matplotlib, plot(x1,y1) will display the >line joining all points whose coordinates are (x1(i),y1(i)) >Now, consider another couple of vectors x2 and y2. >Using plot(x1,y1,x2,y2) we are shown the 2 lines corresponding to (x1,y1) and >(x2,y2), and we can compare these two lines with the naked eye > >My question is, how to do this quantitatively ? Is there a way of calculating >the difference between the two sets of points, and then plot this difference, >using matplotlib ? I mean, if the data was generated using a fixed grid, it >would be enough to plot (y2-y1) but with an adaptative grid, x1 and x2 >differ. Do you know about a quick & dirty way to achieve this ? > >Thanks in advance, >cheers, >Nicolas >
On Monday 29 August 2005 11:03 am, si...@sc... wrote: > Hi all, > > I've a stubborn problem with labels near the origin of my pylab plots, > where the lowest tick label on the y-axis ends up touching the leftmost > tick label on the x-axis. Now, I can certainly tweak these manually with > xticks and yticks, but is there any automatic way to make this happen? More > generally, is there a way to specify "breathing room" distance between the > first/last tick mark and the beginning/end of the axis? Or to increase the > distance between label and tick mark? > > Apologies if these are FAQs: I've looked everywhere I can think of at the > moment, and am now officially stuck :-) Try increasing the tick.major.pad in your rc settings (and also tick.minor.pad if needed). Darren
Hi all, I apologize for beeing slightly off-topic with this question, but I couldn't think about a better place to ask :-/ Consider two vectors x1 and y1. Using matplotlib, plot(x1,y1) will display the line joining all points whose coordinates are (x1(i),y1(i)) Now, consider another couple of vectors x2 and y2. Using plot(x1,y1,x2,y2) we are shown the 2 lines corresponding to (x1,y1) and (x2,y2), and we can compare these two lines with the naked eye My question is, how to do this quantitatively ? Is there a way of calculating the difference between the two sets of points, and then plot this difference, using matplotlib ? I mean, if the data was generated using a fixed grid, it would be enough to plot (y2-y1) but with an adaptative grid, x1 and x2 differ. Do you know about a quick & dirty way to achieve this ? Thanks in advance, cheers, Nicolas
Hi all, I've a stubborn problem with labels near the origin of my pylab plots, where the lowest tick label on the y-axis ends up touching the leftmost tick label on the x-axis. Now, I can certainly tweak these manually with xticks and yticks, but is there any automatic way to make this happen? More generally, is there a way to specify "breathing room" distance between the first/last tick mark and the beginning/end of the axis? Or to increase the distance between label and tick mark? Apologies if these are FAQs: I've looked everywhere I can think of at the moment, and am now officially stuck :-) Cheers, Mike Sipior
Hi Benjamin, Sorry but your code is still dependent on twisted: Traceback (most recent call last): File "client.py", line 2, in ? from modules import mainwindow File "C:\Dev\BoaTest04\Benjamin\mat_test\modules\mainwindow.py", line=20 2, in ? from twisted.internet import wxreactor ImportError: No module named twisted.internet I don't have the time/nor interest (at least not at the moment) to get=20 twisted installed on my machine. You should try to isolate your problem and part of that is probably to=20 get your matplotlib stuff NOT be dependent on a twisted feed, get the=20 data from a file or even just hard code it. Tsch=FCss und vieli gr=FCss us em S=FCd Frankreich Werner Benjamin Schindler wrote: >Oh- I forgot > >You don't need to execute the server - just launch client.py (I haven't >stripped everything off)=20 > >-----Urspr=FCngliche Nachricht----- >Von: mat...@li... >[mailto:mat...@li...] Im Auftrag von Wer= ner >F. Bruhin >Gesendet: Montag, 29. August 2005 14:25 >An: mat...@li... >Betreff: [Matplotlib-users] Re: AW: AW: Line2D and wx Backend > >Hi, > >Could you provide a sample showing the problem which is not depended on=20 > twisted? > >See you >Werner > >Benjamin Schindler wrote: > =20 > >>I have been able to trace down my problem a little - but it's not solve= d >>yet. >>I've added a self.axes.plot([0,1],[0,1]) when I'm adding a line to >>self.axes. The first time I'm adding a line, I just see the 0,1 line. T= he >>second time, I see the lines I want to see. However, the grid doesn't >> =20 >> >scale > =20 > >>(so the lines keep updating in an area that's not visible anymore. >>Any ideas? >> >>-----Urspr=FCngliche Nachricht----- >>Von: mat...@li... >>[mailto:mat...@li...] Im Auftrag von >>Benjamin Schindler >>Gesendet: Freitag, 26. August 2005 09:04 >>An: 'Ken McIvor' >>Cc: mat...@li... >>Betreff: AW: AW: [Matplotlib-users] Line2D and wx Backend >> >>I was simply trying out the hint you gave me. I didn't expect it to sol= ve >> =20 >> >my > =20 > >>problem, but I tried anyway.=20 >>I found it to be the easiest thing I can do just to send it my code. It= 's >>not _that_ complex, though you need twisted installed (I don't know >> =20 >> >whether > =20 > >>it'll work with 1.3 - I'm working with 2.0) and you'll need wxpython 2.= 6 >>(I'm using features only present in 2.6) >>My Attachement is a zip-file. I figured that the outgoing mailserver >> =20 >> >blocks > =20 > >>mail witz zip attachements :-/. First start server.py (in root-dir) - i= t >>will generate the data, then start the client. In the sidebar (once the >>client connected to the server) you can select/deselect sources. My ide= a >> =20 >> >is, > =20 > >>that data collection just goes on, and If I select a source, It display= s >> =20 >> >me > =20 > >>all the data currently collected. >>The code that has to do with the matplotlib stuff is located in >>plugins/wx/monitor.py. Receive(self, data, source) is the retreival >> =20 >> >function > =20 > >>and EnableSource is supposed to enable drawing of a particular >> =20 >> >data-source. > =20 > >>Sorry for not doing a very simple testcase - but I think the code in >>monitor.py is simple enough =20 >> >>-----Urspr=FCngliche Nachricht----- >>Von: Ken McIvor [mailto:km...@gm...]=20 >>Gesendet: Donnerstag, 25. August 2005 17:12 >>An: Schindler Benjamin >>Cc: mat...@li... >>Betreff: Re: AW: [Matplotlib-users] Line2D and wx Backend >> >>On Aug 25, 2005, at 10:02 AM, Schindler Benjamin wrote: >> >> =20 >> >>>Since I have to leave from here I cannot yet produce a sample app that= =20 >>>would show this behaviour. >>> =20 >>> >>It doesn't have to be anything complex, just the bare functionality of=20 >>whatever you're working on. I'll be happy to take a look at it=20 >>tomorrow. >> >> >> =20 >> >>>However, I tried to have a non-empty list at the beginning. I replaced= =20 >>>Line2D([],[]) with Line2D([1,2],[1,2]) just for the sake of trying -=20 >>>with no luck apparently. >>> =20 >>> >>I'm sorry if I gave you the impression that that was the problem...=20 >>it's a potential problem, but I didn't mean to suggest that it's why=20 >>your plot isn't being draw. >> >>Ken >> >> >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle >> =20 >> >Practices > =20 > >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf >> =20 >> > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practi= ces >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & = QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5s= f >_______________________________________________ >Matplotlib-users mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > =20 >
Oh- I forgot You don't need to execute the server - just launch client.py (I haven't stripped everything off)=20 -----Urspr=FCngliche Nachricht----- Von: mat...@li... [mailto:mat...@li...] Im Auftrag von = Werner F. Bruhin Gesendet: Montag, 29. August 2005 14:25 An: mat...@li... Betreff: [Matplotlib-users] Re: AW: AW: Line2D and wx Backend Hi, Could you provide a sample showing the problem which is not depended on=20 twisted? See you Werner Benjamin Schindler wrote: > I have been able to trace down my problem a little - but it's not = solved > yet. > I've added a self.axes.plot([0,1],[0,1]) when I'm adding a line to > self.axes. The first time I'm adding a line, I just see the 0,1 line. = The > second time, I see the lines I want to see. However, the grid doesn't scale > (so the lines keep updating in an area that's not visible anymore. > Any ideas? >=20 > -----Urspr=FCngliche Nachricht----- > Von: mat...@li... > [mailto:mat...@li...] Im Auftrag von > Benjamin Schindler > Gesendet: Freitag, 26. August 2005 09:04 > An: 'Ken McIvor' > Cc: mat...@li... > Betreff: AW: AW: [Matplotlib-users] Line2D and wx Backend >=20 > I was simply trying out the hint you gave me. I didn't expect it to = solve my > problem, but I tried anyway.=20 > I found it to be the easiest thing I can do just to send it my code. = It's > not _that_ complex, though you need twisted installed (I don't know whether > it'll work with 1.3 - I'm working with 2.0) and you'll need wxpython = 2.6 > (I'm using features only present in 2.6) > My Attachement is a zip-file. I figured that the outgoing mailserver blocks > mail witz zip attachements :-/. First start server.py (in root-dir) - = it > will generate the data, then start the client. In the sidebar (once = the > client connected to the server) you can select/deselect sources. My = idea is, > that data collection just goes on, and If I select a source, It = displays me > all the data currently collected. > The code that has to do with the matplotlib stuff is located in > plugins/wx/monitor.py. Receive(self, data, source) is the retreival function > and EnableSource is supposed to enable drawing of a particular data-source. >=20 > Sorry for not doing a very simple testcase - but I think the code in > monitor.py is simple enough =20 >=20 > -----Urspr=FCngliche Nachricht----- > Von: Ken McIvor [mailto:km...@gm...]=20 > Gesendet: Donnerstag, 25. August 2005 17:12 > An: Schindler Benjamin > Cc: mat...@li... > Betreff: Re: AW: [Matplotlib-users] Line2D and wx Backend >=20 > On Aug 25, 2005, at 10:02 AM, Schindler Benjamin wrote: >=20 >>Since I have to leave from here I cannot yet produce a sample app that = >>would show this behaviour. >=20 >=20 > It doesn't have to be anything complex, just the bare functionality of = > whatever you're working on. I'll be happy to take a look at it=20 > tomorrow. >=20 >=20 >>However, I tried to have a non-empty list at the beginning. I replaced = >>Line2D([],[]) with Line2D([1,2],[1,2]) just for the sake of trying -=20 >>with no luck apparently. >=20 >=20 > I'm sorry if I gave you the impression that that was the problem...=20 > it's a potential problem, but I didn't mean to suggest that it's why=20 > your plot isn't being draw. >=20 > Ken >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing = & QA > Security * Process Improvement & Measurement * = http://www.sqe.com/bsce5sf ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle = Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & = QA Security * Process Improvement & Measurement * = http://www.sqe.com/bsce5sf _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Hi Sortof, but not really. I've just discovered something reeeally = interesting. I've produced a sample app that exhibits this behaviour. However, = monitor.py (in plugins/wx) still depends on twisted.spread.pb. If I comment out = that import, it all runs fine. (you can add data with the a button and the = slider in the left pane) It's hard for me guess who is causing the troubles - whether it's = matplotlib not beeing able to handle the twisted threading or twisted breaking matplotlib - I don't know -----Urspr=FCngliche Nachricht----- Von: mat...@li... [mailto:mat...@li...] Im Auftrag von = Werner F. Bruhin Gesendet: Montag, 29. August 2005 14:25 An: mat...@li... Betreff: [Matplotlib-users] Re: AW: AW: Line2D and wx Backend Hi, Could you provide a sample showing the problem which is not depended on=20 twisted? See you Werner Benjamin Schindler wrote: > I have been able to trace down my problem a little - but it's not = solved > yet. > I've added a self.axes.plot([0,1],[0,1]) when I'm adding a line to > self.axes. The first time I'm adding a line, I just see the 0,1 line. = The > second time, I see the lines I want to see. However, the grid doesn't scale > (so the lines keep updating in an area that's not visible anymore. > Any ideas? >=20 > -----Urspr=FCngliche Nachricht----- > Von: mat...@li... > [mailto:mat...@li...] Im Auftrag von > Benjamin Schindler > Gesendet: Freitag, 26. August 2005 09:04 > An: 'Ken McIvor' > Cc: mat...@li... > Betreff: AW: AW: [Matplotlib-users] Line2D and wx Backend >=20 > I was simply trying out the hint you gave me. I didn't expect it to = solve my > problem, but I tried anyway.=20 > I found it to be the easiest thing I can do just to send it my code. = It's > not _that_ complex, though you need twisted installed (I don't know whether > it'll work with 1.3 - I'm working with 2.0) and you'll need wxpython = 2.6 > (I'm using features only present in 2.6) > My Attachement is a zip-file. I figured that the outgoing mailserver blocks > mail witz zip attachements :-/. First start server.py (in root-dir) - = it > will generate the data, then start the client. In the sidebar (once = the > client connected to the server) you can select/deselect sources. My = idea is, > that data collection just goes on, and If I select a source, It = displays me > all the data currently collected. > The code that has to do with the matplotlib stuff is located in > plugins/wx/monitor.py. Receive(self, data, source) is the retreival function > and EnableSource is supposed to enable drawing of a particular data-source. >=20 > Sorry for not doing a very simple testcase - but I think the code in > monitor.py is simple enough =20 >=20 > -----Urspr=FCngliche Nachricht----- > Von: Ken McIvor [mailto:km...@gm...]=20 > Gesendet: Donnerstag, 25. August 2005 17:12 > An: Schindler Benjamin > Cc: mat...@li... > Betreff: Re: AW: [Matplotlib-users] Line2D and wx Backend >=20 > On Aug 25, 2005, at 10:02 AM, Schindler Benjamin wrote: >=20 >>Since I have to leave from here I cannot yet produce a sample app that = >>would show this behaviour. >=20 >=20 > It doesn't have to be anything complex, just the bare functionality of = > whatever you're working on. I'll be happy to take a look at it=20 > tomorrow. >=20 >=20 >>However, I tried to have a non-empty list at the beginning. I replaced = >>Line2D([],[]) with Line2D([1,2],[1,2]) just for the sake of trying -=20 >>with no luck apparently. >=20 >=20 > I'm sorry if I gave you the impression that that was the problem...=20 > it's a potential problem, but I didn't mean to suggest that it's why=20 > your plot isn't being draw. >=20 > Ken >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing = & QA > Security * Process Improvement & Measurement * = http://www.sqe.com/bsce5sf ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle = Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & = QA Security * Process Improvement & Measurement * = http://www.sqe.com/bsce5sf _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Hi, Could you provide a sample showing the problem which is not depended on twisted? See you Werner Benjamin Schindler wrote: > I have been able to trace down my problem a little - but it's not solved > yet. > I've added a self.axes.plot([0,1],[0,1]) when I'm adding a line to > self.axes. The first time I'm adding a line, I just see the 0,1 line. The > second time, I see the lines I want to see. However, the grid doesn't scale > (so the lines keep updating in an area that's not visible anymore. > Any ideas? > > -----Ursprüngliche Nachricht----- > Von: mat...@li... > [mailto:mat...@li...] Im Auftrag von > Benjamin Schindler > Gesendet: Freitag, 26. August 2005 09:04 > An: 'Ken McIvor' > Cc: mat...@li... > Betreff: AW: AW: [Matplotlib-users] Line2D and wx Backend > > I was simply trying out the hint you gave me. I didn't expect it to solve my > problem, but I tried anyway. > I found it to be the easiest thing I can do just to send it my code. It's > not _that_ complex, though you need twisted installed (I don't know whether > it'll work with 1.3 - I'm working with 2.0) and you'll need wxpython 2.6 > (I'm using features only present in 2.6) > My Attachement is a zip-file. I figured that the outgoing mailserver blocks > mail witz zip attachements :-/. First start server.py (in root-dir) - it > will generate the data, then start the client. In the sidebar (once the > client connected to the server) you can select/deselect sources. My idea is, > that data collection just goes on, and If I select a source, It displays me > all the data currently collected. > The code that has to do with the matplotlib stuff is located in > plugins/wx/monitor.py. Receive(self, data, source) is the retreival function > and EnableSource is supposed to enable drawing of a particular data-source. > > Sorry for not doing a very simple testcase - but I think the code in > monitor.py is simple enough > > -----Ursprüngliche Nachricht----- > Von: Ken McIvor [mailto:km...@gm...] > Gesendet: Donnerstag, 25. August 2005 17:12 > An: Schindler Benjamin > Cc: mat...@li... > Betreff: Re: AW: [Matplotlib-users] Line2D and wx Backend > > On Aug 25, 2005, at 10:02 AM, Schindler Benjamin wrote: > >>Since I have to leave from here I cannot yet produce a sample app that >>would show this behaviour. > > > It doesn't have to be anything complex, just the bare functionality of > whatever you're working on. I'll be happy to take a look at it > tomorrow. > > >>However, I tried to have a non-empty list at the beginning. I replaced >>Line2D([],[]) with Line2D([1,2],[1,2]) just for the sake of trying - >>with no luck apparently. > > > I'm sorry if I gave you the impression that that was the problem... > it's a potential problem, but I didn't mean to suggest that it's why > your plot isn't being draw. > > Ken > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
I have been able to trace down my problem a little - but it's not solved yet. I've added a self.axes.plot([0,1],[0,1]) when I'm adding a line to self.axes. The first time I'm adding a line, I just see the 0,1 line. = The second time, I see the lines I want to see. However, the grid doesn't = scale (so the lines keep updating in an area that's not visible anymore. Any ideas? -----Urspr=FCngliche Nachricht----- Von: mat...@li... [mailto:mat...@li...] Im Auftrag von Benjamin Schindler Gesendet: Freitag, 26. August 2005 09:04 An: 'Ken McIvor' Cc: mat...@li... Betreff: AW: AW: [Matplotlib-users] Line2D and wx Backend I was simply trying out the hint you gave me. I didn't expect it to = solve my problem, but I tried anyway.=20 I found it to be the easiest thing I can do just to send it my code. = It's not _that_ complex, though you need twisted installed (I don't know = whether it'll work with 1.3 - I'm working with 2.0) and you'll need wxpython 2.6 (I'm using features only present in 2.6) My Attachement is a zip-file. I figured that the outgoing mailserver = blocks mail witz zip attachements :-/. First start server.py (in root-dir) - it will generate the data, then start the client. In the sidebar (once the client connected to the server) you can select/deselect sources. My idea = is, that data collection just goes on, and If I select a source, It displays = me all the data currently collected. The code that has to do with the matplotlib stuff is located in plugins/wx/monitor.py. Receive(self, data, source) is the retreival = function and EnableSource is supposed to enable drawing of a particular = data-source. Sorry for not doing a very simple testcase - but I think the code in monitor.py is simple enough =20 -----Urspr=FCngliche Nachricht----- Von: Ken McIvor [mailto:km...@gm...]=20 Gesendet: Donnerstag, 25. August 2005 17:12 An: Schindler Benjamin Cc: mat...@li... Betreff: Re: AW: [Matplotlib-users] Line2D and wx Backend On Aug 25, 2005, at 10:02 AM, Schindler Benjamin wrote: > Since I have to leave from here I cannot yet produce a sample app that = > would show this behaviour. It doesn't have to be anything complex, just the bare functionality of=20 whatever you're working on. I'll be happy to take a look at it=20 tomorrow. > However, I tried to have a non-empty list at the beginning. I replaced = > Line2D([],[]) with Line2D([1,2],[1,2]) just for the sake of trying -=20 > with no luck apparently. I'm sorry if I gave you the impression that that was the problem...=20 it's a potential problem, but I didn't mean to suggest that it's why=20 your plot isn't being draw. Ken