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
(22) |
2
(14) |
3
(3) |
4
(2) |
5
(2) |
6
(3) |
7
(2) |
8
(5) |
9
(19) |
10
(9) |
11
(8) |
12
(4) |
13
(14) |
14
(5) |
15
(4) |
16
(8) |
17
(4) |
18
(5) |
19
(4) |
20
(17) |
21
(14) |
22
(15) |
23
(7) |
24
(6) |
25
|
26
(1) |
27
(4) |
28
(5) |
29
(6) |
30
(8) |
31
(3) |
|
On Wed, 2004年12月22日 at 17:30 -0600, John Hunter wrote: > - 4x image speedups for large images This is a biggie!! Ladies and gentlemen, my impression is that imshow is now at least as fast as, and perhaps faster than, DS9 for astronomical image display. (I'm looking at 1024 square full disk solar images.) Nice job, John. Happy happy to all, Steve
John, Many thanks for the lengthy and thorough explanations on transformations in matplotlib. I am working my way through them and the source files. I am still trying to get my line+triangle example to work; i think it might be flexible in the end, if we want to, e.g., position the head anywhere along the stem, or use different polygons for the head. Your polygon example is certainly flexible for shaping the arrow, but for instance, if i want to draw an 'oriented path' in 2d space, it will become more complicated. I can now position the stem correctly and the head 'almost' correctly using offsets. Here is what i have in my Arrow class: orig, dest = zip( xdata, ydata ) self._x = tuple( xdata ) self._y = tuple( ydata ) self._center = dest # Temporary radius = 4 # Stem self._stem = Line2D( self._x, self._y, **kwargs ) self._stem.set_transform( ax.transData ) # Head self._head = RegularPolygon( tuple(self._center), 3, radius = radius, orientation = angle, **kwargs ) trans = identity_affine() trans.set_offset( tuple( dest ), ax.transData ) self._head.set_transform( trans ) and the draw() method just says: def draw( self, renderer ): # Draw stem and head self._stem.draw( renderer ) self._head.draw( renderer ) You instantiate it, for example, with: ax = axes( [0.1, 0.1, 0.8, 0.8], polar = polar ) ax.set_xlim( [0,10] ) ax.set_ylim( [0,10] ) arr = ax.arrow( [1, 4], [1, 5] ) to draw an arrow from (1,1) to (4,5). There are two things: 1) I know the center of the arrow head isn't right; i'll shift it later 2) The arrow is drawn correctly (even on polar axes) but there is a slight gap between the tip of the stem and the bottom of the head; although the center should coincide with the tip (called 'dest' in the code excerpt). Why isn't the triangle centered where the tip of the stem is? Dominique
> > > John> Thanks very much indeed -- that has me sorted. I'll give > John> imshow a go as well when I get a chance. > > John> I've attached an image of the results to give you an idea > John> what I'm up to. > >Very nice.. what do the colors represent, pray tell? > Nothing too exciting I'm afraid. I've got this object I call an atlas which is a collection of maps. Each map specifies the list of shapes (=countries/states/counties etc) that make up the particular map. Anyway, to produce this picture I just numbered each country according to the order it appears in the list in my 'World' map. This is just a toy I've been using for testing. > Also, in case >you missed the announcement for 0.65, matplotlib now a number of new >colormaps, in addition to the trusty jet. > > autumn bone cool copper flag gray hot hsv jet pink prism spring > summer winter > I did see that -- I'll have to see about making the colour map choice available to everyone (or maybe just check today's date and use spring, summer, autumn, winter as appropriate). John
>>>>> "John" == John Gill <jn...@eu...> writes: John> Thanks very much indeed -- that has me sorted. I'll give John> imshow a go as well when I get a chance. John> I've attached an image of the results to give you an idea John> what I'm up to. Very nice.. what do the colors represent, pray tell? Also, in case you missed the announcement for 0.65, matplotlib now a number of new colormaps, in addition to the trusty jet. autumn bone cool copper flag gray hot hsv jet pink prism spring summer winter John> I can't praise matplotlib highly enough, it has done 90% of John> the hard work in getting a very handy mapping tool together John> in a matter of days. Great - thanks for the encouragement. John> Hope Santa brings you what you deserve. With three kids, why do I get the feeling I won't be on the receiving end of Christmas this year? :-) JDH
>>>>> "John" == John Gill <jn...@eu...> writes: John> I'm having trouble getting the alpha keyword to do anything John> when I use the OO interface (as per gtk embeded example). I'm not sure about the exact status of alpha vis-a-vis alpha - perhaps Steve can clarify. a gdk.Color does not have and alpha channel, nor does a gdk.GC, but a gdk.Pixbuf does. Basically, alpha is (mostly) unsupported on the GTK backend (you can do alpha blending of images because antigrain handles images across backends). But you should probably be using the gtkagg backend, which has alpha support for all plot elements, and does a better job of anti-aliasing. In some measurements, eg animation, it is a little slower than the pure GTK backend, so you may want to do a little profiling. It will probably be faster than GTK for large collections, perhaps 2x or so, since it does the collection drawing in extension code and the other backends have a python implementation. John> Aside from this, I'd just like to say what a great package John> matplotlib is. I've been using it a lot the last week to John> plot maps -- first I started using pcolor to plot hurricane John> footprints (I'll see if I can get the OK to release some of John> the plots, pcolor produced some wonderful pictures with a John> few lines of code). if/when you have regularly spaced grids, imshow will likely be an order of magnitude faster than pcolor for large data sets, so keep it in mind.... John> Inspired by this I've also been plotting simple maps by John> creating collections of polygons (eg one polygon for each John> country in the world) + associating a value with each John> polygon. Again, great pictures in a few lines of code + John> using the collections the speed is pretty good, even with John> 3000+ polygons it was all pretty snappy. John> I'll see if I can get an example together -- to do this I'll John> need to get some un-restricted shape files, but I'll see John> what I can do. That would be great - I'll keep my eyes peeled... JDH
I'm having trouble getting the alpha keyword to do anything when I use the OO interface (as per gtk embeded example). The attached code demonstrates the problem. With matlab_test() I get alpha blending as expected, with the gtk_embed_test() it seems to be ignored. Aside from this, I'd just like to say what a great package matplotlib is. I've been using it a lot the last week to plot maps -- first I started using pcolor to plot hurricane footprints (I'll see if I can get the OK to release some of the plots, pcolor produced some wonderful pictures with a few lines of code). Inspired by this I've also been plotting simple maps by creating collections of polygons (eg one polygon for each country in the world) + associating a value with each polygon. Again, great pictures in a few lines of code + using the collections the speed is pretty good, even with 3000+ polygons it was all pretty snappy. I'll see if I can get an example together -- to do this I'll need to get some un-restricted shape files, but I'll see what I can do. Many thanks for matplotlib. John