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
(28) |
2
(11) |
3
(15) |
4
(11) |
5
(13) |
6
(33) |
7
(13) |
8
(9) |
9
(2) |
10
(9) |
11
(27) |
12
(5) |
13
(10) |
14
(6) |
15
(9) |
16
(4) |
17
(2) |
18
(19) |
19
(11) |
20
(9) |
21
(16) |
22
(16) |
23
(5) |
24
(2) |
25
(8) |
26
(2) |
27
(11) |
28
(10) |
29
(5) |
30
(1) |
31
(2) |
|
|
|
|
|
|
Hello, >How can I do this using mpl and wx backend? Do you recommend using >threading or forking plots as separate processes ? None of the above is necessary. Add this to imports: import matplotlib matplotlib.use('WXAgg') import matplotlib.cm as cm from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg from matplotlib.figure import Figure from pylab import * Just instanciate some wx.panel with inside self.sizer = wx.BoxSizer(wx.VERTICAL) fig = Figure() self.figure = FigureCanvasWxAgg(self.widget, -1, fig) self.sizer.Add(self.figure, 1, wx.EXPAND) x1 = array(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 you want to do with your app. Laurent
bump .. On Thu, Jul 31, 2008 at 11:02 AM, signal seeker <see...@gm...>wrote: > Hi, > > I have couple of applications in which I have to generate multiple plots > interactively using the wx backend and wanted to know the best > approach to take for this. I did search the list for previous > discussions on this subject, but the approach to take is still > unfortunately not 100% clear to me. > > The first use case is that I want to be able to "show" plots as soon > as they are ready. The script sits in a loop pulling out data from > different sources, does some transformations and then plots it. Now I > understand the recommended way to call show() when all the plots are > ready. But since there are many many plots and it take some time to > generate one, I would like to show the plot window as soon as it is > ready and furthermore I want all the plot windows to be alive so that > I can go back and forth through them. I tried using pylab.ion(), but > then after the script exits, all the windows disappear along with it. > > The other use case is more like ipython. I have a program to connect > to a database and the user interacts with it using queries. I would > like to add visualization support to it The user should be able to plot > the data as needed and keep all the plot windows alive. > > How can I do this using mpl and wx backend? Do you recommend using > threading or forking plots as separate processes? > > Thanks, > Suchindra >
On Tue, Aug 12, 2008 at 5:16 AM, Zainal Abidin <zai...@gm...> wrote: > I have a trouble when displat a PNG file which generated from matplotlib > here is the script from > http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script > there is no image in the web browser, is there anything wrog with the > script? > please help me, I am a newbie in matplotlib ;) One mistake I see is that you are calling use('Agg') after importing pylab. According to the use docstring: Note: this function must be called *before* importing pylab for the first time; or, if you are not using pylab, it must be called before importing matplotlib.backends. Not sure if this will solve your problem, but it should be fixed. JDH
I have a trouble when displat a PNG file which generated from matplotlib here is the script from http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script there is no image in the web browser, is there anything wrog with the script? please help me, I am a newbie in matplotlib ;) --<start> #!/usr/bin/python import pylab import matplotlib import os,sys import cgi import cgitb cgitb.enable() os.environ['HOME']='/tmp/' matplotlib.use('Agg') form = cgi.FieldStorage() pylab.plot([1,2,3]) print "Content-Type: image/png\n" pylab.savefig(sys.stdout,format='png') --</end> and then here is my computer specification CentOS 5.1 -- Linux localhost.localdomain 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 i386 GNU/Linux python-2.4.3-19.el5 numpy-1.0.3.1-1.el5.kb scipy-0.6.0-6.el5 matplotlib 0.91.4 -- Zainal Abidin, S.Si Sub Bidang Informasi Meteorologi Publik Badan Meteorologi dan Geofisika Jl. Angkasa I No. 2 Jakarta - Indonesia Visit Indonesia Year 2008 - Celebrating 100 Years of National Awakening
On Mon, Aug 11, 2008 at 1:31 PM, Jonathan Helmus <jjh...@gm...> wrote: > [snip] > instance...> which I use to add lines, set limits, etc but it doesn't > have any of the pan functions (start_pan, end_pan, etc). > self.canvas.figure.get_axes() (which is what seems to be used in the > NavigationToolbar2 class) returns the same Subplot instance. Any > suggestions of how to get a axes/Subplot instance which has the pan > functions? Hi Jonathan, On earlier versions of Matplotlib, you can use the NavigationToolbar2 class without actually displaying it (the toolbar) in your program. Instead you can use your custom buttons, keypresses, etc, to tie into the class' methods. We've done that with our app, and it works quite nicely. In fact, you can borrow the bits you need from that class to create your own zoom/pan routines. Cheers, Anthony.