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
(20) |
2
(21) |
3
(21) |
4
(14) |
5
(8) |
|
6
(12) |
7
(16) |
8
(27) |
9
(39) |
10
(19) |
11
(12) |
12
(3) |
|
13
(3) |
14
(18) |
15
(14) |
16
(6) |
17
(7) |
18
(19) |
19
(5) |
|
20
(8) |
21
(24) |
22
(42) |
23
(12) |
24
(11) |
25
(16) |
26
(2) |
|
27
(4) |
28
(10) |
|
|
|
|
|
|
From: Ray S. <sp...@MI...> - 2011-02-11 21:06:14
|
Hi, I wrote a script to generate streamline plots using matplotlib a while ago, and this post inspired me to finally clean it up a bit. The code is available at http://web.mit.edu/speth/Public/streamlines.py and you can see an example of its output at http://web.mit.edu/speth/Public/streamlines.png I'd be happy to have it find a home in matplotlib if it would be useful to other people there. Ray On 02/11/2011 11:10 AM, Gökhan Sever wrote: > Hi, > I see two related requests on: > http://old.nabble.com/matplotlib-to-draw-streamlines--td28008708.html > http://www.mail-archive.com/mat...@li.../msg07267.html > a request filed on > http://sourceforge.net/tracker/index.php?func=detail&aid=3080981&group_id=80706&atid=560723 > <http://sourceforge.net/tracker/index.php?func=detail&aid=3080981&group_id=80706&atid=560723> > Is there any progress on this plot? Or source guides to implement such > functionality in mpl? > PS: The feature request @ > http://sourceforge.net/tracker/?atid=560723&group_id=80706&func=browse > <http://sourceforge.net/tracker/?atid=560723&group_id=80706&func=browse> looks > spammed? Anyone works on clearing these? > > -- > Gökhan > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Jeff W. <js...@fa...> - 2011-02-11 20:16:29
|
On 2/11/11 9:45 AM, Jeff Whitaker wrote: > On 2/11/11 9:10 AM, Gökhan Sever wrote: >> Hi, >> I see two related requests on: >> http://old.nabble.com/matplotlib-to-draw-streamlines--td28008708.html >> http://www.mail-archive.com/mat...@li.../msg07267.html >> a request filed on >> http://sourceforge.net/tracker/index.php?func=detail&aid=3080981&group_id=80706&atid=560723 >> <http://sourceforge.net/tracker/index.php?func=detail&aid=3080981&group_id=80706&atid=560723> >> Is there any progress on this plot? Or source guides to implement such >> functionality in mpl? >> PS: The feature request @ >> http://sourceforge.net/tracker/?atid=560723&group_id=80706&func=browse >> <http://sourceforge.net/tracker/?atid=560723&group_id=80706&func=browse> looks >> spammed? Anyone works on clearing these? >> >> -- >> Gökhan > Gökhan: Nobody is working on that as far as I know. An interesting > alternative to streamlines can be found here: > > http://scikits.appspot.com/vectorplot > > -Jeff > > Gökhan: I just added a lic_demo.py example to basemap SVN that shows how to use the vectorplot scikit with basemap (image as http://jswhit.fastmail.fm/lic_demo.png). Is this the sort of thing you were looking for? -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: C M <cmp...@gm...> - 2011-02-11 17:10:34
|
On Thu, Jan 20, 2011 at 4:44 AM, Stephan Markus <zw...@we...> wrote: > > Hello! > > I am also using two axes in a plot and want to be able to pick the lines of > both axes. > So far I used MPL 0.99.3 and a button on my interface to change the z-order > of the axes in order to be able to pick lines of the "active" axes and to > see the correct x/y data in the navigation toolbar. The callback code of my > button is basically the code from othererik. > > Since MPL 1.0.0 I have the problem that lines of the second axes simply > disappear from the plot whenever the plot is redrawn and it's zorder is > higher. This thread, in which I asked a similar question and receive a workable solution from JJ, might be helpful. I am now just automatically moving all my lines over to the highest z-order axis so that whatever is visible is pickable. (But see below for a gotcha) http://old.nabble.com/unable-to-point-pick-2nd-axis-after-upgrade-to-mpl-1.0-td30400311.html On this note, to the developers: This need to take into account the z-order for picking lines has made my development more difficult. I have had a week's delay due to a difficult-to-understand bug in my code in which I prematurely moved the line over to the highest z-order axis, and then tried to format the axis with a custom formatter--causing an error. Simply moving the line only after all formatting is done fixed the bug, but that wasn't obvious for a while. The need to track which lines are on which z-order and to move them only after all formatting/locating has been done on them strikes me as a new "gotcha" that the simpler and more intuitive approach of "if you can see it, you can pick it" didn't have. (I have a somewhat complex case, though, in which there are three possible sorts of axes that could wind up on either the right or left sides). It also seems counter-intuitive that a line can "belong" to an axis from the in Matplotlib and yet for the user it clearly is measured using the other axis. Could "z-order mattering" be toggled? Anyway, my 2 cents. Thanks, Che |
|
From: Jeff W. <js...@fa...> - 2011-02-11 16:45:48
|
On 2/11/11 9:10 AM, Gökhan Sever wrote: > Hi, > I see two related requests on: > http://old.nabble.com/matplotlib-to-draw-streamlines--td28008708.html > http://www.mail-archive.com/mat...@li.../msg07267.html > a request filed on > http://sourceforge.net/tracker/index.php?func=detail&aid=3080981&group_id=80706&atid=560723 > <http://sourceforge.net/tracker/index.php?func=detail&aid=3080981&group_id=80706&atid=560723> > Is there any progress on this plot? Or source guides to implement such > functionality in mpl? > PS: The feature request @ > http://sourceforge.net/tracker/?atid=560723&group_id=80706&func=browse > <http://sourceforge.net/tracker/?atid=560723&group_id=80706&func=browse> looks > spammed? Anyone works on clearing these? > > -- > Gökhan Gökhan: Nobody is working on that as far as I know. An interesting alternative to streamlines can be found here: http://scikits.appspot.com/vectorplot -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: Gökhan S. <gok...@gm...> - 2011-02-11 16:10:43
|
Hi, I see two related requests on: http://old.nabble.com/matplotlib-to-draw-streamlines--td28008708.html http://www.mail-archive.com/mat...@li.../msg07267.html a request filed on http://sourceforge.net/tracker/index.php?func=detail&aid=3080981&group_id=80706&atid=560723 Is there any progress on this plot? Or source guides to implement such functionality in mpl? PS: The feature request @ http://sourceforge.net/tracker/?atid=560723&group_id=80706&func=browse looks spammed? Anyone works on clearing these? -- Gökhan |
|
From: Daniel H. <dh...@gm...> - 2011-02-11 13:54:16
|
This is a slightly updated version of the script that uses subplots instead of making you pop two windows, which doesn't seem to work like I wanted it to on all systems. None of the code that does the locating has changed; only the demonstration part. -- Daniel Hyams dh...@gm... |
|
From: Matthew T. <mat...@gm...> - 2011-02-11 12:41:54
|
Hi Ben,
On Thu, Feb 10, 2011 at 5:27 PM, Benjamin Root <ben...@ou...> wrote:
>
>
> On Thu, Feb 10, 2011 at 4:13 PM, Matthew Turk <mat...@gm...> wrote:
>>
>> Hi Ben,
>>
>> On Thu, Feb 10, 2011 at 5:06 PM, Benjamin Root <ben...@ou...> wrote:
>> > On Thu, Feb 10, 2011 at 1:38 PM, Matthew Turk <mat...@gm...>
>> > wrote:
>> >>
>> >> Hi there,
>> >>
>> >> I'm plotting some images in latitude/longitude space. These are
>> >> images generated using the HEALpix method for discretizing the sphere,
>> >> but I have resampled them to a regular grid of phi, theta, and the
>> >> resultant image is contained in a variable img. This is a fully-self
>> >> contained snippet:
>> >>
>> >> import matplotlib.figure
>> >> import matplotlib.backends.backend_agg
>> >> import numpy
>> >> from numpy import pi
>> >>
>> >> img = numpy.random.random((800, 800))
>> >> fig = matplotlib.figure.Figure((10, 4.9))
>> >> ax = fig.add_subplot(1,1,1,projection='mollweide')
>> >> image = ax.imshow(img, extent=(-pi,pi,-pi/2,pi/2), clip_on=False,
>> >> aspect=0.5)
>> >> cb = fig.colorbar(image, orientation='horizontal')
>> >> canvas = matplotlib.backends.backend_agg.FigureCanvasAgg(fig)
>> >> canvas.print_figure("hi.png")
>> >>
>> >> This makes a very nice looking figure, basically as expected: a black
>> >> oval outline for the map projection with the image inside it, the
>> >> lat/lon axes identified, etc. What I'm running into here is that I
>> >> would like to fiddle with the size of the figure, to adjust the
>> >> whitespace and the position of the colorbar and so on, but any
>> >> adjustment to the height of the figure instantiation, for instance:
>> >>
>> >> fig = matplotlib.figure.Figure((10, 4.9))
>> >>
>> >> (and the rest unchanged) results in the black oval, the axes, but the
>> >> image content is completely blank. Is this a bug, or just a subtlety
>> >> I'm missing?
>> >>
>> >> Thanks for any ideas!
>> >>
>> >> Best,
>> >>
>> >> Matt
>> >>
>> >
>> > I am curious, why are you saving the figure using canvas.print_figure()?
>> > How is it different from fig.savefig()? If you, for some reason, must
>> > use
>> > canvas.print_figure(), then it seems like you are creating a new canvas
>> > from
>> > the figure (I don't know, maybe it grabs figure's existing canvas
>> > object?). In other words, you could just simply do:
>> >
>> > fig.savefig("hi.png")
>>
>> Maybe I'm doing something wrong here, but in the example script I gave
>> the figure does not have a canvas object affiliated with it; it's set
>> to None until I execute this operation:
>>
>> canvas = matplotlib.backends.backend_agg.FigureCanvasAgg(fig)
>>
>> At that point, fig.canvas is not None, and is the same canvas that I
>> just created:
>>
>> >>> print fig.canvas
>> None
>> >>> canvas = matplotlib.backends.backend_agg.FigureCanvasAgg(fig)
>> >>> canvas.print_figure("hi.png")
>> >>> fig.canvas
>> <matplotlib.backends.backend_agg.FigureCanvasAgg instance at 0x10263d3b0>
>> >>> canvas is fig.canvas
>> True
>>
>> >
>> > or, if you must use canvas.print_figure(), you could do:
>> >
>> > fig.canvas.print_figure()
>> >
>> > instead of the two lines you have right now.
>> >
>> > See if that makes a difference.
>>
>> Unfortunately it didn't end up making a difference. The image is
>> still printed, with colorbar, with lat/lon lines, but no image in the
>> center of the black oval for the projection.
>>
>> Thanks,
>>
>> Matt
>>
>
> I just figured out why you don't have a canvas object. It is because you
> aren't creating your figure object correctly. Try this:
>
> import matplotlib.pyplot as plt
> import numpy
> from numpy import pi
>
> img = numpy.random.random((800, 800))
> fig = plt.figure(figsize=(10, 4.9))
> ax = fig.add_subplot(1,1,1,projection='mollweide')
> image = ax.imshow(img, extent=(-pi,pi,-pi/2,pi/2), clip_on=False,
> aspect=0.5)
> cb = fig.colorbar(image, orientation='horizontal')
> fig.savefig("hi.png")
>
> Notice that the figure is created through the pyplot's figure() method.
> Because pyplot knows the backend, it is able to assign the correct canvas
> object when making the figure object. This can't be done from the Figure
> constructor alone. Once a proper figure object is made, it can then
> properly call savefig().
>
> See if that helps!
> Ben Root
>
>
This script does work, but it gives exactly the same results as my
original script -- which is that if the figure size is set to (10,5.0)
it will include the image plot inside the black oval for the
projection, but if the figure size is (10,4.9) it will not. I've
placed two images here:
http://imgur.com/CApcml&hc4ES
http://imgur.com/CApcm&hc4ESl
The first image was created with figsize (10,5). The second was with
figsize (10,4.9). The image plot does not appear in the second one,
although its bounding box does. Any ideas?
Thanks!
Matt
|
|
From: Jeff L. <lay...@at...> - 2011-02-11 12:21:22
|
On 02/11/2011 03:48 AM, Jae-Joon Lee wrote:
> On Fri, Feb 11, 2011 at 8:38 AM, Jeff Layton<lay...@at...> wrote:
>> I hate to be the first one to comment on this post but I forgot to give
>> the error message and version of matplotlib. The error is,
>>
>> Traceback (most recent call last):
>> File "./multi_file_test_2.py", line 460, in<module>
>> ax.legend( (p1[0], p2[0]), ('IO Time', 'Total Elapsed Time'),
>> bbox_to_anchor=(1.05, 1), loc=2);
>> File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line
>> 3617, in legend
>> self.legend_ = mlegend.Legend(self, handles, labels, **kwargs)
>> TypeError: __init__() got an unexpected keyword argument 'bbox_to_anchor'
>>
>>
>> The version of matplotlib I'm using is, 0.98.3-4ubuntu1
>>
>> Jeff
>>
> I'm quite sure that the *bbox_to_anchor* parameter is introduced later
> than 0.98.
> I think you have a few options,
>
> * use "loc" parameter.
> * see if "figlegend" helps.
> * create a empty axes just for the purpose of drawing the legend.
> * upgrade to 1.0.1 and I highly recommend it if you can.
>
> Regards,
>
> -JJ
I was worried about that. I will try to update my system but it's
an old Ubuntu 8.10 system. Looks like I have an excuse to
upgrade Ubuntu :)
Thanks!
Jeff
|
|
From: Jae-Joon L. <lee...@gm...> - 2011-02-11 08:48:28
|
On Fri, Feb 11, 2011 at 8:38 AM, Jeff Layton <lay...@at...> wrote:
> I hate to be the first one to comment on this post but I forgot to give
> the error message and version of matplotlib. The error is,
>
> Traceback (most recent call last):
> File "./multi_file_test_2.py", line 460, in <module>
> ax.legend( (p1[0], p2[0]), ('IO Time', 'Total Elapsed Time'),
> bbox_to_anchor=(1.05, 1), loc=2);
> File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line
> 3617, in legend
> self.legend_ = mlegend.Legend(self, handles, labels, **kwargs)
> TypeError: __init__() got an unexpected keyword argument 'bbox_to_anchor'
>
>
> The version of matplotlib I'm using is, 0.98.3-4ubuntu1
>
> Jeff
>
I'm quite sure that the *bbox_to_anchor* parameter is introduced later
than 0.98.
I think you have a few options,
* use "loc" parameter.
* see if "figlegend" helps.
* create a empty axes just for the purpose of drawing the legend.
* upgrade to 1.0.1 and I highly recommend it if you can.
Regards,
-JJ
>
>> Good evening,
>>
>> I've been trying to find a way to move the legend outside
>> the plot so it doesn't cover it up. I've seen some things
>> online but I can quite get them to work (probably just my
>> lack of knowledge about matplotlib).
>>
>> The section of code creating the plot looks like,
>>
>> fig = plt.figure()
>> ax = fig.add_subplot(1,1,1);
>>
>> p1 = ax.bar(ind, IO_Time_Plot, width, color="r", align='center');
>> p2 = ax.bar(ind, Diff_Plot, width, color="y",
>> bottom=IO_Time_Plot, align='center');
>>
>> ax.set_ylabel('Time (secs)');
>> ax.set_title('Elapsed Time and IO Time',fontstyle='italic');
>> ax.set_xticks(ind);
>>
>> group_labels = [];
>> for item in names:
>> group_labels.append(item);
>>
>> ax.set_xticklabels(group_labels);
>>
>> fig.autofmt_xdate();
>>
>> #ax.legend( bbox_to_anchor=(1.05, 1), loc=2, borderaxespad=0.);
>> ax.legend( (p1[0], p2[0]), ('IO Time', 'Total Elapsed Time'));
>>
>>
>>
>> You can see my attempt at moving the legend outside the bounding box
>> but when I try this, the legend never appears.
>>
>> TIA!
>>
>> Jeff
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Paul A. L. <pau...@gm...> - 2011-02-11 07:18:23
|
Matplotlib is great! I created all my figures in this paper [0] using matplotlib. I am impressed with the quality you get. I attach the plotting script for fig. 9, which does exactly what you want, I believe. There is a lot of other junk in there, so look for the "legend" function, it all happens in one line. Cheers, Paul. [0] http://arxiv.org/abs/1011.3399, the paper should appear in phys. rev. B soon. |
|
From: Daniel H. <dh...@gm...> - 2011-02-11 05:35:31
|
I've attached a small demo code that solves a problem I was having; when the grid for the major and minor ticks are both drawn, the minor grid is drawn over the top of the major grid. This can make the grid at the majors look a little messy. The same thing was happening for the ticks as well; minor ticks are drawn on top of major. I'm hoping that someone will find the attached code useful, and also that it might make its way into matplotlib. The "set_superior_locator" function in the attached code would be a very natural fit inside the Locator class as a member function, with hardly any modification. All the set_superior_locator() function does is to inject itself into the Locator object, so that it gets a chance to cull out locations that are duplicated between it and its "superior" locator. The main use of this is to tell a minor locator who the major locator is, so that the minor locator will not draw ticks and/or grid lines on top of places where the major locator has already done it. If you run the script attached, it will pop two plots (close one to see the other); one with default drawing, and the second with the culling of grid lines and tick marks. I know that the colors and thicknesses that I chose are ugly, but they do illustrate the point ;) -- Daniel Hyams dh...@gm... |