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
(5) |
2
(4) |
|
3
|
4
(9) |
5
(4) |
6
(9) |
7
(13) |
8
(11) |
9
(7) |
|
10
(7) |
11
(22) |
12
(19) |
13
(11) |
14
(20) |
15
(21) |
16
(1) |
|
17
(1) |
18
(8) |
19
(3) |
20
(5) |
21
(5) |
22
(9) |
23
(3) |
|
24
(3) |
25
(14) |
26
(12) |
27
(29) |
28
(18) |
29
(11) |
30
(2) |
|
From: Daniel W. <dan...@ni...> - 2005-04-21 21:37:31
|
Is it currently possible to make contour plots using unstructured data
with matplotlib?
By unstructured data I mean the typical data from a 2D finite element
simulation that
uses an unstructured polygonal mesh.
As far as I can tell the "pylab.contourf(X, Y, Z)" command requires
structured data with X, Y
and Z each having to be 2D gridded arrays.
I have previously used the gist package to do this type of plotting
using the
"gist.plfp(Z, X, Y, F)" command. This command allows plotting of
polygonal data
specified by arrays Z, X, Y, F.
- Z is the data value, shape(Z) = (NPolygons)
- X is the vertex x coordinates, shape(X) = (NPolygons, NVertices).
- Y is vertex y coordinates, shape(Y) = (NPolygons, NVertices)
- F is the number of vertices for each cell, shape(F) = (NPolygons)
Is there a similar functionality in matplotlib?
Thanks
-------------------------------------
Daniel Wheeler
|
|
From: Olive <enc...@ya...> - 2005-04-21 21:03:31
|
On Thu, 21 Apr 2005 08:27:41 -0700 (PDT), Michael Brady <mb...@jp...> wrote : > Hi Olive, > > I've had similar problems on both Solaris 8 and 9. By running python > under truss: > > truss python > > I saw that the "illegal instruction" and core dump was happening in > the freetype libraries. I had built freetype 2.1.9 myself. When I > deleted my own libfreetype.* and instead used the prebuilt versions > /usr/sfw/lib/libfreetype.* my crashes went away. > > (Note that /usr/sfw/lib is the Solaris 9 location. I'm not sure if > it's the Solaris 8 location or not). > > I had built libfreetype.6.3.7 (freetype 2.1.9) and /usr/sfw/lib > contained the earlier version libfreetype.6.3.1 . I don't whether this > is a Solaris-only bug in later versions of freetype, or if the > /usr/sfw/lib versions were built a different way than I built mine. > > Anyway, that's how I solved the problem. > > I would suggest that you try: > > (1) Finding the Sun-supplied libfreetype.so binaries and using those, > or(2) building the version of libfreetype that produces > libfreetype.6.3.1. > > Please let me know how you solve the problem. > > Good luck! > Hello Michael, Like I said I solved temporarily the problem by editing the file ft2font.cpp (from matplotlib !) at line 354 : const char* ps_name = FT_Get_Postscript_Name(face ); I replaced it by : const char* ps_name = NULL; It's just a quick and dirty hack while waiting for a clean patch from either matplotlib or freetype. I still don't know wether it's a bug from matplotlib or freetype, because I don't know what is the argument 'face' and what is inside... I don't understand a thing in C++ so I can't be of much help here... But I was working with freetype 2.1.7, I have also tried with 2.1.9 and I also have a core dumped but no at the same place ! Don't know if my hack could work also with 2.1.9 ? I can test if you're interested. P.S. : I couldn't help noticing your email address, I'm also working on space rockets but in France and also trying to promote matplotlib here ! ;-) |
|
From: Grig G. <gr...@gh...> - 2005-04-21 19:38:45
|
I am trying to scale the y axis like this: a = axes(gca()) a.set_ylim((-1.25, 1.25)) This works fine when yticks is non-empty. However, if I do a.set_yticks([]) either before or after the set_ylim call, the y axis is not scaled. I also tried to use a.yaxis.set_major_locator(NullLocator()) instead of calling set_yticks([]), but to no avail. Any suggestions are appreciated. Grig |
|
From: Michael B. <mb...@jp...> - 2005-04-21 15:27:50
|
Hi Olive, I've had similar problems on both Solaris 8 and 9. By running python under truss: truss python I saw that the "illegal instruction" and core dump was happening in the freetype libraries. I had built freetype 2.1.9 myself. When I deleted my own libfreetype.* and instead used the prebuilt versions /usr/sfw/lib/libfreetype.* my crashes went away. (Note that /usr/sfw/lib is the Solaris 9 location. I'm not sure if it's the Solaris 8 location or not). I had built libfreetype.6.3.7 (freetype 2.1.9) and /usr/sfw/lib contained the earlier version libfreetype.6.3.1 . I don't whether this is a Solaris-only bug in later versions of freetype, or if the /usr/sfw/lib versions were built a different way than I built mine. Anyway, that's how I solved the problem. I would suggest that you try: (1) Finding the Sun-supplied libfreetype.so binaries and using those, or (2) building the version of libfreetype that produces libfreetype.6.3.1. Please let me know how you solve the problem. Good luck! --Michael Brady |
|
From: Pietro S. di F. <pie...@ya...> - 2005-04-21 14:32:20
|
Hello, I have been using Matplotlib lately for some
academic research. It seem to work just fine. The only
serious problem is a problem with memory. When I run
the following code, I get the memory increasing
linearly with the time. Soon (after around 20
generations, and 100 times is this part of the program
called) I get beyond the limits of my laptop, and the
simulation ends. Considering that I need to do at
least 200 generations, you can see that it is a
serious problem.
If I comment the savefig line the memory does not
grow.
I tried to add a garbage collection but I got no
result.
Data is a list of list of data: i.e.
[[1,2,3][2,7,8][32,45,67]]
symbol2color a dictionary that for each list gives a
different color.
def fillstrip(lower,upper,color):
reppu=upper[:]
reppu.reverse()
y=lower+reppu
x1 = range(0, len(lower), 1)
x2 = x1[:]
x2.reverse()
x=x1+x2
fill(x, y, color)
def area(data,color):
"like the area matlab function"
lower=[0]*len(data[0])
for (upper,c) in zip(data,color):
upper=map((lambda x,y:x+y),lower,upper)
fillstrip(lower,upper,c)
lower=upper
def PlotAreaOrganization(data,filename):
keys=symbol2color.keys()
keys.sort()
colors=[]
for key in keys: colors.append(symbol2color[key])
fig=figure(dpi=75)
area(data,colors)
savefig(filename)
close(fig)
Any suggestion? Is there any other way to save a
picture that might work better?
Pietro
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|