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
|
3
(10) |
4
(17) |
5
(7) |
6
(21) |
7
(15) |
8
(6) |
|
9
(7) |
10
(8) |
11
(6) |
12
(11) |
13
(11) |
14
(13) |
15
(4) |
|
16
(5) |
17
(8) |
18
(8) |
19
(15) |
20
(3) |
21
(10) |
22
(5) |
|
23
(7) |
24
(8) |
25
(29) |
26
(26) |
27
(7) |
28
(2) |
29
(3) |
|
30
(3) |
|
|
|
|
|
|
|
From: Adam D. <ada...@gm...> - 2012-09-19 23:55:42
|
I am trying to get alternating tick labels to move completely above and
completely below the x axis. If I call:
set_ha('top')
... then the number appears fully below the x axis. However, when I call:
set_ha('bottom')
... then the number appears roughly vertically centered on the axis.
I am aware that vertical alignment only matches text to its bounding box.
Is there a way to move this bounding box? I have tried calling set_position
on the text but this seems to have no effect. I would be grateful for any
suggestions as to how I can move the tick labels appropriately.
|
|
From: Adam D. <ada...@gm...> - 2012-09-19 23:48:47
|
If I do:
bar(range(3), [1,0,2])
... then I get 2 bars of a suitable width for a 3 bar chart, with a gap in
between where the middle bar would be if not equal to 0. Yet if I do:
bar(range(3), [1,2,0])
... then I get two bars of equal width. Is there a way to preserve the
space for the missing bar?
|
|
From: Michael R. <raw...@ya...> - 2012-09-19 22:20:45
|
>________________________________
> From: Jeff Whitaker <jef...@no...>
>To: Michael Rawlins <raw...@ya...>
>Cc: "mat...@li..." <mat...@li...>
>Sent: Wednesday, September 19, 2012 5:57 PM
>Subject: Re: [Matplotlib-users] netcdf4-python build
>
>
>On 9/19/12 3:29 PM, Michael Rawlins wrote:
>
>
>>
>>How is full traceback obtained?
>>>
>Michael: I just meant for you to paste the full output, not just
the first three lines.
>
>
>That's all that appears at standard output and I do not know how to generate/find anything else.
>
>
>Since you apparently have all the libs installed, I don't understand
what's going on. Please try deleting the netcdf4-python build
directory, and then run 'python setup.py build' again, capturing the
output in a file. Send me that file off-list and I'll see if I can
suggest something.
>
>-Jeff
>
>
>Out of build, after removing build/ directory:
>
>HDF5_DIR environment variable not set, checking some standard locations ..
>checking /home/rawlins ...
>checking /usr/local ...
>HDF5 found in /usr/local
>
>NETCDF4_DIR environment variable not set, checking standard locations..
>checking /home/rawlins ...
>checking /usr/local ...
>netCDF4 found in /usr/local
>running build
>running config_cc
>unifing config_cc, config, build_clib, build_ext, build commands --compiler opti
>ons
>running config_fc
>unifing config_fc, config, build_clib, build_ext, build commands --fcompiler opt
>ions
>running build_src
>build_src
>building py_modules sources
>building extension "netCDF4" sources
>build_src: building npy-pkg config files
>running build_py
>creating build
>creating build/lib.linux-i686-2.7
>copying netcdftime.py -> build/lib.linux-i686-2.7
>copying netCDF4_utils.py -> build/lib.linux-i686-2.7
>copying ordereddict.py -> build/lib.linux-i686-2.7
>running build_ext
>customize UnixCCompiler
>customize UnixCCompiler using build_ext
>building 'netCDF4' extension
>compiling C sources
>C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wst
>rict-prototypes -fPIC
>
>creating build/temp.linux-i686-2.7
>compile options: '-I/usr/local/include -I/usr/local/include -I/usr/lib/python2.7
>/dist-packages/numpy/core/include -I/usr/include/python2.7 -c'
>gcc: netCDF4.c
>netCDF4.c: In function '__pyx_f_7netCDF4__find_cmptype':
>netCDF4.c:46724:13: warning: '__pyx_v_xtype' may be used uninitialized in this f
>unction [-Wuninitialized]
>netCDF4.c:37881:11: note: '__pyx_v_xtype' was declared here
>gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -
>Wl,-z,relro build/temp.linux-i686-2.7/netCDF4.o -L/usr/local/lib -L/usr/local/li
>b -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 -lz -o bui
>ld/lib.linux-i686-2.7/netCDF4.so
>running scons
>running build_scripts
>creating build/scripts.linux-i686-2.7
>copying and adjusting utils/nc3tonc4 -> build/scripts.linux-i686-2.7
>copying and adjusting utils/nc4tonc3 -> build/scripts.linux-i686-2.7
>changing mode of build/scripts.linux-i686-2.7/nc3tonc4 from 644 to 755
>changing mode of build/scripts.linux-i686-2.7/nc4tonc3 from 644 to 755
>
> |
|
From: Jeff W. <jef...@no...> - 2012-09-19 21:57:53
|
On 9/19/12 3:29 PM, Michael Rawlins wrote: > > > ------------------------------------------------------------------------ > *From:* Jeff Whitaker <jef...@no...> > *To:* Michael Rawlins <raw...@ya...> > *Sent:* Wednesday, September 19, 2012 4:57 PM > *Subject:* Re: [Matplotlib-users] netcdf4-python build > > On 9/19/12 2:43 PM, Michael Rawlins wrote: >> >> >> ------------------------------------------------------------------------ >> *From:* Johann Rohwer <jr...@su...> <mailto:jr...@su...> >> *To:* mat...@li... >> <mailto:mat...@li...> >> *Sent:* Wednesday, September 19, 2012 3:22 PM >> *Subject:* Re: [Matplotlib-users] netcdf4-python build >> >> On 19/09/2012 21:14, Michael Rawlins wrote: >> >> > Just installed h5utils from package manager. Getting same >> errors. In >> > package manager I'm searching on hdf5. If there's a package >> there I'm >> > missing, then it certainly is not obvious. >> >> Try >> >> libhdf5-serial >> libhdf5-serial-dev >> Johann >> >> >> >> After installing those two packages I was able build with >> setup.py <http://setup.py/> in netCDF4-1.0/ >> >> Last few lines of the build: >> >> creating build/scripts.linux-i686-2.7 >> copying and adjusting utils/nc3tonc4 -> build/scripts.linux-i686-2.7 >> copying and adjusting utils/nc4tonc3 -> build/scripts.linux-i686-2.7 >> changing mode of build/scripts.linux-i686-2.7/nc3tonc4 from 644 >> to 755 >> changing mode of build/scripts.linux-i686-2.7/nc4tonc3 from 644 >> to 755 >> >> >> Here is my initialization: >> >> from mpl_toolkits.basemap import Basemap, shiftgrid, cm >> from netCDF4 import Dataset as NetCDFFile >> >> Here is result of execution of script: >> >> Traceback (most recent call last): >> File "map_PrcpBias_Northeast.py >> <http://map_prcpbias_northeast.py/>", line 21, in <module> >> from netCDF4 import Dataset as NetCDFFile > > Michael: Please include the full traceback - what you posted > doesn't really tell us anything. > > > How is full traceback obtained? > Michael: I just meant for you to paste the full output, not just the first three lines. Since you apparently have all the libs installed, I don't understand what's going on. Please try deleting the netcdf4-python build directory, and then run 'python setup.py build' again, capturing the output in a file. Send me that file off-list and I'll see if I can suggest something. -Jeff > > > >> >> I understand using the python-netcdf package is an option. >> Installed that but am getting an eror saying missing >> libhdf5_hl.so.6 when trying: > Do you have libhdf5_hl.so anywhere on your system after installing > the libhdf5-serial package? According to this > > http://packages.ubuntu.com/lucid/i386/libhdf5-serial-1.8.4/filelist > > it should be installed in /usr/lib. > > > Yes it is in /usr/lib. > > > Also, if I read this > > http://packages.ubuntu.com/natty/libnetcdf6 > > correctly, just installing the libnetcdf6 and libnetcdf-dev > packages should be all you need to do - they depend on libhdf5-serial. > > -Jeff > > > Both packages are installed. > > MR > >> >> from Scientific.IO <http://scientific.io.net/>.NetCDF import >> NetCDFFile >> >> MR >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions >> will include endpoint security, mobile security and the latest in >> malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> <mailto:Mat...@li...> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... <mailto:Mat...@li...> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > -- > Jeffrey S. Whitaker Phone : (303)497-6313 > Meteorologist FAX : (303)497-6449 > NOAA/OAR/PSD R/PSD1 Email :Jef...@no... <mailto:Jef...@no...> > 325 Broadway Office : Skaggs Research Cntr 1D-113 > Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg > > > |
|
From: Michael R. <raw...@ya...> - 2012-09-19 21:29:21
|
>________________________________
> From: Jeff Whitaker <jef...@no...>
>To: Michael Rawlins <raw...@ya...>
>Sent: Wednesday, September 19, 2012 4:57 PM
>Subject: Re: [Matplotlib-users] netcdf4-python build
>
>
>On 9/19/12 2:43 PM, Michael Rawlins wrote:
>
>
>>
>>
>>
>>
>>________________________________
>> From: Johann Rohwer <jr...@su...>
>>To: mat...@li...
>>Sent: Wednesday, September 19, 2012 3:22 PM
>>Subject: Re: [Matplotlib-users] netcdf4-python build
>>
>>On 19/09/2012 21:14, Michael Rawlins wrote:
>>
>>> Just installed h5utils from package manager. Getting
same errors. In
>>> package manager I'm searching on hdf5. If there's a
package there I'm
>>> missing, then it certainly is not obvious.
>>
>>Try
>>
>>libhdf5-serial
>>libhdf5-serial-dev
>>Johann
>>
>>
>>
>>After installing those two packages I was able build with setup.py in netCDF4-1.0/
>>
>>Last few lines of the build:
>>
>>creating build/scripts.linux-i686-2.7
>>copying and adjusting utils/nc3tonc4 ->
build/scripts.linux-i686-2.7
>>copying and adjusting utils/nc4tonc3 ->
build/scripts.linux-i686-2.7
>>changing mode of build/scripts.linux-i686-2.7/nc3tonc4 from
644 to 755
>>changing mode of build/scripts.linux-i686-2.7/nc4tonc3 from
644 to 755
>>
>>
>>Here is my initialization:
>>
>>from mpl_toolkits.basemap import Basemap, shiftgrid, cm
>>from netCDF4 import Dataset as NetCDFFile
>>
>>Here is result of execution of script:
>>
>>Traceback (most recent call last):
>> File "map_PrcpBias_Northeast.py", line 21, in <module>
>> from netCDF4 import Dataset as NetCDFFile
>>
>Michael: Please include the full traceback - what you posted
doesn't really tell us anything.
>
>
>How is full traceback obtained?
>
>
>
>
>>I understand using the python-netcdf package is an option.
Installed that but am getting an eror saying missing
libhdf5_hl.so.6 when trying:
>>
Do you have libhdf5_hl.so anywhere on your system after installing the libhdf5-serial package? According to this
>
>http://packages.ubuntu.com/lucid/i386/libhdf5-serial-1.8.4/filelist
>
>it should be installed in /usr/lib.
>
>
>Yes it is in /usr/lib.
>
>
>Also, if I read this
>
>http://packages.ubuntu.com/natty/libnetcdf6
>
>correctly, just installing the libnetcdf6 and libnetcdf-dev packages
should be all you need to do - they depend on libhdf5-serial.
>
>-Jeff
>
>
>Both packages are installed.
>
>MR
>
>
>
>>from Scientific.IO.NetCDF import NetCDFFile
>>
>>MR
>>
>>
>>
>>------------------------------------------------------------------------------
>>Live Security Virtual Conference
>>Exclusive live event will cover all the ways today's
security and
>>threat landscape has changed and how IT managers can
respond. Discussions
>>will include endpoint security, mobile security and the
latest in malware
>>threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>_______________________________________________
>>Matplotlib-users mailing list
>>Mat...@li...
>>https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>>
>>
>>
>>------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>
>>_______________________________________________
Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>--
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: Michael R. <raw...@ya...> - 2012-09-19 20:44:04
|
________________________________ From: Johann Rohwer <jr...@su...> To: mat...@li... Sent: Wednesday, September 19, 2012 3:22 PM Subject: Re: [Matplotlib-users] netcdf4-python build On 19/09/2012 21:14, Michael Rawlins wrote: > Just installed h5utils from package manager. Getting same errors. In > package manager I'm searching on hdf5. If there's a package there I'm > missing, then it certainly is not obvious. Try libhdf5-serial libhdf5-serial-dev Johann After installing those two packages I was able build with setup.py in netCDF4-1.0/ Last few lines of the build: creating build/scripts.linux-i686-2.7 copying and adjusting utils/nc3tonc4 -> build/scripts.linux-i686-2.7 copying and adjusting utils/nc4tonc3 -> build/scripts.linux-i686-2.7 changing mode of build/scripts.linux-i686-2.7/nc3tonc4 from 644 to 755 changing mode of build/scripts.linux-i686-2.7/nc4tonc3 from 644 to 755 Here is my initialization: from mpl_toolkits.basemap import Basemap, shiftgrid, cm from netCDF4 import Dataset as NetCDFFile Here is result of execution of script: Traceback (most recent call last): File "map_PrcpBias_Northeast.py", line 21, in <module> from netCDF4 import Dataset as NetCDFFile I understand using the python-netcdf package is an option. Installed that but am getting an eror saying missing libhdf5_hl.so.6 when trying: from Scientific.IO.NetCDF import NetCDFFile MR ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Johann R. <jr...@su...> - 2012-09-19 19:23:12
|
On 19/09/2012 21:14, Michael Rawlins wrote: > Just installed h5utils from package manager. Getting same errors. In > package manager I'm searching on hdf5. If there's a package there I'm > missing, then it certainly is not obvious. Try libhdf5-serial libhdf5-serial-dev Johann |
|
From: Michael R. <raw...@ya...> - 2012-09-19 19:15:08
|
________________________________ From: Jeff Whitaker <jef...@no...> To: Michael Rawlins <raw...@ya...>; Matplotlib Users <mat...@li...> Sent: Wednesday, September 19, 2012 2:35 PM Subject: Re: [Matplotlib-users] netcdf4-python build On 9/19/12 11:30 AM, Michael Rawlins wrote: > >Ubuntu 12.04 > > >hdf5-tools installed from package manager > > >netcdf-bin and python-netcdf installed from package manager > > >I downloaded netCDF4-1.0fix1.tar.gz from http://code.google.com/p/netcdf4-python/downloads/list > > >> python setup.py build > > > > >/usr/bin/ld: cannot find -lhdf5_hl >/usr/bin/ld: cannot find -lhdf5 >collect2: ld returned 1 exit status >/usr/bin/ld: cannot find -lhdf5_hl >/usr/bin/ld: cannot find -lhdf5 >collect2: ld returned 1 exit status >error: Command "gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-i686-2.7/netCDF4.o -L/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 -lz -o build/lib.linux-i686-2.7/netCDF4.so" failed with exit status 1 > > > Michael: You're missing the hdf5 library. You should be able to install that (along with the netcdf version 4 library) using the Ubuntu package manager. I don't know what the relevant package names are. See the docs at netcdf4-python.googlecode.com for installation instructions (including how to install the dependencies). You can also file a help request there and I'll see it (since this is not really a basemap issue). -Jeff Just installed h5utils from package manager. Getting same errors. In package manager I'm searching on hdf5. If there's a package there I'm missing, then it certainly is not obvious. Mike -- 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: Jeff W. <jef...@no...> - 2012-09-19 18:35:54
|
On 9/19/12 11:30 AM, Michael Rawlins wrote: > > Ubuntu 12.04 > > hdf5-tools installed from package manager > > netcdf-bin and python-netcdf installed from package manager > > I downloaded netCDF4-1.0fix1.tar.gz > <http://code.google.com/p/netcdf4-python/downloads/detail?name=netCDF4-1.0fix1.tar.gz&can=2&q=> > from http://code.google.com/p/netcdf4-python/downloads/list > > > python setup.py build > > > /usr/bin/ld: cannot find -lhdf5_hl > /usr/bin/ld: cannot find -lhdf5 > collect2: ld returned 1 exit status > /usr/bin/ld: cannot find -lhdf5_hl > /usr/bin/ld: cannot find -lhdf5 > collect2: ld returned 1 exit status > error: Command "gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions > -Wl,-Bsymbolic-functions -Wl,-z,relro > build/temp.linux-i686-2.7/netCDF4.o -L/usr/local/lib -L/usr/local/lib > -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 > -lz -o build/lib.linux-i686-2.7/netCDF4.so" failed with exit status 1 > > Michael: You're missing the hdf5 library. You should be able to install that (along with the netcdf version 4 library) using the Ubuntu package manager. I don't know what the relevant package names are. See the docs at netcdf4-python.googlecode.com for installation instructions (including how to install the dependencies). You can also file a help request there and I'll see it (since this is not really a basemap issue). -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: Michael R. <raw...@ya...> - 2012-09-19 17:30:13
|
Ubuntu 12.04 hdf5-tools installed from package manager netcdf-bin and python-netcdf installed from package manager I downloaded netCDF4-1.0fix1.tar.gz from http://code.google.com/p/netcdf4-python/downloads/list > python setup.py build /usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot find -lhdf5 collect2: ld returned 1 exit status /usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot find -lhdf5 collect2: ld returned 1 exit status error: Command "gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-i686-2.7/netCDF4.o -L/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib -lnetcdf -lhdf5_hl -lhdf5 -lz -o build/lib.linux-i686-2.7/netCDF4.so" failed with exit status 1 |
|
From: Andrea G. <and...@gm...> - 2012-09-19 15:08:38
|
Hi All,
I am currently trying to plot 4 points (but they will be more, in
an animated sequence later), and I am trying to use an image as a
point marker. I am using the axes transData transform to get the point
coordinates from the data world to the display world.
Everything seems to be working OK (i.e., the images are placed
correctly close to the plot points); however, as soon as I try to
force the axes into an "equal" aspect ratio with this command:
ax.set_aspect('equal')
Then all the calculations are messed up and the images end up very far
from the plot points. I have tried also the approach mentioned in this
StackOverflow post:
http://stackoverflow.com/questions/2318288/how-to-use-custom-marker-with-plot
But I get the same wrong answer when I set the "equal" aspect ratio
for the axes.
I am attaching a small sample application which demonstrates the
problem, a small "smiley.png" image needed to run the script and two
plots generated by my script, one with the "equal" aspect ratio and
the other without.
I appreciate any suggestion, as I feel I am missing something important...
Thank you in advance.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
# ------------------------------------------------------------- #
def ask_mailing_list_support(email):
if mention_platform_and_version() and include_sample_app():
send_message(email)
else:
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #
|
|
From: Fabien L. <laf...@gm...> - 2012-09-19 13:14:51
|
Actually I want to try to plot something like this picture: http://physics.aps.org/assets/d88621a594e78eea With a color for inside and another for outside. |
|
From: Paul H. <pmh...@gm...> - 2012-09-19 01:56:25
|
On Tue, Sep 18, 2012 at 3:14 PM, Sean Lake <ody...@gm...> wrote: > Hello all, > > I want to adjust the wspace used in a gridspec plot on a cell by cell basis. Anyone have suggestions for how to do that? I haven't been able to find an api to do that directly. The other possibility would be to be able to embed a gridspec within a gridspec, but I'm not sure if that's possible, either. > > More details: I have a plot that has two subplots arranged in a single row or column. Both plots share their relevant border axis, so I don't want space between them. They also share a color bar, however, and the only way I've been able to get that to draw in a sane way was to give it it's own axes instance in a separate cell of the gridspec. I therefore want to remove the space between the main plots without removing it for the color bar. This worked fine for the wider than tall plots since I could stack them and set hspace to 0 and have the color bar extend across rows. For the pair of plots that are more square, and therefor best put side by side, I'm having trouble finding a solution. > > Thanks, > Sean Sean, I *think* the best way to do this is use multiple GridSpec objects within a single figure. Does this example help? http://matplotlib.org/users/gridspec.html#adjust-gridspec-layout -paul |
|
From: Mike K. <mc...@gm...> - 2012-09-19 01:51:33
|
On 9/18/12 6:14 PM, Sean Lake wrote: > Hello all, > > I want to adjust the wspace used in a gridspec plot on a cell by cell > basis. Anyone have suggestions for how to do that? I haven't been > able to find an api to do that directly. The other possibility would > be to be able to embed a gridspec within a gridspec, but I'm not sure > if that's possible, either. > > More details: I have a plot that has two subplots arranged in a > single row or column. Both plots share their relevant border axis, so > I don't want space between them. They also share a color bar, > however, and the only way I've been able to get that to draw in a > sane way was to give it it's own axes instance in a separate cell of > the gridspec. I therefore want to remove the space between the main > plots without removing it for the color bar. This worked fine for the > wider than tall plots since I could stack them and set hspace to 0 > and have the color bar extend across rows. For the pair of plots that > are more square, and therefor best put side by side, I'm having > trouble finding a solution. > I wonder if hspace and wspace in gridspec should take arrays like width_ratios and height_ratios. Try axes_grid1 instead. http://matplotlib.org/mpl_toolkits/axes_grid/users/overview.html#axes-grid1 (though the documentation is not the best) I think this example does what you want: M import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import make_axes_locatable import numpy as np clf() ax = plt.subplot(111) im = ax.imshow(np.arange(100).reshape((10,10))) divider = make_axes_locatable(ax) ax1 = divider.append_axes("right", size="100%", pad=0.0) im1 = ax1.imshow(np.arange(100).reshape((10,10)).transpose()) cax = divider.append_axes("right", size="5%", pad=0.05) plt.colorbar(im1, cax=cax) plt.draw() |
|
From: gsal <sal...@gm...> - 2012-09-19 00:50:04
|
oh, o.k., I will read up on that...for now, with python, I simply plotting one instance at a time and saving every image; then, with ffmpeg, gluing the gluing the images together from the command line. thanks Germán -- View this message in context: http://matplotlib.1069221.n5.nabble.com/animation-or-movie-tp38969p38975.html Sent from the matplotlib - users mailing list archive at Nabble.com. |