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
(47) |
2
(13) |
3
(12) |
4
(16) |
5
(3) |
6
(6) |
7
(20) |
8
(45) |
9
(24) |
10
(30) |
11
(14) |
12
(4) |
13
(1) |
14
(6) |
15
(6) |
16
(10) |
17
(15) |
18
(13) |
19
(4) |
20
|
21
(14) |
22
(13) |
23
(9) |
24
(19) |
25
(24) |
26
|
27
(4) |
28
(20) |
29
(17) |
30
(7) |
|
|
|
On 06/15/2010 08:02 AM, Eliot Glairon wrote: > Hello. Through accident, I found that running the following script will freeze the computer. On my computer, the mouse still worked, but everything else still froze. I have minimalized the code and attached the script for your convienence: > > import matplotlib > matplotlib.use('TkAgg') > import matplotlib.pyplot as plt > import Tkinter > from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2TkAgg > from matplotlib.figure import Figure > class simpleapp_tk(Tkinter.Tk):#initialize > def __init__(self,parent): > Tkinter.Tk.__init__(self,parent) > self.grid() > self.figure = Figure(figsize=(5,4), dpi=100) > canvas = FigureCanvasTkAgg(self.figure, master=self) > canvas.show() > canvas.get_tk_widget().grid(row=0,column=0) > toolbar = NavigationToolbar2TkAgg( canvas, self ) > > if __name__ == "__main__": > app = simpleapp_tk(None) > app.title('Freezing computer...') > app.mainloop() > > I am running this on linux, YYY is my computer's name (confidential) > XXX@YYY:~$ uname -a > Linux YYY 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux > > I obtained my version from the linux repositories. > > Mail me back if you fixed this bug or have any questions at ej...@ya.... I am not sure there is anything matplotlib can do about this. You can get into trouble mixing the packer (which matplotlib uses) with the grid manager even with straight Tkinter. An example is attached. It doesn't freeze X like your example, but it does sit in an endless loop. In your example, I find that using ctrl-alt-F2 I can get to a console, but from there I haven't found any solution better than rebooting. Killing X should be an alternative, but it not as simple or obvious as it used to be. (I am also using ubuntu 10.04, but I run mpl from svn.) Eric
Stephane, First off, you probably do not want to use a surface plot. Rather, pcolor might be more appropriate. In addition, if you can take the azimuth-range coordinates and convert that into x-y coordinates, you can then plot a pcolor using just that. The code would look something like so (assuming some function polar2xy exists): # azimuth, r, vals, x, and y are all the same shape x, y = polar2xy(azimuth, r) plt.pcolor(x, y, vals) plt.show() Once that is working sufficiently, then you will have to modify the code a bit to specify the colormap. I hope that gets you started. Ben Root On Tue, Jun 15, 2010 at 10:17 AM, Stephane GONAUER < ste...@so...> wrote: > Hi, > > > > After reading documentations and the matplotlib example I haven’t found a > way to graph the plot I want. > > > > I am trying to display a radar video (one turn of the antenna at a time). > As such I need to plot a polar surface in 2D with a colormap indicating the > video intensity. > > > > > > My data input is simply a file where intensity are logged along rho and > theta > > > > The nearest example I found in the documentation is the 3d-surface plot but > I need to have it in 2D > > Can you provide me with some idea/pointers ? > > > > Has it been already tried ? > > > > > > > > Best Regards, > > Stéphane > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
Thanks for the suggestion! The reason my initial attempts failed was because I (erroneously) assumed that the default axis spanned (0, 0), (1, 1). Now I that I know better, I can place an axis for each image in the right place and everything looks fine. However, I'm still interested in knowing how to query the pixel size of the figure, so I can translate normalized axis coordinates to pixel coordinates. -Eamon On Thu, Jun 10, 2010 at 9:40 AM, Benjamin Root <ben...@ou...> wrote: > Actually, You might want to check out axes_grid module in the mpl_toolkits. > After a quick perusal, I think InsetLocator might be what you are looking > for in the axes_grid module. > > http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html > > I hope this helps, > Ben Root > > On Thu, Jun 10, 2010 at 8:54 AM, Eamon Caddigan <eam...@gm...> > wrote: >> >> Actually, since axes are created with normalized coordinates, what I >> really need is a way to query the size of the current figure, in >> pixels. >> >> On Thu, Jun 10, 2010 at 7:43 AM, Eamon Caddigan >> <eam...@gm...> wrote: >> > Thanks Scott. In order to precisely position an image using separate >> > axes, I'd need to be able to query and set the margin between the >> > bounding box and the actual axes. I can't seem to find any way to do >> > that, either. >> > >> > On Thu, Jun 10, 2010 at 1:13 AM, Scott Sinclair >> > <sco...@gm...> wrote: >> >>>On 10 June 2010 07:21, Eamon Caddigan <eam...@gm...> wrote: >> >>> I'd like to draw thumbnails of images on various plots, e.g., a bar >> >>> chart with a picture placed at the base of the bar, or a scatter plot >> >>> with photos next to select points. >> >>> >> >>> Reading and resizing the image aren't an issue. However, I've been >> >>> searching all day, and I can't figure out how to call imshow without >> >>> it taking over the axis in which its drawn. >> >> >> >> You could try using separate axes for your images, as in >> >> >> >> http://matplotlib.sourceforge.net/examples/pylab_examples/axes_demo.html >> >> >> >> Cheers, >> >> Scott >> >>
Hello. Through accident, I found that running the following script will freeze the computer. On my computer, the mouse still worked, but everything else still froze. I have minimalized the code and attached the script for your convienence: import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt import Tkinter from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2TkAgg from matplotlib.figure import Figure class simpleapp_tk(Tkinter.Tk):#initialize def __init__(self,parent): Tkinter.Tk.__init__(self,parent) self.grid() self.figure = Figure(figsize=(5,4), dpi=100) canvas = FigureCanvasTkAgg(self.figure, master=self) canvas.show() canvas.get_tk_widget().grid(row=0,column=0) toolbar = NavigationToolbar2TkAgg( canvas, self ) if __name__ == "__main__": app = simpleapp_tk(None) app.title('Freezing computer...') app.mainloop() I am running this on linux, YYY is my computer's name (confidential) XXX@YYY:~$ uname -a Linux YYY 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux I obtained my version from the linux repositories. Mail me back if you fixed this bug or have any questions at ej...@ya....
Hi, After reading documentations and the matplotlib example I havent found a way to graph the plot I want. I am trying to display a radar video (one turn of the antenna at a time). As such I need to plot a polar surface in 2D with a colormap indicating the video intensity. My data input is simply a file where intensity are logged along rho and theta The nearest example I found in the documentation is the 3d-surface plot but I need to have it in 2D Can you provide me with some idea/pointers ? Has it been already tried ? Best Regards, Stéphane