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
(14) |
2
(11) |
|
3
(5) |
4
(17) |
5
(11) |
6
(37) |
7
(35) |
8
(9) |
9
(1) |
|
10
(9) |
11
(7) |
12
(22) |
13
(34) |
14
(24) |
15
(27) |
16
(13) |
|
17
(19) |
18
(43) |
19
(36) |
20
(12) |
21
(9) |
22
(21) |
23
(3) |
|
24
(5) |
25
(30) |
26
(14) |
27
(23) |
28
(19) |
29
(19) |
30
(10) |
|
31
(6) |
|
|
|
|
|
|
|
From: Robert K. <rob...@gm...> - 2009-05-23 22:31:29
|
On 2009-05-23 17:17, Eric Carlson wrote: > I should read entire posts before sending people down the wrong > pathways. I just happened to be working on a Python equivalent to MATLAB > "triplot" stuff when I read your subject line and made the wrong > assumptions. That program does just plot the edges, as you noted. > > I have attached a python program, much of which is a translation of a > program I found at M*B central, contributed from the outside. Given a > triangulation, it allows you to interpolate on a regular rectangular > grid (dx=constant, dy=another constant). In your case, it should allow > you to use your original triangulation, and should avoid the convex hull > artifacts of your original griddata plot. I do not know if this new > program will give you a figure that will look as good as your latest > based on John's suggestion or not. delaunay has a linear interpolator implemented in C++ that could be used for this purpose, too. The natural neighbor interpolator is only for Delaunay triangulations, but the linear interpolator should be usable for general triangulations. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
|
From: Eric C. <eca...@en...> - 2009-05-23 22:17:42
|
I should read entire posts before sending people down the wrong pathways. I just happened to be working on a Python equivalent to MATLAB "triplot" stuff when I read your subject line and made the wrong assumptions. That program does just plot the edges, as you noted. I have attached a python program, much of which is a translation of a program I found at M*B central, contributed from the outside. Given a triangulation, it allows you to interpolate on a regular rectangular grid (dx=constant, dy=another constant). In your case, it should allow you to use your original triangulation, and should avoid the convex hull artifacts of your original griddata plot. I do not know if this new program will give you a figure that will look as good as your latest based on John's suggestion or not. Just a few warnings: 1. I use an environment that (like matlab but very unpythonic) imports everything, so the attached may need to import one or two more routines 2. I have only tested with generated data, using triangulations created with delaunay, but it worked okay as long as my random points did not lead to bad triangles. 3. The routines use a lot of loops, so they are relatively slow - should be an ideal program for Cython though. 3. method='linear' uses linear interp,and is very stable. It should not be influenced in any way by convexity. method='quadratic' uses a quadratic method, which does well except in the presence of very thin triangles. I suspect that derivative estimation at the vertices has problems on the edges and may very well be influenced by the convexity. linear on a fine grid will probably look pretty good for you. 4. to get something as nice as the mayavi sample, you will probably need a fine rectangular mesh (maybe 200x200). I tested the tinterp program in octave for a number of problems and found that the quadratic option gave nice results when I did not have functional discontinuities, and when I had good triangulations. I have been meaning to translate this to Python, so thanks for the motivation. At the very least, this program may help you appreciate John's suggestions more. Cheers, Eric Ondrej Certik wrote: >> Ok, I made a progress, it seems it's working. Script and picture > > Forgot to attach the script. > > Ondrej > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Séb <seb...@gm...> - 2009-05-23 18:01:23
|
Hi all,
I have developed a little GTK program which uses Matplotlib to render
plots. Now it is done, I would like to distribute for both Linux and
Windows platforms but, to make things short, I have some troubles to get
matplotlib work with GTK backend on Windows.
Basically, here is what I get when I try to use GTK backend with matplotlib:
>>> import matplotlib
>>> matplotlib.use("GTK")
>>> from pylab import *
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
from pylab import *
File "C:\Python26\lib\site-packages\pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "C:\Python26\lib\site-packages\matplotlib\pylab.py", line 253,
in <module>
from matplotlib.pyplot import *
File "C:\Python26\lib\site-packages\matplotlib\pyplot.py", line 75,
in <module>
new_figure_manager, draw_if_interactive, show = pylab_setup()
File "C:\Python26\lib\site-packages\matplotlib\backends\__init__.py",
line 25, in pylab_setup
globals(),locals(),[backend_name])
File
"C:\Python26\lib\site-packages\matplotlib\backends\backend_gtk.py", line
25, in <module>
from matplotlib.backends.backend_gdk import RendererGDK,
FigureCanvasGDK
File
"C:\Python26\lib\site-packages\matplotlib\backends\backend_gdk.py", line
29, in <module>
from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array
ImportError: No module named _backend_gdk
>>>
Here is my configuration:
Python: 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] (as given by sys.version)
pygtk: 2.12.1
gtk: 2.16.1
matplotlib: 0.98.5.3 (installed using windows installer from sourceforge)
It seems to me that the matplotlib version provided was no built with
GTK support (since there is no _backend_gdk.pyd present), am I right or
did I miss something?
Based on this assumption, I tried to build matplotlib from source...
Everything went just fine until mingw tried to link this nasty
_backend_gdk.pyd.
The following command:
C:\MinGW\bin\gcc.exe -mno-cygwin -shared -s
build\temp.win32-2.6\Release\src\backend_gdk.o
build\temp.win32-2.6\Release\src\_backend_gdk.def -Lwin32_static\lib
-LC:/GTK/bin -LC:/GTK/lib -Lwin32_static\lib -LC:\Python26\libs
-LC:\Python26\PCbuild -lpython26 -lmsvcr90 -o
build\lib.win32-2.6\matplotlib\backends\_backend_gdk.pyd
actually ended in:
build\temp.win32-2.6\Release\src\backend_gdk.o:backend_gdk.c:(.text+0x18d):
undefined reference to `gdk_pixbuf_get_type'
build\temp.win32-2.6\Release\src\backend_gdk.o:backend_gdk.c:(.text+0x19f):
undefined reference to `g_type_check_instance_cast'
build\temp.win32-2.6\Release\src\backend_gdk.o:backend_gdk.c:(.text+0x1a9):
undefined reference to `gdk_pixbuf_get_height'
build\temp.win32-2.6\Release\src\backend_gdk.o:backend_gdk.c:(.text+0x1b4):
undefined reference to `gdk_pixbuf_get_width'
build\temp.win32-2.6\Release\src\backend_gdk.o:backend_gdk.c:(.text+0x1bf):
undefined reference to `gdk_pixbuf_get_has_alpha'
build\temp.win32-2.6\Release\src\backend_gdk.o:backend_gdk.c:(.text+0x1d2):
undefined reference to `gdk_pixbuf_get_pixels'
build\temp.win32-2.6\Release\src\backend_gdk.o:backend_gdk.c:(.text+0x232):
undefined reference to `gdk_pixbuf_get_rowstride'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
I really have no clue on this one... I must have forgotten something but
I don't get what!
Has someone got an idea?
Thanks,
Séb
|