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) |
|
|
|
|
|
|
Hi all, I have managed to create a 3d plot with uneven aspect ratio via auto_scale_xyz but I haven't yet figured out how to fix the grid. If you could give me a pointer I would appreciate it. http://imagebin.org/index.php?mode=image&id=229196 Thanks, -- Brian Mingus Graduate student Computational Cognitive Neuroscience Lab University of Colorado at Boulder http://grey.colorado.edu/mingus 1-720-587-9482
Yes, that works. Many thanks. On Thu, Sep 20, 2012 at 1:12 AM, Benjamin Root <ben...@ou...> wrote: > > > On Wednesday, September 19, 2012, Adam Davis wrote: > >> 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? >> > > > This is an autoscaling issue, I think. Your best bet is to explicitly set > the x limits yourself. > > Cheers, > Ben Root >
On Wednesday, September 19, 2012, Adam Davis wrote: > 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? > This is an autoscaling issue, I think. Your best bet is to explicitly set the x limits yourself. Cheers, Ben Root
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.
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: 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 > >
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: 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: 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
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: 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
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
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
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() # ------------------------------------------------------------- #
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.
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
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()
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.
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
On Tue, Sep 18, 2012 at 3:10 PM, gsal <sal...@gm...> wrote: > Animation/movie advice. > > So, earlier, I got some help in finding out about pcolorfast that allowed > me > to plot some data as a nice contour. > > Now, I would like to get fancier and actually take a look as such contour > as > it varies with time... > > how to go about it? > some kind of animation? or movie? > > If I want to do one cycle wt=0..2pi rad, or equivalently, wt=1..360 deg, I > could go ahead and create all 360 contours ahead of time, save them, and > them somehow display them in a sequence. > > I just have never done animation or gluing pictures into a movie. > > Any advise would be greatly appreciated. > > Thanks, > > Germán > > > This should get you started. Unfortunately, the documentation is very sparse, but the examples should be illuminating. Note that you will need to have either ffmpeg or mencoder installed if you wish to save any of these to movie files. http://matplotlib.org/examples/animation/index.html http://matplotlib.org/api/animation_api.html Cheers! Ben Root
Animation/movie advice. So, earlier, I got some help in finding out about pcolorfast that allowed me to plot some data as a nice contour. Now, I would like to get fancier and actually take a look as such contour as it varies with time... how to go about it? some kind of animation? or movie? If I want to do one cycle wt=0..2pi rad, or equivalently, wt=1..360 deg, I could go ahead and create all 360 contours ahead of time, save them, and them somehow display them in a sequence. I just have never done animation or gluing pictures into a movie. Any advise would be greatly appreciated. Thanks, Germán -- View this message in context: http://matplotlib.1069221.n5.nabble.com/animation-or-movie-tp38969.html Sent from the matplotlib - users mailing list archive at Nabble.com.
________________________________ From: Jeff Whitaker <js...@fa...> To: mat...@li... Cc: raw...@ya... Sent: Thursday, September 13, 2012 9:44 PM Subject: Re: [Matplotlib-users] error installing basemap Michael: The NetCDFFile function was deprecated a few releases back, and recently removed. If you have netcdf4-python installed you can do from netCDF4 import Dataset as NetCDFFile and the script should work as before. Regarding the second error, you must open the file for write access (mode='w') if you want to add attributes to the data variables. -Jeff From: Michael Rawlins <raw...@ya...> To: Jeff Whitaker <js...@fa...>; "mat...@li..." <mat...@li...> Sent: Thursday, September 13, 2012 10:28 PM Subject: Re: [Matplotlib-users] error installing basemap Making some progress. Following here: http://code.google.com/p/netcdf4-python/wiki/UbuntuInstall I've installed HDF5 after installing build-essential package. With just gcc installed I got an error. The ./configure in netcdf4 directory failed, but completed with --disable-netcdf-4. I went ahead anyway hoping I don't need netCDF-4 formats or the additional netCDF-4 functions. Besides that issue, what's also not clear is where is setup.py file for the last step. It is not in the netcdf directory after the make install finished. I assume netcdf-python package will not conflict with the python-netcdf and netcdf versions installed through package manager. Mike ________________________________ From: Michael Rawlins <raw...@ya...> To: "mat...@li..." <mat...@li...> Sent: Friday, September 14, 2012 1:34 AM Subject: Re: [Matplotlib-users] error installing basemap Got sidetracked with an OS issue. Back on the case. Where is the setup.py file I'm to install? I've installed both HDF5 and netcdf-4, correctly I hope. Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users -
On Sun, Sep 16, 2012 at 8:38 PM, Eric Firing <ef...@ha...> wrote: > On 2012年09月16日 8:54 AM, Benjamin Root wrote: >> >> >> On Sun, Sep 16, 2012 at 2:09 PM, Skipper Seabold <jss...@gm... >> <mailto:jss...@gm...>> wrote: >> >> Is there a way to overwrite suptitle? When using 3rd party libs that >> return a figure, if they set suptitle and don't give you the text >> object back then you can't overwrite it? This doesn't seem right to >> me. >> >> http://stackoverflow.com/questions/10559144/matplotlib-suptitle-prints-over-old-title >> >> Skipper >> >> >> Correct, this still seems to be the case. Looking at the code in >> figure.py, the suptitle() function just creates a text object and places >> it at a default location. Then it simply returns the object without >> saving a reference to it being a figure title. The only reference kept >> is in the self.texts list that it keeps. I see no reason why it has to >> be this way, though, and would certainly welcome a patch to fix this >> oversight (would make the code involving bbox_tight to be more simple, I >> think. > > OK, I guess I see the problem now: Figure.suptitle really should be able > to replace a prior suptitle, and the most straightforward way to > facilitate this is with an explicit reference kept by the Figure. > > Eric > >> >> Ben Root >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://ad.doubleclick.net/clk;258768047;13503038;j? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Fixed in https://github.com/matplotlib/matplotlib/pull/1276. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom
It should be back up now. On 09/18/2012 08:42 AM, Michael Droettboom wrote: > Sorry -- I seem to have missed that in the transition from Sourceforge > to github hosting. I restore it. In the meantime, you can download > the source for it here: > > https://github.com/matplotlib/sampledoc > > Mike > > On 09/18/2012 02:29 AM, Massimo Di Stefano wrote: >> Hi All, >> >> I'm trying to access to the sampledoc tutorial, but seems it is no >> more on git/sourceforge, >> i tried at the link : >> >> http://matplotlib.sourceforge.net/sampledoc/ >> >> do you know where can i find it ? >> >> Thanks! >> >> Massimo. >> >> >> >> ------------------------------------------------------------------------------ >> 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
Sorry -- I seem to have missed that in the transition from Sourceforge to github hosting. I restore it. In the meantime, you can download the source for it here: https://github.com/matplotlib/sampledoc Mike On 09/18/2012 02:29 AM, Massimo Di Stefano wrote: > Hi All, > > I'm trying to access to the sampledoc tutorial, but seems it is no > more on git/sourceforge, > i tried at the link : > > http://matplotlib.sourceforge.net/sampledoc/ > > do you know where can i find it ? > > Thanks! > > Massimo. > > > > ------------------------------------------------------------------------------ > 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