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
(12) |
2
(15) |
3
(4) |
4
|
5
(1) |
6
(13) |
7
(8) |
8
(16) |
9
(10) |
10
(6) |
11
(11) |
12
(20) |
13
(8) |
14
(12) |
15
(10) |
16
(12) |
17
(6) |
18
(7) |
19
(18) |
20
(5) |
21
(9) |
22
|
23
(6) |
24
(3) |
25
|
26
(2) |
27
(26) |
28
(11) |
29
(9) |
30
(21) |
|
SGkgSm9obiwKCj4gWW91IHNob3VsZCB0aGVuIHRyeSB0aGUgc3ZuIHZlcnNpb24gb2YgbXBsIG9y IHRyeSB0aGUgYWxwaGEgdHJpY2sgSQo+IHN1Z2dlc3RlZC4KCllvdSBtZWFuIGxpa2UgdGhpcz8K CiMgQ09ERQpmcm9tIHB5bGFiIGltcG9ydCAqCnggPSByYW5nZSgxMCkKZmlnID0gZmlndXJlKDEs IGZhY2Vjb2xvcj0ncicpCmZpZy5mcmFtZW9uID0gRmFsc2UKZmlnLmZpZ3VyZVBhdGNoLnNldF9h bHBoYSgwLjApCnNjYXR0ZXIoeCwgeCkKc2F2ZWZpZygnZmlndXJlLnBuZycpCiMgL0NPREUKCkkn dmUgZ290IHRoZSBzYW1lIHJlc3VsdHMuCgpPaywgc28gd2hhdCBkbyBJIG5lZWQgdG8gZG8gdG8g bWFrZSB0aGUgc3VidmVyc2lvbiB0cnVuayB3b3JrPyBKdXN0CmNoZWNrIG91dCAvdHJ1bmsvbWF0 cGxvdGxpYi9saWIgYW5kIHB1dCBpdCBpbiBteSBQWVRIT05fUEFUSCBvciBpcwp0aGVyZSBzb21l dGhpbmcgZWxzZSBJIG5lZWQgdG8gZG8/CgpSZWdhcmRzLAotLSAKUGV0YXIgTWFyacSHCiplLW1h aWw6IHBldGFyLm1hcmljQGdtYWlsLmNvbQoqbW9iaWxlOiArMzgxICg2NCkgNjEyMjQ2NwoKKmlj cTogMjI0NzIwMzIyCipza3lwZTogcGV0YXJfbWFyaWMKKndlYjogaHR0cDovL3d3dy5wZXRhcm1h cmljLmNvbS8K
>>>>> "Petar" =3D=3D Petar Mari=A7 <pet...@gm...> writes: Petar> Hi John, Unfortunately, that also didn't do what I wanted. Petar> I tried a different backend today - Cairo, and got the same Petar> results You should then try the svn version of mpl or try the alpha trick I suggested. JDH
SGkgSm9obiwKClVuZm9ydHVuYXRlbHksIHRoYXQgYWxzbyBkaWRuJ3QgZG8gd2hhdCBJIHdhbnRl ZC4KSSB0cmllZCBhIGRpZmZlcmVudCBiYWNrZW5kIHRvZGF5IC0gQ2Fpcm8sIGFuZCBnb3QgdGhl IHNhbWUgcmVzdWx0cwoKQ29kZToKZnJvbSBweWxhYiBpbXBvcnQgKgp4ID0gcmFuZ2UoMTApCmZp ZyA9IGZpZ3VyZSgxLCBmYWNlY29sb3I9J3InKQpmaWcuZnJhbWVvbiA9IEZhbHNlCnNjYXR0ZXIo eCwgeCkKc2hvdygpCgpSZXN1bHRzIChnaXZlbiBpbiBhdHRhY2htZW50KSBhcmUgdGhlIHByZXR0 eSBzYW1lIHBpY3R1cmUsIGJ1dCB3aXRob3V0CnRoZSByZWQuIEkganVzdCB3YW50IHRoZSBwaWN0 dXJlIHRvIHRha2UgYWxsIHRoZSBzcGFjZSB0aWxsIHRoZSBheGlzCihJJ2xsIHR1cm4gdGhlbSBv ZmYgaW4gcHJvZHVjdGlvbiwgYnV0IHdoZW4gdGhleSdyZSB0dXJuZWQgb24geW91IGdldAp0aGUg cGljdHVyZSBvZiB3aGF0J3Mgd3JvbmcpLCBzbyB0aGVyZSdzIG5vIChub3QgZXZlbiBhIHB4KSB3 aGl0ZQpzcGFjZSBhcnJvdW5kIHRoZSBheGVzLgoKSWYgeW91IGxvb2sgdGhlIHBpY3R1cmUgaW4g YW4gdmlld2VyLCB6b29tIGl0IG91dCBhbmQgc2V0IHRoZQpiYWNrZ3JvdW5kIHRvIGJsYWNrIHlv dSdsbCBwcmV0dHkgbXVjaCBzZWUgdGhlIHdoaXRlIGFyZSBhcnJvdW5kIHRoZQpheGVzLiBJJ2xk IGxpa2UgdG8gZ2V0IHJpZCBvZiB0aGF0LCB0aGF0J3MgaWYgdGhhdCdzIHBvc3NpYmxlLgoKUmVn YXJkcywKLS0gClBldGFyIE1hcmnEhwoqZS1tYWlsOiBwZXRhci5tYXJpY0BnbWFpbC5jb20KKm1v YmlsZTogKzM4MSAoNjQpIDYxMjI0NjcKCippY3E6IDIyNDcyMDMyMgoqc2t5cGU6IHBldGFyX21h cmljCip3ZWI6IGh0dHA6Ly93d3cucGV0YXJtYXJpYy5jb20vCg==
On 2006年6月30日, James Carroll apparently wrote:=20 > I gave PyInstaller a try, and it seemed to be smart and easy at first, an= d=20 > created a single exe that was just 8MB. The problem is that=20 > when I run the exe, It gives me the following errors before it=20 > crashes:=20 > - Fatal Error: MSVCR71.DLL!=20 > - Fatal Error: colud not be extracted.=20 http://pyinstaller.hpcf.upr.edu/cgi-bin/trac.cgi/ticket/36 hth, Alan Isaac
> Understood. But do not overlook that PyInstaller is really > the current life of Gordon McMillan's Python Installer, > so it really is not a new kid on the block. I gave PyInstaller a try, and it seemed to be smart and easy at first, and created a single exe that was just 8MB. The problem is that when I run the exe, It gives me the following errors before it crashes: - Fatal Error: MSVCR71.DLL! - Fatal Error: colud not be extracted. - Fatal Error: Error loading Python DLL - a message box pointing to python24.dll in a temp dir. - Fatal Error: - "Please tell microsoft about this problem." [Don't send] moving msvcr71.dll and python24.dll to the same directory didn't change anything. I'll put some more time into trying it, but my first impression isn't good. Meanwhile, I've removed numarray entirely from the project, and am using matplotlib.rcParams['numerix'] = 'numpy' and py2exe + nsis is working pretty well. I have a working single executable that is 12MB, but it takes about 18 seconds to decompress & run. If I turn off the NSIS lzw compression, then it it is a 46MB executable, and runs in about 12 seconds. I might be trying to create my own C++ wxWidgets top level application and embed wxPython & matplot lib in that. (has anyone ever had luck doing this?) Thanks, -Jim
>>>>> "Zhang" == Zhang Le <zha...@gm...> writes: Zhang> Hi, I'm trying to plot a set of points using given RGB Zhang> tuples as color: plot([0.5],[0.5], '.', markersize=50, Zhang> color=(0.5,0.5,0.5)) there is no error but the point I got Zhang> is still blue. Any tips? markers and lines have different property names. plot([0.5],[0.5], '.', markersize=50, markerfacecolor=(0.5,0.5,0.5)) the properties that control markers are markerfacecolor, markeredgecolor and markeredgewidth, with abbreviations mfc, mec and mew. JDH
Hi, I'm trying to plot a set of points using given RGB tuples as color: plot([0.5],[0.5], '.', markersize=50, color=(0.5,0.5,0.5)) there is no error but the point I got is still blue. Any tips? Zhang Le
>>>>> "Petar" =3D=3D Petar Mari=A7 <pet...@gm...> writes: Petar> Hi John, >> Does fig =3D figure(frameon=3DFalse) do what you want? Petar> Apperently not: >>>> from pylab import * x =3D range(10) figure(1, frameon=3DFalse, >>>> facecolor=3D'r') scatter(x, x) show() I found the problem in the figure code and fixed it in svn. If you don't have access to svn, you can manually set the attribute like fig =3D figure(1, facecolor=3D'r') fig.frameon =3D False If you have a backend that supports alpha, however, I would recommend explicitly setting the alpha channel of the figure rectangle over this approach fig.figurePatch.set_alpha(0.0) JDH
SGkgSm9obiwKCj4gRG9lcwo+ICAgZmlnID0gZmlndXJlKGZyYW1lb249RmFsc2UpCj4gZG8gd2hh dCB5b3Ugd2FudD8KCkFwcGVyZW50bHkgbm90Ogo+Pj4gZnJvbSBweWxhYiBpbXBvcnQgKgo+Pj4g eCA9IHJhbmdlKDEwKQo+Pj4gZmlndXJlKDEsIGZyYW1lb249RmFsc2UsIGZhY2Vjb2xvcj0ncicp Cj4+PiBzY2F0dGVyKHgsIHgpCj4+PiBzaG93KCkKClByb2R1Y2VzIHRoZSBwaWN0dXJlIGdpdmVu IGluIGF0dGFjaG1lbnQuIEkganVzdCB3YW50IHRvIGdldCByaWQgb2YKdGhlIGRhbW4gcmVkIGFy ZWEgOikgU28gbXkgZ3JhcGggd2lsbCB0YWtldXAgdGhlIHdob2xlIHNwYWNlIG9uIHRoZQp2aWV3 cG9ydC4KClBTOiBJZiBpdCdzIGFueSBnb29kIHRvIHlvdSBJJ20gcGxhbm5pbmcgdG8gdXNlIGl0 IHdpdGggTmV0d29ya1ggLQpodHRwczovL25ldHdvcmt4LmxhbmwuZ292LwoKVElBIQotLSAKUGV0 YXIgTWFyacSHCiplLW1haWw6IHBldGFyLm1hcmljQGdtYWlsLmNvbQoqbW9iaWxlOiArMzgxICg2 NCkgNjEyMjQ2NwoKKmljcTogMjI0NzIwMzIyCipza3lwZTogcGV0YXJfbWFyaWMKKndlYjogaHR0 cDovL3d3dy5wZXRhcm1hcmljLmNvbS8K
I downlaoded matplotlib-0.87.3.tar.gz from sourceforge and am attempting to compile/install it on a RedHat linux installation source. When I run setup I get the following error. $: python setup.py build Traceback (most recent call last): File "setup.py", line 63, in ? from setupext import build_agg, build_gtkagg, build_tkagg, build_wxagg,\ File "setupext.py", line 118, in ? win32_compiler = get_win32_compiler() File "setupext.py", line 115, in get_win32_compiler if 'mingw32' in v: TypeError: 'in <string>' requires character as left operand I'm runing python 2.2.3. libpng, zlib, freetype, and Numeric are all installed. Any suggestions are greatly appreciated. ------------------------------------------------------------------------ ------------------------- ------------------------- CONFIDENTIALITY AND SECURITY NOTICE The contents of this message and any attachments may be privileged, confidential and proprietary and also may be covered by the Electronic Communications Privacy Act. If you are not an intended recipient, please inform the sender of the transmission error and delete this message immediately without reading, disseminating, distributing or copying the contents. Citadel makes no assurances that this e-mail and any attachments are free of viruses and other harmful code.
>>>>> "Nils" == Nils Wagner <nw...@ia...> writes: >> Thanks for the report Nils, fixed in svn. OK, and this time I actually tested :-) JDH
John Hunter wrote: >>>>>> "Nils" == Nils Wagner <nw...@ia...> writes: >>>>>> > > Nils> I am using the latest svn version of mpl Traceback (most > Nils> recent call last): File > Nils> "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > Nils> line 1562, in zoom widgets.release(self) AttributeError: > Nils> 'module' object has no attribute 'release' > > Thanks for the report Nils, fixed in svn. > > JDH > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > Hi John, Sorry: IndentationError: ('expected an indented block', ('/usr/lib64/python2.4/site-packages/matplotlib/backend_bases.py', 1222, 11, ' for a in self.canvas.figure.get_axes():\n'))running install_data Nils
>>>>> "Petar" =3D=3D Petar Mari=A7 <pet...@gm...> writes: Petar> Hi all, First of all, thank you for this awesome library, Petar> you mad my life heck of a lot easier - no really :) Petar> I'm interested into how to remove the whitespace which is Petar> around the figure? You can really see it when you export Petar> your picture via savefig() Petar> Example graph: Petar> http://svn.petarmaric.com/playground/trunk/test.png Script Petar> source: Petar> http://svn.petarmaric.com/playground/trunk/web_graph/views.py Petar> I guess this is probably a pretty newbie question, but I'm Petar> really not into all of this, I'm just a user trying to make Petar> some pretty pictures for a student project :) Does fig =3D figure(frameon=3DFalse) do what you want? JDH
I am a new user of matplotlib and am trying to create a "radar" or "star" plot. I didn't see a convenience function in matplotlib so I am trying to create it using polar plots. It would seem straight forward if the fill() function could be used with polar axes, but my attempts thus far have not worked. Is it possible to use a polar axis and the fill function, or is there an easier way of creating "radar/star" plots? much thanks, marek
>>>>> "Nils" == Nils Wagner <nw...@ia...> writes: Nils> I am using the latest svn version of mpl Traceback (most Nils> recent call last): File Nils> "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", Nils> line 1562, in zoom widgets.release(self) AttributeError: Nils> 'module' object has no attribute 'release' Thanks for the report Nils, fixed in svn. JDH
Hi all, I am going to visualize mode shapes of L-shaped membranes using contour. So far, I have two lists xin, yin containing the coordinates of interior points (see bottom of mode.png) . A third list will contain the corresponding displacements u(xin,yin). >>> xin [-0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.77777777777777779, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.55555555555555558, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.33333333333333337, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, -0.11111111111111116, 0.11111111111111116, 0.11111111111111116, 0.11111111111111116, 0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.33333333333333326, 0.33333333333333326, 0.33333333333333326, 0.33333333333333326, 0.55555555555555536, 0.55555555555555536, 0.55555555555555536, 0.55555555555555536, 0.55555555555555536, 0.77777777777777768, 0.77777777777777768, 0.77777777777777768, 0.77777777777777768, 0.77777777777777768, 1.0, 1.0, 1.0, 1.0, 1.0] >>> yin [-0.77777777777777779, -0.55555555555555558, -0.33333333333333337, -0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, -0.77777777777777779, -0.55555555555555558, -0.33333333333333337, -0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, -0.77777777777777779, -0.55555555555555558, -0.33333333333333337, -0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, -0.77777777777777779, -0.55555555555555558, -0.33333333333333337, -0.11111111111111116, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0, 0.11111111111111116, 0.33333333333333326, 0.55555555555555536, 0.77777777777777768, 1.0] How can I realize this task with mpl ? help (contour) yields contour(X,Y,Z) - X,Y specify the (x,y) coordinates of the surface. X, Y, and Z must be arrays with the same dimensions. Z may be a masked array, but filled contouring may not handle internal masked regions correctly. How do I build X,Y from my lists xin, yin ? Any pointer would be appreciated. Nils
Hi, I'd love to have a backend which outputs skencil .sk files with text rendered through the skLaTeX plugin. For those who don't know it, skencil is a vector drawing program written in python. Its skLaTeX plugin allows to include LaTeX text in the drawing. Right now I'm creating eps files with matplotlib with the 'xpdf' distiller option and convert it to skencil file format with pstoedit which works but which is not very convenient. Has anybody already done something like that before? I don't know if I'll find the time to try it myself. In case not, please accept it as feature request. Christian
I think this may be what you need http://matplotlib.sourceforge.net/matplotlib.colors.html#LinearSegmentedColormap As I recall there are some examples floating around somewhere, perhaps on the wiki... Cheers JP James Boyle wrote: > I am interested in producing a color map and accompanying colorbar > with non-linear (arbitrary) spacing. My intent is like the attached > color bar in which the increments are monotonic but vary in size. > There might be an easy way to do this but it is not apparent to me. > > --Jim > >------------------------------------------------------------------------ > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > >------------------------------------------------------------------------ > >_______________________________________________ >Matplotlib-users mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
SGkgYWxsLAoKRmlyc3Qgb2YgYWxsLCB0aGFuayB5b3UgZm9yIHRoaXMgYXdlc29tZSBsaWJyYXJ5 LCB5b3UgbWFkIG15IGxpZmUgaGVjawpvZiBhIGxvdCBlYXNpZXIgLSBubyByZWFsbHkgOikKCkkn bSBpbnRlcmVzdGVkIGludG8gaG93IHRvIHJlbW92ZSB0aGUgd2hpdGVzcGFjZSB3aGljaCBpcyBh cm91bmQgdGhlCmZpZ3VyZT8gWW91IGNhbiByZWFsbHkgc2VlIGl0IHdoZW4geW91IGV4cG9ydCB5 b3VyIHBpY3R1cmUgdmlhCnNhdmVmaWcoKQoKRXhhbXBsZSBncmFwaDogaHR0cDovL3N2bi5wZXRh cm1hcmljLmNvbS9wbGF5Z3JvdW5kL3RydW5rL3Rlc3QucG5nClNjcmlwdCBzb3VyY2U6IGh0dHA6 Ly9zdm4ucGV0YXJtYXJpYy5jb20vcGxheWdyb3VuZC90cnVuay93ZWJfZ3JhcGgvdmlld3MucHkK CkkgZ3Vlc3MgdGhpcyBpcyBwcm9iYWJseSBhIHByZXR0eSBuZXdiaWUgcXVlc3Rpb24sIGJ1dCBJ J20gcmVhbGx5IG5vdAppbnRvIGFsbCBvZiB0aGlzLCBJJ20ganVzdCBhIHVzZXIgdHJ5aW5nIHRv IG1ha2Ugc29tZSBwcmV0dHkgcGljdHVyZXMKZm9yIGEgc3R1ZGVudCBwcm9qZWN0IDopCgpSZWdh cmRzLAoKUFM6IFNvcnJ5IGZvciB0aGUgcmVwb3N0IC0gYnV0IGl0IHNlZW1zIHlvdSBvbmx5IHJl cGx5IHRvIG1haWwKc3RhcnRpbmcgd2l0aCAiW01hdHBsb3RsaWItdXNlcnNdICIKLS0gClBldGFy IE1hcmnEhwoqZS1tYWlsOiBwZXRhci5tYXJpY0BnbWFpbC5jb20KKm1vYmlsZTogKzM4MSAoNjQp IDYxMjI0NjcKCippY3E6IDIyNDcyMDMyMgoqc2t5cGU6IHBldGFyX21hcmljCip3ZWI6IGh0dHA6 Ly93d3cucGV0YXJtYXJpYy5jb20vCg==
I am using the latest svn version of mpl Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", line 1562, in zoom widgets.release(self) AttributeError: 'module' object has no attribute 'release' Nils
John, They do behave independently. This is about default behavior. Here are some examples (unverified), that assume some standard matplotlib rc file. Ex 1: No color specified. MPL and matlab result: both line and marker edge have same default color. Ex 2: Set the color with the plot command, e.g. 'r+-' string. matlab result: both marker and line are red. MPL result: line is red, marker remains default blue. Ex 3: Set colors explicitly, e.g. 'ro-', 'markerfacecolor'=[0,1,0] matlab and MPL result: line is red, marker face is green. I **believe** that in MPL the marker edge will remain default blue, since it is not set explicitly. In matlab, the marker edge will pick up the red line color. Both approaches are reasonable, one simply has to know what to expect. In my case, being somewhat new to MPL, I was quite confused by how Ex 2 worked in MPL. Now I know better. The matlab approach requires somewhat less typing typically. -Tony At 8:23 AM -0500 6/29/06, John Hunter wrote: > >>>>> "Tony" == Tony Mannucci <Ton...@jp...> writes: > > Tony> John, Thanks for the answer. > > Tony> My prime mistake was to assume that matlab behavior is > Tony> mimicked in matplotlib. (I am not saying it should > Tony> be!). matlab has a Line object and this includes the > Tony> markers. So, what I called "bugs" was based on a false > Tony> expectation. The matlab version of the code will produce > Tony> lines and symbols of the same color. > > Tony> I will spend more time with the matplotlib manual and learn > Tony> the differences with matlab, and make progress that way. > >Hmm, I didn't know matlab behaved this way. I know matlab does have >color, markerfacecolor and margeredgecolor, so I assumed that they >would be controlled independently. So the behavior is > > set(l, 'color', 'red') > >and both the linestyle and markercolor are changed? > > >JDH -- Tony Mannucci Supervisor, Ionospheric and Atmospheric Remote Sensing Group Mail-Stop 138-308, Tel > (818) 354-1699 Jet Propulsion Laboratory, Fax > (818) 393-5115 California Institute of Technology, Email > Ton...@jp... 4800 Oak Grove Drive, http://genesis.jpl.nasa.gov Pasadena, CA 91109
Hi Jim, I guess you'd have to write a custom palette dictionnary do to that. If you already have a GMT file, check the link www.scipy.org/Cookbook/Matplotlib/Loading_a_colormap_dynamically You could also take a cpt file you like, see for example http://pdfb.wiredworkplace.net/cpt-city/www/cb/seq/index.html tweak it to fit your needs and use the script below to convert it to a format matplotlib will understand. See the example in the docstring. David def cpt2seg(file_name, sym=False, discrete=False): """Reads a .cpt palette and returns a segmented colormap. sym : If True, the returned colormap contains the palette and a mirrored copy. For example, a blue-red-green palette would return a blue-red-green-green-red-blue colormap. discrete : If true, the returned colormap has a fixed number of uniform colors. That is, colors are not interpolated to form a continuous range. Example : >>> _palette_data = cpt2seg('palette.cpt') >>> palette = matplotlib.colors.LinearSegmentedColormap('palette', _palette_data, 100) >>> imshow(X, cmap=palette) Licence: MIT Author: David Huard, 2006 """ dic = {} f = open(file_name, 'r') rgb = read_array(f) rgb = rgb/255. s = shape(rgb) colors = ['red', 'green', 'blue'] for c in colors: i = colors.index(c) x = rgb[:, i+1] if discrete: if sym: dic[c] = zeros((2*s[0]+1, 3), float) dic[c][:,0] = linspace(0,1,2*s[0]+1) vec = concatenate((x ,x[::-1])) else: dic[c] = zeros((s[0]+1, 3), float) dic[c][:,0] = linspace(0,1,s[0]+1) vec = x dic[c][1:, 1] = vec dic[c][:-1,2] = vec else: if sym: dic[c] = zeros((2*s[0], 3), float) dic[c][:,0] = linspace(0,1,2*s[0]) vec = concatenate((x ,x[::-1])) else: dic[c] = zeros((s[0], 3), float) dic[c][:,0] = linspace(0,1,s[0]) vec = x dic[c][:, 1] = vec dic[c][:, 2] = vec return dic 2006年6月29日, James Boyle <bo...@ll...>: > > I am interested in producing a color map and accompanying colorbar with > non-linear (arbitrary) spacing. My intent is like the attached color > bar in which the increments are monotonic but vary in size. There might > be an easy way to do this but it is not apparent to me. > > --Jim > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > >
On 2006年6月29日, James Carroll wrote: > PyInstaller looks intriguing, but the traffic on their > mailing list makes me think that it doesn't have enough > users (& therefore developers) yet. I want to stay on the > well-traveled-paths where I can find them. Understood. But do not overlook that PyInstaller is really the current life of Gordon McMillan's Python Installer, so it really is not a new kid on the block. Cheers, Alan Isaac
I am interested in producing a color map and accompanying colorbar with non-linear (arbitrary) spacing. My intent is like the attached color bar in which the increments are monotonic but vary in size. There might be an easy way to do this but it is not apparent to me. --Jim
> > My final distribution is 47MB in 840 files. Does anyone > > have an example that does even better? > > I think PyInstaller is supposed to help with this problem: > http://pyinstaller.hpcf.upr.edu/ > But I have not used it. > > Cheers, > Alan Isaac Hi Alan, PyInstaller looks intriguing, but the traffic on their mailing list makes me think that it doesn't have enough users (& therefore developers) yet. I want to stay on the well-traveled-paths where I can find them. I think for now I'll use NSIS w/ py2exe to create a single executable that unpacks to a temporary directory and launches itself when it's double clicked. I've used this sucessfully in the past. ( something like this: http://wiki.wxpython.org/index.cgi/SmallApp ) I think what I'm really hoping for is to find a way to include just the core functionality of matplotlib, without pulling in numpy and scipy and all the bells and whistles. Of course, the real solution to my problem is to just start using all the bells and whistles (I'm happy to see the mathtext module that will work on systems that don't have TeX!) -Jim On 6/28/06, Alan G Isaac <ai...@am...> wrote: > On 2006年6月28日, James Carroll apparently wrote: > > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >