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
(1) |
2
(12) |
3
(12) |
4
(19) |
5
(7) |
6
(6) |
7
(2) |
|
8
(2) |
9
(11) |
10
(15) |
11
(27) |
12
(27) |
13
(18) |
14
(3) |
|
15
(3) |
16
(25) |
17
(9) |
18
(3) |
19
(4) |
20
(2) |
21
(4) |
|
22
(9) |
23
(28) |
24
(18) |
25
(16) |
26
(9) |
27
(4) |
28
(13) |
|
29
(15) |
30
(33) |
|
|
|
|
|
|
From: Jeff W. <js...@fa...> - 2009-11-23 23:45:34
|
Phillip M. Feldman wrote: > Jeff Whitaker wrote: >> Dr. Phillip M. Feldman wrote: >>> The basemap demo `cubed_sphere.py` contains the following line of code: >>> >>> fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, >>> hspace=0) >>> >>> >From the documentation, it would appear that `wspace=0` should >>> remove all >>> horizontal space between the subplots. But, this isn't what >>> happens. (I >>> tried to insert an image, but this feature of Nabble appears to be >>> broken). >>> >> Phillip: Do you see any white space between the unfolded faces of >> the cube on the cubed_sphere plot? If not, then that command is >> working as expected. >> >> -Jeff > Jeff: > > (I posted this same message via Nabble, but it doesn't seem to be > getting through). > > I have some further information: I just tried it again, and realized > that if I use the original figure size and don't maximize the figure > window, there are no white spaces. I don't see the white spaces unless > I maximize the figure window. Maximizing the figure window should > change the overall size of the image, but everything should scale > together, so this is definitely a bug. > > Phillip Philip: It's not really a bug - but a "feature" of this particular example. For the white space to disappear, the figure must have exactly the same aspect ratio as the map projection. It's set that way in the example, but if you change but maximizing the window Basemap tries to maintain the aspect ratio of the map and leaves some whitespace. To get rid of the whitespace, at the expensive of messing up the aspect ratio of the map when you resize, set fix_aspect=True when initializing the basemap instance (for basemap >= 0.99.4). -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |
|
From: Christopher B. <Chr...@no...> - 2009-11-23 22:30:08
|
Dr. Phillip M. Feldman wrote: > Running C:\Program Files\Python25\python.exe C:\Program > Files\Python25\Examples\basemap-0.99.4\barb_ > demo.py > C:\Program: can't open file 'Files\Python25\python.exe': [Errno 2] No such > file or directory > TEST FAILURE (status=2) This looks like an issue with white space in the file path -- Windows can be weird about that. That's why Python is usually installed directly into: C:\python25 Rather than in "Program Files", though you're right, that's where it should be put. what does that "Running" message come from -- it doesn't look like it's written to accommodate white space. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Phillip M. F. <pfe...@ve...> - 2009-11-23 22:12:13
|
Jeff Whitaker wrote: > Dr. Phillip M. Feldman wrote: >> The basemap demo `cubed_sphere.py` contains the following line of code: >> >> fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, >> hspace=0) >> >> >From the documentation, it would appear that `wspace=0` should >> remove all >> horizontal space between the subplots. But, this isn't what >> happens. (I >> tried to insert an image, but this feature of Nabble appears to be >> broken). >> > Phillip: Do you see any white space between the unfolded faces of the > cube on the cubed_sphere plot? If not, then that command is working > as expected. > > -Jeff Jeff: (I posted this same message via Nabble, but it doesn't seem to be getting through). I have some further information: I just tried it again, and realized that if I use the original figure size and don't maximize the figure window, there are no white spaces. I don't see the white spaces unless I maximize the figure window. Maximizing the figure window should change the overall size of the image, but everything should scale together, so this is definitely a bug. Phillip |
|
From: Dr. P. M. F. <pfe...@ve...> - 2009-11-23 22:07:30
|
Dr. Phillip M. Feldman wrote: > The basemap demo `cubed_sphere.py` contains the following line of code: > > fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, > hspace=0) > > >From the documentation, it would appear that `wspace=0` should remove all > horizontal space between the subplots. But, this isn't what happens. (I > tried to insert an image, but this feature of Nabble appears to be > broken). > Phillip: Do you see any white space between the unfolded faces of the cube on the cubed_sphere plot? If not, then that command is working as expected. -Jeff I have some further information: I just tried it again, and realized that if I use the original figure size and don't maximize the figure window, there are no white spaces. I don't see the white spaces unless I maximizing the figure window. Maximizing the figure window should change the overall size of the image, but everything should scale together, so this is definitely a bug. -- View this message in context: http://old.nabble.com/%60fig.subplots_adjust%60-does-not-behave-as-advertized-tp26471386p26486602.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Dr. P. M. F. <pfe...@ve...> - 2009-11-23 21:46:47
|
Dr. Phillip M. Feldman wrote: > The basemap demo `cubed_sphere.py` contains the following line of code: > > fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, > hspace=0) > > >From the documentation, it would appear that `wspace=0` should remove all > horizontal space between the subplots. But, this isn't what happens. (I > tried to insert an image, but this feature of Nabble appears to be > broken). > Phillip: Do you see any white space between the unfolded faces of the cube on the cubed_sphere plot? If not, then that command is working as expected. -Jeff Jeff: I am seeing fairly large horizontal white spaces between the unfolded faces of the cube (see attached image). Curiously, there are no vertical white spaces. http://old.nabble.com/file/p26486476/cubed_sphere.jpeg -- View this message in context: http://old.nabble.com/%60fig.subplots_adjust%60-does-not-behave-as-advertized-tp26471386p26486476.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Dr. P. M. F. <pfe...@ve...> - 2009-11-23 21:43:22
|
Dr. Phillip M. Feldman wrote: > The script run_all.py in the basemap examples does not work when Python > has > been installed to "C:\Program Files\Python25". It appears that this > problem > involves the space in the path. > Phillip: I don't have a windows machine to test on - so could you please send the actual error message? -Jeff Jeff: Here's the actual error message: [C:Examples/basemap-0.99.4]|12> run run_all ['barb_demo.py', 'ccsm_popgrid.py', 'contour_demo.py', 'cubed_sphere.py', 'customticks.py', 'fillsta tes.py', 'garp.py', 'geos_demo.py', 'geos_demo_3.py', 'hires.py', 'hurrtracks.py', 'maskoceans.py', 'NetCDFFile_tst.py', 'nytolondon.py', 'ortho_demo.py', 'plotcities.py', 'plotmap.py', 'plotmap_maske d.py', 'plotmap_oo.py', 'plotmap_shaded.py', 'plotprecip.py', 'plot_tissot.py', 'polarmaps.py', 'qui ver_demo.py', 'randompoints.py', 'save_background.py', 'setwh.py', 'show_colormaps.py', 'simpletest. py', 'simpletest_oo.py', 'test.py', 'warpimage.py', 'wiki_example.py'] ********************************************** Running C:\Program Files\Python25\python.exe C:\Program Files\Python25\Examples\basemap-0.99.4\barb_ demo.py C:\Program: can't open file 'Files\Python25\python.exe': [Errno 2] No such file or directory TEST FAILURE (status=2) <snip> -- View this message in context: http://old.nabble.com/bug-in-run_all.py-tp26470905p26486349.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Mike A. <mik...@ng...> - 2009-11-23 21:42:45
|
This may be a dumb question, however i have been scratching my head trying to figure out how to plot a 3 dimensional plot with with a colour map different from the elevation(Z) parameter. An example of this done in Matlab would be [X,Y,Z] = peaks(30); C=Z'% could be anything other than Z as long as it has the same dimensions surf(X,Y,Z,C) axis([-3 3 -3 3 -10 5]) Is this possible with matplotlib '0.99.1' If so how do i go about doing this is there some sample code? Mike Alger, M.A.Sc ma...@ry... |
|
From: John H. <jd...@gm...> - 2009-11-23 21:33:44
|
On Mon, Nov 23, 2009 at 9:20 AM, Sahar <sa...@cm...> wrote: > Hi, > > I'm trying to add some notes in a table to a plot, and I don't know how to > use the "'matplotlib.pyplot.table" command. > I really don't want to use ax.text(...) with different x,y values... > > Any suggestions? Example to table command, insert LaTex tables, Etc. Take a look at the table demo: http://matplotlib.sourceforge.net/examples/pylab_examples/table_demo.html |
|
From: Olof W. <olo...@gm...> - 2009-11-23 21:10:16
|
Hello! I am forced to use py version 2.3.3 (included in other software). I would like to use matplotlib but can not find the version for py 2.3 on sourceforge. I think it should be version 0.90.1? Do you know how I can get hold of a copy of that version? Thanks! Best Ŕegards, Olof Werneman |
|
From: Xavier G. <xav...@gm...> - 2009-11-23 21:00:55
|
Hi,
Well when you plot, imshow or whatever is matplotlib related, the axes
do scale *automatically*.
Why should it be different with quiver?
I do reproduce your error with axis('tight')
Xavier
> Hi Xavier (cc list),
>
> It may be a bug, however I do not know what the default behaviour 'should' be. You could do:
>
> lims = [-4, 4, -4, 4]
> axis(lims)
>
> after calling quiver to see the whole arrow. I did notice that calling
>
> axis('tight')
>
> threw the following error
>
> /Users/Damon/python/lib/matplotlib/axes.py:2038: UserWarning: Attempting to set identical xmin==xmax results in singular transformations; automatically expanding. xmin=1.0, xmax=1.0
> warnings.warn('Attempting to set identical xmin==xmax results in singular transformations; automatically expanding. xmin=%s, xmax=%s'%(xmin, xmax))
> /Users/Damon/python/lib/matplotlib/axes.py:2212: UserWarning: Attempting to set identical ymin==ymax results in singular transformations; automatically expanding. ymin=1.0, ymax=1.0
> warnings.warn('Attempting to set identical ymin==ymax results in singular transformations; automatically expanding. ymin=%s, ymax=%s'%(ymin, ymax))
>
> is this correct, or is it a bug? I'm using "ipython -pylab" with the MacOSX backend. I was expecting axis('tight') would scale the axes so I could see the whole arrow.
>
>
> Regards,
> -- Damon
>
> --------------------------
> Damon McDougall
> Mathematics Institute
> University of Warwick
> Coventry
> CV4 7AL
> d.m...@wa...
>
> On 22 Nov 2009, at 21:34, Xavier Gnata wrote:
>
>
>> Hi,
>>
>> RTFM...indeed it works.
>> However, the axis do not scale accordingly:
>>
>> quiver([1],[1],[2],[2], angles='xy', scale_units='xy', scale=1) on a TkAgg backend produce a plot with:
>> In [11]: axis()
>> Out[11]:
>> (0.94000000000000006,
>> 1.0600000000000001,
>> 0.94000000000000006,
>> 1.0600000000000001)
>>
>> The display area scales the same way as it does using quiver([1],[1],[2],[2]) (without any other args).
>> It looks like a bug.
>>
>> Xavier
>>
>>
>>
>>> Hi Xavier,
>>>
>>> You can pass some handy keyword arguments to fix that. Use the following:
>>>
>>> quiver([1],[1],[1.2],[1.2], angles='xy', scale_units='xy', scale=1)
>>>
>>> Hope that helps :)
>>>
>>>
>>> Regards,
>>> -- Damon
>>>
>>> --------------------------
>>> Damon McDougall
>>> Mathematics Institute
>>> University of Warwick
>>> Coventry
>>> CV4 7AL
>>> d.m...@wa...
>>>
>>> On 22 Nov 2009, at 16:37, Xavier Gnata wrote:
>>>
>>>
>>>
>>>> Hi,
>>>>
>>>> I woud like to draw a vector field using pylab.
>>>> quivert looks nice but it sould not scale the arrows to fit my use-case.
>>>> quiver([1],[1],[1.2],[1.2]) does plot a nice arrow but the head of the
>>>> arrow is not at (1.2,1.2).
>>>> Is there a way to plot a list of arrows *without* any scaling?
>>>>
>>>> Xavier
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>>>> trial. Simplify your report design, integration and deployment - and focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Matplotlib-users mailing list
>>>> Mat...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>>
>>>>
>>>
>>>
>>
>
|
|
From: Alan G I. <ala...@gm...> - 2009-11-23 19:57:39
|
Just to be clear: import numpy, matplotlib works fine? Alan Isaac |
|
From: Christoph G. <cg...@uc...> - 2009-11-23 19:56:09
|
Please check if there are python26.dll or "Microsoft.VC90.CRT.manifest" files left in your Python directory. If yes, remove those files. If that does not help, run Dependency Walker on python26.dll (should be in your system folder), enable "Full Paths" view and report the MSVCR90.DLL path. It should be <c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.DLL> I assume the missing DWMAPI.DLL and EFSADU.DLL dependencies come from IE7/8 and can be ignored. Christoph |
|
From: W. G. W. <wg...@cl...> - 2009-11-23 19:24:20
|
Windows XP Windows NT 5.1 Build 2600 matplotlib version 0.99.1 python version 2.6.4 Code that will crash python on my machine: >>> from matplotlib import pyplot as plt Error signature AppName: python.exe AppVer 0.0.0.0 aModName: _path.pyd ModVer: 0.0.0.0 Offset 0000a09b Error report attached. Thank you, Gary Williams -- Gary Williams Clearwater Instrumentation, Inc. 304 Pleasant St., Watertown, MA 02472 USA +1 617 9242708 tel. +1 617 9242724 fax http://www.clearwater-inst.com |
|
From: Michael D. <md...@st...> - 2009-11-23 18:12:57
|
I've attached patches against Python 2.5 and 2.6 to that bug. Neither is significantly different from the original patch. http://bugs.python.org/issue1222585 Once doing that, you'll also need to make the following change to matplotlib so that the correct C++ runtime libraries are used. Once I figure out how to correctly detect the compiler being used, I'll make this change in the matplotlib SVN repository. (This is non-trivial, since distutils doesn't have a Sun compiler specialization -- it uses the "generic" Unix compiler support for both gcc and Sun Studio.) Mike Index: setupext.py =================================================================== --- setupext.py (revision 7979) +++ setupext.py (working copy) @@ -221,7 +221,7 @@ if sys.platform == 'win32' and win32_compiler == 'msvc': std_libs = [] else: - std_libs = ['stdc++', 'm'] + std_libs = ['m', 'Crun', 'Cstd'] def has_pkgconfig(): if has_pkgconfig.cache is not None: Michael Droettboom wrote: > This is a years-old known bug in distutils (which it looks like you've > already commented on...). I've looked at it many times over those > years, and it's really very difficult to fix from outside without > terrible monkey-patching hacks that are certain to break on as many > systems as they fix. We just may be forced to deal with it at this > point, though. (FWIW, we run Solaris here, too, but we build matplotlib > on gcc). I'll comment on that bug as well and see if we can get some > movement on it. > > In the meantime, I'll investigate whether the scons work by David > Cournapeau resolves this problem. See here: > > http://github.com/cournape/matplotlib/tree/scons_build > > Mike > > Dr. David Kirkby wrote: > >> I was trying to build matplotlib 0.99.0 as part of Sage >> >> http://www.sagemath.org/ >> >> on a Sun Blade 2000 workstation running Solaris 10 update 7, using the Sun >> Studio compiler version 12.1 (not gcc). >> >> CC and CXX were defined properly as C and C++ compilers, but it would appear >> that the C compiler is being called to compile the file src/ft2font.cpp, which >> is of course a C++ file. >> >> You might get away with this with gcc, but the Sun C compiler will not compile >> C++ code. >> >> Here's the error I get: >> >> >> /opt/xxxsunstudio12.1/bin/cc -DNDEBUG -O -xcode=pic32 >> -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API >> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib/python2.6/site-packages/numpy/core/include >> -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/local/include -I. >> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/ >> -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/python2.6 -c >> src/ft2font.cpp -o build/temp.solaris-2.10-sun4u-2.6/src/ft2font.o >> cc: No valid input files specified, no output generated >> error: command '/opt/xxxsunstudio12.1/bin/cc' failed with exit status 1 >> >> This is recorded in the Sage trac as: >> >> http://trac.sagemath.org/sage_trac/ticket/7028 >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Dilip W. <di...@ya...> - 2009-11-23 17:17:33
|
Christoph, I couldn't get it to work after this download either. Same problem as before. After that, I tried the following: 1. Upgraded to XP Service Pack 3. 2. Uninstalled Python 2.6 and all related packages. 3. Reinstalled Python 2.6.4 with "Install for all users" set. 4. Reinstalled Numpy 1.3.0. 5. Reinstalled Matplotlib 0.99.1. (all installations from binaries from sourceforge) That didn't help either. Is there any better debug information I can provide (trace or something)? The output of "python -v" seems rather insufficient. Thanks, Dilip. ----- Original Message ---- From: Christoph Gohlke <cg...@uc...> To: matplotlib-users <mat...@li...> Sent: Sun, November 22, 2009 10:08:21 PM Subject: Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows Try installing the Microsoft Visual C++ 2008 Redistributable Package (x86) <http://www.microsoft.com/downloadS/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en>. This is usually installed during the installation of Python in the "Install For All Users" mode. Christoph ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: <PH...@Ge...> - 2009-11-23 17:03:42
|
From: Sahar [mailto:sa...@cm...]
Sent: Monday, November 23, 2009 7:20 AM
To: mat...@li...
Subject: [Matplotlib-users] add table to axes
> Hi,
>
> I'm trying to add some notes in a table to a plot, and I don't
> know how to use the "'matplotlib.pyplot.table" command.
> I really don't want to use ax.text(...) with different x,y
> values...
> Any suggestions? Example to table command, insert LaTex tables...
I think the LaTeX root might be a good one. Set your usetex to True in rcParams and make a separate file (table.tex).
Then use:
>>> figure.figtext(fig_x, fig_y, r'\input{table.tex}')
I haven't tested this, but it seems like it should work. I'd be curious to hear how it goes.
-paul h
|
|
From: Damon M. <D.M...@wa...> - 2009-11-23 16:23:18
|
Hi Xavier (cc list),
It may be a bug, however I do not know what the default behaviour 'should' be. You could do:
lims = [-4, 4, -4, 4]
axis(lims)
after calling quiver to see the whole arrow. I did notice that calling
axis('tight')
threw the following error
/Users/Damon/python/lib/matplotlib/axes.py:2038: UserWarning: Attempting to set identical xmin==xmax results in singular transformations; automatically expanding. xmin=1.0, xmax=1.0
warnings.warn('Attempting to set identical xmin==xmax results in singular transformations; automatically expanding. xmin=%s, xmax=%s'%(xmin, xmax))
/Users/Damon/python/lib/matplotlib/axes.py:2212: UserWarning: Attempting to set identical ymin==ymax results in singular transformations; automatically expanding. ymin=1.0, ymax=1.0
warnings.warn('Attempting to set identical ymin==ymax results in singular transformations; automatically expanding. ymin=%s, ymax=%s'%(ymin, ymax))
is this correct, or is it a bug? I'm using "ipython -pylab" with the MacOSX backend. I was expecting axis('tight') would scale the axes so I could see the whole arrow.
Regards,
-- Damon
--------------------------
Damon McDougall
Mathematics Institute
University of Warwick
Coventry
CV4 7AL
d.m...@wa...
On 22 Nov 2009, at 21:34, Xavier Gnata wrote:
> Hi,
>
> RTFM...indeed it works.
> However, the axis do not scale accordingly:
>
> quiver([1],[1],[2],[2], angles='xy', scale_units='xy', scale=1) on a TkAgg backend produce a plot with:
> In [11]: axis()
> Out[11]:
> (0.94000000000000006,
> 1.0600000000000001,
> 0.94000000000000006,
> 1.0600000000000001)
>
> The display area scales the same way as it does using quiver([1],[1],[2],[2]) (without any other args).
> It looks like a bug.
>
> Xavier
>
>
>> Hi Xavier,
>>
>> You can pass some handy keyword arguments to fix that. Use the following:
>>
>> quiver([1],[1],[1.2],[1.2], angles='xy', scale_units='xy', scale=1)
>>
>> Hope that helps :)
>>
>>
>> Regards,
>> -- Damon
>>
>> --------------------------
>> Damon McDougall
>> Mathematics Institute
>> University of Warwick
>> Coventry
>> CV4 7AL
>> d.m...@wa...
>>
>> On 22 Nov 2009, at 16:37, Xavier Gnata wrote:
>>
>>
>>> Hi,
>>>
>>> I woud like to draw a vector field using pylab.
>>> quivert looks nice but it sould not scale the arrows to fit my use-case.
>>> quiver([1],[1],[1.2],[1.2]) does plot a nice arrow but the head of the
>>> arrow is not at (1.2,1.2).
>>> Is there a way to plot a list of arrows *without* any scaling?
>>>
>>> Xavier
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>>> trial. Simplify your report design, integration and deployment - and focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Matplotlib-users mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>
>
|
|
From: Sahar <sa...@cm...> - 2009-11-23 15:45:01
|
Hi, I'm trying to add some notes in a table to a plot, and I don't know how to use the "'matplotlib.pyplot.table" command. I really don't want to use ax.text(...) with different x,y values... Any suggestions? Example to table command, insert LaTex tables, Etc. Thanks, Sahar ******************************************************************************************************* This e-mail message may contain confidential,and privileged information or data that constitute proprietary information of CMT Medical Ltd. Any review or distribution by others is strictly prohibited. If you are not the intended recipient you are hereby notified that any use of this information or data by any other person is absolutely prohibited. If you are not the intended recipient, please delete all copies. Thank You. http://www.cmt.co.il ******************************************************************************************************** ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ |
|
From: Zunbeltz I. <zun...@gm...> - 2009-11-23 15:37:53
|
On Mon, 2009-11-23 at 10:12 +0100, Matthias Michler wrote: > Hi Zunbeltz, > Dear Matthias > you could include some fake-lines outside the visible regionm which get your > favorite label like > > plot([0], [0], label='my favorite label for squares', marker='s', > color='black', mfc='white', mec='black') > > and don't use labels for the original data. > I did in a similar way l1 = plot(datax, datay, label='my favorite label for squares', marker='s', color='black', mfc='white', mec='black') plot(datax, daty, label='my favorite label for squares', marker='s', color='black', mfc='red', mec='black') I plot the data 2 times and them in the legend only add the firs line with white markers legend([l1],[label]) But I think this functionality should not be difficult to implement directly and maybe someone has done it. Best regards Zunbeltz Izaola > Kind regards > Matthias > > On Saturday 21 November 2009 20:28:37 Zunbeltz Izaola wrote: > > Hi, > > > > I would like to have a different marker facecolor in the legend that in > > the plot. Is there any way to change this color?=20 > > > > In more detail my problem is the following. I plotted 6 dataset. They > > are divided in 2 groups; one with blue and the other with red color. > > In each group I have used 3 different markers. I have annotated the > > meaning of the color in the plot, so I don't need a legend with 6 lines. > > I only need 3, but I would like that the markers in this plot will be > > empty (markerfacecolor=3Dwhite). Is it possible? > > > > Best regards, > > > > Zunbeltz > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Michael D. <md...@st...> - 2009-11-23 14:01:05
|
This is a years-old known bug in distutils (which it looks like you've already commented on...). I've looked at it many times over those years, and it's really very difficult to fix from outside without terrible monkey-patching hacks that are certain to break on as many systems as they fix. We just may be forced to deal with it at this point, though. (FWIW, we run Solaris here, too, but we build matplotlib on gcc). I'll comment on that bug as well and see if we can get some movement on it. In the meantime, I'll investigate whether the scons work by David Cournapeau resolves this problem. See here: http://github.com/cournape/matplotlib/tree/scons_build Mike Dr. David Kirkby wrote: > I was trying to build matplotlib 0.99.0 as part of Sage > > http://www.sagemath.org/ > > on a Sun Blade 2000 workstation running Solaris 10 update 7, using the Sun > Studio compiler version 12.1 (not gcc). > > CC and CXX were defined properly as C and C++ compilers, but it would appear > that the C compiler is being called to compile the file src/ft2font.cpp, which > is of course a C++ file. > > You might get away with this with gcc, but the Sun C compiler will not compile > C++ code. > > Here's the error I get: > > > /opt/xxxsunstudio12.1/bin/cc -DNDEBUG -O -xcode=pic32 > -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API > -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/lib/python2.6/site-packages/numpy/core/include > -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/local/include -I. > -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/ > -I/export/home/drkirkby/sage/gcc32/sage-4.1.2.alpha2/local/include/python2.6 -c > src/ft2font.cpp -o build/temp.solaris-2.10-sun4u-2.6/src/ft2font.o > cc: No valid input files specified, no output generated > error: command '/opt/xxxsunstudio12.1/bin/cc' failed with exit status 1 > > This is recorded in the Sage trac as: > > http://trac.sagemath.org/sage_trac/ticket/7028 > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Jeff W. <js...@fa...> - 2009-11-23 13:16:00
|
Dr. Phillip M. Feldman wrote: > The basemap demo `cubed_sphere.py` contains the following line of code: > > fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, hspace=0) > > >From the documentation, it would appear that `wspace=0` should remove all > horizontal space between the subplots. But, this isn't what happens. (I > tried to insert an image, but this feature of Nabble appears to be broken). > Phillip: Do you see any white space between the unfolded faces of the cube on the cubed_sphere plot? If not, then that command is working as expected. -Jeff |
|
From: Jeff W. <js...@fa...> - 2009-11-23 13:14:37
|
Dr. Phillip M. Feldman wrote: > The script run_all.py in the basemap examples does not work when Python has > been installed to "C:\Program Files\Python25". It appears that this problem > involves the space in the path. > Phillip: I don't have a windows machine to test on - so could you please send the actual error message? -Jeff |
|
From: Gary R. <gr...@bi...> - 2009-11-23 09:14:39
|
IMO I don't think the traffic level on either pure mpl or basemap warrants a split. Gary R. Dr. Phillip M. Feldman wrote: > It seems as though there are enough basemap-related posts that it might be > worth creating a separate basemap-specific sub-forum of the matplotlib > forum. |
|
From: Christoph G. <cg...@uc...> - 2009-11-23 03:08:47
|
Try installing the Microsoft Visual C++ 2008 Redistributable Package (x86) <http://www.microsoft.com/downloadS/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en>. This is usually installed during the installation of Python in the "Install For All Users" mode. Christoph |
|
From: Dilip W. <di...@ya...> - 2009-11-23 01:21:07
|
Hi, all. I am unable to import matplotlib.pylab. When I run the following command: python -c "import matplotlib.pylab" the application crashes with a windows error message. Running with the -v option shows that the application crashes at the following stage: import matplotlib.transforms >From previous posts on this mailing list, others have encountered similar (but perhaps not quite the same?) problems. I followed some of the advice and downloaded the dependency walker software from http://www.dependencywalker.com. Dependency Walker says that the following DLLs are missing for _path.pyd: MSVCP90.DLL, MSVCR90.DLL, DWMAPI.DLL, EFSADU.DLL. (Indeed I tried many .pyd files from C:\Python26\Lib\site-packages\matplotlib and all of them gave similar error messages.) Any idea how I can get these DLLs (they aren't in C:\Windows\System32) or, indeed, whether this is the actual solution to the problem? I have the following versions: Windows XP Service Pack 2 Python 2.6 Matplotlib 0.99.1 Python and Matplotlib were binaries downloaded from sourceforge.net. Thanks, Dilip. |