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
(47) |
2
(13) |
3
(12) |
4
(16) |
5
(3) |
|
6
(6) |
7
(20) |
8
(45) |
9
(24) |
10
(30) |
11
(14) |
12
(4) |
|
13
(1) |
14
(6) |
15
(6) |
16
(10) |
17
(15) |
18
(13) |
19
(4) |
|
20
|
21
(14) |
22
(13) |
23
(9) |
24
(19) |
25
(24) |
26
|
|
27
(4) |
28
(20) |
29
(17) |
30
(7) |
|
|
|
|
From: Bill E. <ee...@ae...> - 2010-06-23 15:25:31
|
I stumbled across a basemap demo a couple of days ago and was immediately
enchanted.
I can't get it to install nicely on a Windoze box with matplotlib 0.99.3.
When I try the famous
from mpl_toolkits.basemap import Basemap
directive, I get
In [1]: from mpl_toolkits.basemap import Basemap
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
C:\Documents and Settings\Bill.DC1\<ipython console> in <module>()
C:\Python26\lib\site-packages\mpl_toolkits\basemap\__init__.py in <module>()
36 from matplotlib.lines import Line2D
37 from matplotlib.transforms import Bbox
---> 38 import pyproj, sys, os, math, dbflib
39 from proj import Proj
40 import numpy as np
C:\Python26\lib\site-packages\mpl_toolkits\basemap\pyproj.py in <module>()
46 CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """
47
---> 48 from _proj import Proj as _Proj
49 from _geod import Geod as _Geod
50 from _proj import _transform
C:\Documents and Settings\Bill.DC1\c_numpy.pxd in _proj (src/_proj.c:3234)()
ValueError: numpy.dtype does not appear to be the correct type object
I tried manually installing many of the prerequisites (which should be
bundled) and also reinstalling MPL. But still no joy.
On my Linux box running 0.99.0, I was able to install basemap and run one of
the example codes. Works quite nicely.
|
|
From: Jonathan S. <js...@cf...> - 2010-06-23 14:41:15
|
Thanks to Benjamin Root and Jae-Joon Lee for their responses. The solution that I had come up with in the mean time is similar to Jae-Joon's suggestion. I did: c = contour(z,level,colors='k') xy = c.collections[0].get_paths()[0].vertices # produces (N,2) array of points plot(xy[:,0],xy[:,1],'w') c.collections[0].get_paths() returns a list of Path objects. These have the attribute vertices which contains the values used to draw the contour. Jae-Joon's method is a bit more straightforward than mine, though it's nice to know where those contour paths are stored. Jon On Tue, 2010-06-22 at 22:40 -0400, Jae-Joon Lee wrote: > contour creates list of LineCollection objects (per each level I > suppose) which is stored in "collections" attribute. For example, > > cntr = contour(A, levels) > > then > > cntr.collections[i] is a LineCollection objects that is associated > with levels[i]. > > And you can change colors of each line in the LineCollection object > with set_edgecolors method. > > So, assuming that there is two contour lines for the first level. > > cntr.collections[0].set_edgecolors(["none", "r"]) > > will change the color of the first contour to "none" (i.e., not drawn) > and the second one to red. > > But you need to figure out which one is the one you want. > > IHTH, > > -JJ > > > On Tue, Jun 22, 2010 at 2:46 PM, Jonathan Slavin > <js...@cf...> wrote: > > To all: > > > > I'm making a plot with an image and a contour on it. I use only one > > level in the call to contour, but it results in two distinct contours, > > an inner closed one and an outer open one. I want to plot only the > > outer piece. How might I go about that? I've been looking at the > > properties of the ContourSet object returned by the call to contour but > > can't find anything useful yet. Is there an attribute of ContourSet > > objects that contains the (x,y) values for the contour? Is there some > > way to see that a ContourSet object has separate pieces? > > > > Any help would be appreciated. > > > > Thanks, > > Jon > > > > > > ------------------------------------------------------------------------------ > > ThinkGeek and WIRED's GeekDad team up for the Ultimate > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > lucky parental unit. See the prize list and enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- ______________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA js...@cf... 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ______________________________________________________________ |
|
From: Mike A. <and...@ce...> - 2010-06-23 13:09:26
|
Hi, I'm trying to run a demo example, http://matplotlib.sourceforge.net/plot_directive/mpl_toolkits/axes_grid/figures/demo_axes_grid.py ran into this problem saying pygtk was needed: $ curl http://matplotlib.sourceforge.net/plot_directive/mpl_toolkits/axes_grid/figures/demo_axes_grid.py> demo_axes_grid.py $ python demo_axes_grid.py Traceback (most recent call last): File "demo_axes_grid.py", line 1, in <module> import matplotlib.pyplot as plt File "/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/pyplot.py", line 78, in <module> new_figure_manager, draw_if_interactive, show = pylab_setup() File "/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup globals(),locals(),[backend_name]) File "/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/backends/backend_gtkagg.py", line 10, in <module> from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\ File "/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 11, in <module> raise ImportError("Gtk* backend requires pygtk to be installed.") ImportError: Gtk* backend requires pygtk to be installed. Then I tried to install pygtk: $ pip install pygtk Downloading/unpacking pygtk Running setup.py egg_info for package pygtk Traceback (most recent call last): File "<string>", line 14, in <module> File "/Users/michaelanderson/root/mikeWork/2010June/temp/build/pygtk/setup.py", line 22, in <module> from dsextras import get_m4_define, getoutput, have_pkgconfig, \ ImportError: No module named dsextras Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 14, in <module> File "/Users/michaelanderson/root/mikeWork/2010June/temp/build/pygtk/setup.py", line 22, in <module> from dsextras import get_m4_define, getoutput, have_pkgconfig, \ ImportError: No module named dsextras ---------------------------------------- Command python setup.py egg_info failed with error code 1 Storing complete log in /Users/michaelanderson/.pip/pip.log Ok, then I tried to install dsextras: $ pip install dsextras Downloading/unpacking dsextras Could not find any downloads that satisfy the requirement dsextras No distributions at all found for dsextras Storing complete log in /Users/michaelanderson/.pip/pip.log What is this obscure package (dsextras) and is it really necessary to run the shared axes demo? Mike |
|
From: David M. <dav...@gm...> - 2010-06-23 06:29:59
|
Hello, I have Matplotlib running embedded in a wxPython app with the ability to show/hide the toolbar. When I hide the toolbar the current tool remains active (i.e. zooming) even though the toolbar is invisible. Is there a way to turn off the tools when I hide the toolbar? The toolbar I'm using is matplotlib.backends.backend_wxagg.NavigationToolbar2WxAgg Thanks, David Morton |
|
From: Stephen G. <ste...@op...> - 2010-06-23 03:58:48
|
>> However if I am zoomed in on my graph looking at detail, then click the >> radio button, the scatter plot forces the graph to resize to once again >> show the overall intial view (zoomed out). >> > Try using: > > axes.set_autoscale_on(False) > Thank you very much, this does exactly what I was after. I call this BEFORE adding my scatter plot, and the current view (zoom in) remains. Much appreciated, thanks again - Steve |
|
From: Jae-Joon L. <lee...@gm...> - 2010-06-23 02:40:57
|
contour creates list of LineCollection objects (per each level I suppose) which is stored in "collections" attribute. For example, cntr = contour(A, levels) then cntr.collections[i] is a LineCollection objects that is associated with levels[i]. And you can change colors of each line in the LineCollection object with set_edgecolors method. So, assuming that there is two contour lines for the first level. cntr.collections[0].set_edgecolors(["none", "r"]) will change the color of the first contour to "none" (i.e., not drawn) and the second one to red. But you need to figure out which one is the one you want. IHTH, -JJ On Tue, Jun 22, 2010 at 2:46 PM, Jonathan Slavin <js...@cf...> wrote: > To all: > > I'm making a plot with an image and a contour on it. I use only one > level in the call to contour, but it results in two distinct contours, > an inner closed one and an outer open one. I want to plot only the > outer piece. How might I go about that? I've been looking at the > properties of the ContourSet object returned by the call to contour but > can't find anything useful yet. Is there an attribute of ContourSet > objects that contains the (x,y) values for the contour? Is there some > way to see that a ContourSet object has separate pieces? > > Any help would be appreciated. > > Thanks, > Jon > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Ryan M. <rm...@gm...> - 2010-06-23 02:37:46
|
On Tue, Jun 22, 2010 at 8:56 PM, Stephen George <ste...@op...> wrote: > I have an application that draws a line plot of a spectrum. When the > spectrum is collected different gains and filters may be used for each > data point (which I have also collected). I am looking at artefacts in > the spectrum and trying to correlate them with things such as the gain > and filter changes etc. > > On the application I have a number of radio buttons, when clicked will > add a scatter plot of the datapoints but color coded by the item of > interest. > i.e. > click the gain btn I end up with the line plot, and each data point has > a color coded dot whose color is keyed to the gain the data point was > taken at. > click the filter btn I remove the gain scatter plot, and add a filter > scatter plot where each data point is color coded with the filter used. > > This functionality work fine. > > However if I am zoomed in on my graph looking at detail, then click the > radio button, the scatter plot forces the graph to resize to once again > show the overall intial view (zoomed out). Try using: axes.set_autoscale_on(False) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Benjamin R. <ben...@ou...> - 2010-06-23 02:35:19
|
Stephen, Most likely, the program isn't really going back to the "original" axes as much that it is automatically setting the axes to fit all the data from the new plot (which would likely be the "original axes", but only by coincidence). I am sure there is some sort of easy way to do this, but the brute-force way would be for any action to create a plot to first check and see what the current x and y lims are and save them to temporary variables. Then, after creating the plots, call set the x and y lims from the temporary variables. Note that there might be an issue with the first graph, because you don't want to set the axes after creating the graph using the information prior to the graphing. I don't know how one would detect that, besides some sort of counter and an if-statement. Maybe someone else has a better way? Ben Root On Tue, Jun 22, 2010 at 8:56 PM, Stephen George <ste...@op...>wrote: > > Hi, > > I have an application that draws a line plot of a spectrum. When the > spectrum is collected different gains and filters may be used for each > data point (which I have also collected). I am looking at artefacts in > the spectrum and trying to correlate them with things such as the gain > and filter changes etc. > > On the application I have a number of radio buttons, when clicked will > add a scatter plot of the datapoints but color coded by the item of > interest. > i.e. > click the gain btn I end up with the line plot, and each data point has > a color coded dot whose color is keyed to the gain the data point was > taken at. > click the filter btn I remove the gain scatter plot, and add a filter > scatter plot where each data point is color coded with the filter used. > > This functionality work fine. > > However if I am zoomed in on my graph looking at detail, then click the > radio button, the scatter plot forces the graph to resize to once again > show the overall intial view (zoomed out). > > I am wondering how can I add the scatter plot, without changing the > current view (zoom level) that I am currently using, but still add all > the scatter plot data? > > Any suggestions gratefully accepted. > > Steve > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Stephen G. <ste...@op...> - 2010-06-23 02:20:09
|
Hi, I have an application that draws a line plot of a spectrum. When the spectrum is collected different gains and filters may be used for each data point (which I have also collected). I am looking at artefacts in the spectrum and trying to correlate them with things such as the gain and filter changes etc. On the application I have a number of radio buttons, when clicked will add a scatter plot of the datapoints but color coded by the item of interest. i.e. click the gain btn I end up with the line plot, and each data point has a color coded dot whose color is keyed to the gain the data point was taken at. click the filter btn I remove the gain scatter plot, and add a filter scatter plot where each data point is color coded with the filter used. This functionality work fine. However if I am zoomed in on my graph looking at detail, then click the radio button, the scatter plot forces the graph to resize to once again show the overall intial view (zoomed out). I am wondering how can I add the scatter plot, without changing the current view (zoom level) that I am currently using, but still add all the scatter plot data? Any suggestions gratefully accepted. Steve |