You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
| 2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
| 2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
| 2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
| 2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
| 2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
| 2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
| 2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
| 2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
| 2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
| 2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
| 2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(4) |
2
(7) |
3
(4) |
4
|
|
5
(2) |
6
(4) |
7
|
8
(2) |
9
(12) |
10
(11) |
11
(1) |
|
12
(4) |
13
(12) |
14
(13) |
15
(6) |
16
(10) |
17
(5) |
18
(1) |
|
19
(1) |
20
(8) |
21
(5) |
22
(7) |
23
(2) |
24
(1) |
25
|
|
26
|
27
(2) |
28
(2) |
29
(6) |
30
(13) |
31
(6) |
|
|
From: Darren D. <dd...@co...> - 2007-08-15 21:00:19
|
On Wednesday 15 August 2007 04:28:19 pm Darren Dale wrote: > Also, does aspect='equal' work with the object oriented interface? short answer: yes, if you expect it to do what its supposed to do. |
|
From: Darren D. <dd...@co...> - 2007-08-15 20:28:47
|
I'm doing something along the lines of: create an initial image with imshow add a colorbar update the image using the image's set_data method Occassionally, the extents of the image will change. How do I handle that? The only place I can find to set the extents is in the call to imshow. The resulting image has a get_extents, but not a setter. I can't make repeated calls to imshow, because the new image isnt coupled to the colorbar. I can't figure out how to couple the colorbar to the new image, and I dont know how to get rid of the old colorbar to clear space for a new one. Can someone offer some advice? Also, does aspect='equal' work with the object oriented interface? Thanks, Darren |
|
From: Darren D. <dd...@co...> - 2007-08-15 20:03:54
|
On Wednesday 15 August 2007 03:18:25 pm you wrote:
> On Wed, Aug 15, 2007 at 09:57:21AM -0400, Darren Dale wrote:
> > On Tuesday 14 August 2007 07:35:43 pm Darren Dale wrote:
> > > I'm developing an application for work and need to plot some spectra on
> > > a logscale. I can recreate my problem with embedding_in_qt4, by
> > > replacing MyDynamicMplCanvas.compute_initial_figure with this:
> > >
> > > def compute_initial_figure(self):
> > > self.axes.plot([0, 1, 2, 3], [1, 2, 0, 4], 'r')
> > > self.axes.set_yscale('log')
> > >
> > > [...]
> > > File
> > > "/usr/lib64/python2.5/site-packages/matplotlib-0.90.1_r3709-py2.5-linux
> > >-x86 _64.egg/matplotlib/axes.py", line 1664, in set_ylim
> > > raise ValueError('Cannot set nonpositive limits with log
> > > transform') ValueError: Cannot set nonpositive limits with log
> > > transform
> > >
> > > I get that error even if I modify the update figure function so there
> > > is no possibility of zeros occuring in the data
> >
> > I have tracked this back through axes.cla(), which is called when
> > axes._hold is False, to axis.cla(). axis.cla() resets the locators, but
> > the transforms are still set to mtrans.LOG10. Since plot is called by
> > loglog, and semilog*, it shouldn't be using any methods that modify
> > locators. If cla() resets the transforms, then the behavior of plot will
> > be different, preserving log transforms when hold is True, but changing
> > to linear transforms when hold is False.
> >
> > I wonder if cla() is trying to do too much. Maybe the initial setting of
> > locators should be moved out of cla(), which is called by Axes.__init__,
> > and into Axis.__init__. Then calls to cla() will preserve the scaling,
> > and the behavior of plot() will be consistent, regardless of the whether
> > hold is enabled or not.
>
> The other option is to do something sensible when axes limits are
> negative on the log scale.
Thats a seperate, but important issue. In the case I described, the state of
the plot becomes a mash of log transforms and linear locators.
|
|
From: Paul K. <pki...@ni...> - 2007-08-15 19:20:12
|
On Wed, Aug 15, 2007 at 09:57:21AM -0400, Darren Dale wrote:
> On Tuesday 14 August 2007 07:35:43 pm Darren Dale wrote:
> > I'm developing an application for work and need to plot some spectra on a
> > logscale. I can recreate my problem with embedding_in_qt4, by replacing
> > MyDynamicMplCanvas.compute_initial_figure with this:
> >
> > def compute_initial_figure(self):
> > self.axes.plot([0, 1, 2, 3], [1, 2, 0, 4], 'r')
> > self.axes.set_yscale('log')
> >
> > [...]
> > File
> > "/usr/lib64/python2.5/site-packages/matplotlib-0.90.1_r3709-py2.5-linux-x86
> >_64.egg/matplotlib/axes.py", line 1664, in set_ylim
> > raise ValueError('Cannot set nonpositive limits with log transform')
> > ValueError: Cannot set nonpositive limits with log transform
> >
> > I get that error even if I modify the update figure function so there is no
> > possibility of zeros occuring in the data
>
> I have tracked this back through axes.cla(), which is called when axes._hold
> is False, to axis.cla(). axis.cla() resets the locators, but the transforms
> are still set to mtrans.LOG10. Since plot is called by loglog, and semilog*,
> it shouldn't be using any methods that modify locators. If cla() resets the
> transforms, then the behavior of plot will be different, preserving log
> transforms when hold is True, but changing to linear transforms when hold is
> False.
>
> I wonder if cla() is trying to do too much. Maybe the initial setting of
> locators should be moved out of cla(), which is called by Axes.__init__, and
> into Axis.__init__. Then calls to cla() will preserve the scaling, and the
> behavior of plot() will be consistent, regardless of the whether hold is
> enabled or not.
The other option is to do something sensible when axes limits are
negative on the log scale. We switch back and forth between linear and log
while zooming/panning. Since it is difficult to keep the limits positive
when using the linear scale we would love to have the plot handle bad
limits. I don't have a patch yet, but I don't mind if you beat me to it 8-)
Ultimately we would like negative data to be represented using
an inverted logarithmic scale, but this is a more difficult project.
For now we are masking out any data <= 0.
- Paul
|
|
From: Darren D. <dd...@co...> - 2007-08-15 13:58:37
|
On Tuesday 14 August 2007 07:35:43 pm Darren Dale wrote:
> I'm developing an application for work and need to plot some spectra on a
> logscale. I can recreate my problem with embedding_in_qt4, by replacing
> MyDynamicMplCanvas.compute_initial_figure with this:
>
> def compute_initial_figure(self):
> self.axes.plot([0, 1, 2, 3], [1, 2, 0, 4], 'r')
> self.axes.set_yscale('log')
>
> [...]
> File
> "/usr/lib64/python2.5/site-packages/matplotlib-0.90.1_r3709-py2.5-linux-x86
>_64.egg/matplotlib/axes.py", line 1664, in set_ylim
> raise ValueError('Cannot set nonpositive limits with log transform')
> ValueError: Cannot set nonpositive limits with log transform
>
> I get that error even if I modify the update figure function so there is no
> possibility of zeros occuring in the data
I have tracked this back through axes.cla(), which is called when axes._hold
is False, to axis.cla(). axis.cla() resets the locators, but the transforms
are still set to mtrans.LOG10. Since plot is called by loglog, and semilog*,
it shouldn't be using any methods that modify locators. If cla() resets the
transforms, then the behavior of plot will be different, preserving log
transforms when hold is True, but changing to linear transforms when hold is
False.
I wonder if cla() is trying to do too much. Maybe the initial setting of
locators should be moved out of cla(), which is called by Axes.__init__, and
into Axis.__init__. Then calls to cla() will preserve the scaling, and the
behavior of plot() will be consistent, regardless of the whether hold is
enabled or not.
Darren
|
|
From: Manuel M. <mm...@as...> - 2007-08-15 08:30:15
|
Hi, okay, I have added a keyword 'where' as suggested. I also now changed the way the incoming data is converted. I took this from the axes.pie() function. I don't know much about the unit types yet :-( Concerning masked arrays: Do I have to consider something special there? Manuel Ted Drain wrote: > At 10:36 AM 8/14/2007, Eric Firing wrote: >> Ted Drain wrote: >>> Manuel, >>> We do plots like this all the time. One thing we've found that's >>> nice to have is a keyword that controls when the increase in y >>> happens. We use a step style keyword that can be 'pre' (go up then >>> right), 'post' (go right then up), and 'mid' (right 0.5, up, right 0.5). >> Good idea. >>> Regarding your patch, you might want to check other areas in MPL for >>> data processing examples. I could be wrong but I'm not sure you can >>> assume that incoming data is a float. Some of the unit conversion >>> examples or the line collection code might have better examples. >> >> Incoming data can be any numeric type, but it ends up getting >> converted to the default float type (not float32) internally. >> >> Whenever possible, it is good to support masked array input. > > Agreed - but the way the patch was written, I don't think it will > support anything but float (especially not the unit types). > >> Eric >>> Ted >>> At 07:59 AM 8/14/2007, Manuel Metz wrote: >>>> Hi, >>>> >>>> I have created a patch against latest svn that adds a function step >>>> to the axes class to plot step-functions ;-) It's really simple but >>>> nice ... Any interest in adding this? >>>> >>>> Manuel >>>> >>>> >>>> >>>> >>>> Index: axes.py >>>> =================================================================== >>>> --- axes.py (revision 3709) >>>> +++ axes.py (working copy) >>>> @@ -4995,6 +4995,18 @@ >>>> steps=[1, 2, 5, 10], >>>> integer=True)) >>>> return im >>>> + >>>> + def step(self, x, y, *args, **kwargs): >>>> + x2 = npy.zeros((2*len(x)), npy.float32) >>>> + y2 = npy.zeros((2*len(x)), npy.float32) >>>> + >>>> + x2[0::2] = x >>>> + x2[1::2] = x >>>> + >>>> + y2[1::2] = y >>>> + y2[2::2] = y[:-1] >>>> + >>>> + self.plot(x2, y2, *args, **kwargs) >>>> >>>> class SubplotBase: >>>> """ >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.net email is sponsored by: Splunk Inc. >>>> Still grepping through log files to find problems? Stop. >>>> Now Search log events and configuration files using AJAX and a browser. >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>> _______________________________________________ >>>> Matplotlib-devel mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >>> ------------------------------------------------------------------------ >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> >>> ------------------------------------------------------------------------ >>> _______________________________________________ >>> Matplotlib-devel mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |