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
(16) |
2
(16) |
3
(5) |
|
4
(4) |
5
(4) |
6
(10) |
7
(33) |
8
(11) |
9
(20) |
10
(7) |
|
11
(8) |
12
(18) |
13
(27) |
14
(21) |
15
(15) |
16
(10) |
17
(12) |
|
18
(3) |
19
(12) |
20
(12) |
21
(14) |
22
(32) |
23
(15) |
24
(20) |
|
25
(12) |
26
(32) |
27
(29) |
28
(17) |
29
(25) |
30
(12) |
31
(5) |
|
From: Michael D. <md...@st...> - 2010-07-21 22:00:28
|
I'm not sure I understand the question. Are there any error messages produced? Have you read this (about using matplotlib on a web server)? http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-server Mike On 07/21/2010 03:30 PM, Waléria Antunes David wrote: > Hello... > > I'm trying to use this to format the numbers (3000,3400) of the x > axis, however when i do in the ILDE Python it's work.....but if i do > using Django as bellow the image doesn't appear....look > > IDLE Python: http://pastebin.com/q7FnHhPw > > Using Django: http://pastebin.com/GrcMP9iA > > Help me....please... > > On Thu, Jul 15, 2010 at 10:48 AM, > <mat...@li... > <mailto:mat...@li...>> wrote: > > Send Matplotlib-users mailing list submissions to > mat...@li... > <mailto:mat...@li...> > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > or, via email, send a message with subject or body 'help' to > mat...@li... > <mailto:mat...@li...> > > You can reach the person managing the list at > mat...@li... > <mailto:mat...@li...> > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Matplotlib-users digest..." > > > Today's Topics: > > 1. scientific notation (Wal?ria Antunes David) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 15 Jul 2010 10:41:52 -0300 > From: Wal?ria Antunes David <wal...@gm... > <mailto:wal...@gm...>> > Subject: [Matplotlib-users] scientific notation > To: mat...@li... > <mailto:mat...@li...> > Message-ID: > <AAN...@ma... > <mailto:AAN...@ma...>> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > > I have a code base so that: > > > from pylab import * > x = arange (3000,3400) > y = -108 * (3.0e14 ** 2)/x**2 > > pylab..title("Teste") > pylab.savefig("imagem.png") > plot(x, y) > > > Well.... the values of the function range(3000,3400) are in > Hz......i need > to pass GHz which would be in scientific notation as follows bellow: > > 3000 Hz = 3,0 ? 10-6 GHz > 3400 Hz = 3,4 x 10-6 Ghz > > How do I make the graph x-axis is shown in figures > scientific notation, for this currently so > > 3000,3050,3100,....,3400 > > in scientific notation is: (3.0e-6, 3.4e-6) > > Can someone help me? > > See my attachment.... > > I need to show this values in scientific notation...... > > Wal?ria > -------------- next part -------------- > An HTML attachment was scrubbed... > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: current_image.jpg > Type: image/jpeg > Size: 35656 bytes > Desc: not available > > ------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first <http://sprint.com/first> -- > http://p.sf.net/sfu/sprint-com-first > > ------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > <mailto:Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > End of Matplotlib-users Digest, Vol 50, Issue 37 > ************************************************ > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Waléria A. D. <wal...@gm...> - 2010-07-21 19:30:49
|
Hello... I'm trying to use this to format the numbers (3000,3400) of the x axis, however when i do in the ILDE Python it's work.....but if i do using Django as bellow the image doesn't appear....look IDLE Python: http://pastebin.com/q7FnHhPw Using Django: http://pastebin.com/GrcMP9iA Help me....please... On Thu, Jul 15, 2010 at 10:48 AM, < mat...@li...> wrote: > Send Matplotlib-users mailing list submissions to > mat...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > or, via email, send a message with subject or body 'help' to > mat...@li... > > You can reach the person managing the list at > mat...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Matplotlib-users digest..." > > > Today's Topics: > > 1. scientific notation (Wal?ria Antunes David) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 15 Jul 2010 10:41:52 -0300 > From: Wal?ria Antunes David <wal...@gm...> > Subject: [Matplotlib-users] scientific notation > To: mat...@li... > Message-ID: > <AAN...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > > I have a code base so that: > > > from pylab import * > x = arange (3000,3400) > y = -108 * (3.0e14 ** 2)/x**2 > > pylab..title("Teste") > pylab.savefig("imagem.png") > plot(x, y) > > > Well.... the values of the function range(3000,3400) are in Hz......i need > to pass GHz which would be in scientific notation as follows bellow: > > 3000 Hz = 3,0 ? 10-6 GHz > 3400 Hz = 3,4 x 10-6 Ghz > > How do I make the graph x-axis is shown in figures > scientific notation, for this currently so > > 3000,3050,3100,....,3400 > > in scientific notation is: (3.0e-6, 3.4e-6) > > Can someone help me? > > See my attachment.... > > I need to show this values in scientific notation...... > > Wal?ria > -------------- next part -------------- > An HTML attachment was scrubbed... > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: current_image.jpg > Type: image/jpeg > Size: 35656 bytes > Desc: not available > > ------------------------------ > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > ------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > End of Matplotlib-users Digest, Vol 50, Issue 37 > ************************************************ > |
|
From: Aman T. <ama...@gm...> - 2010-07-21 19:11:42
|
Ok, so I've fixed it. Its just because the mouse goes outside the axes. How
do I make the change in the code?
Error: line 924 in widgets.py
old code:
x,y = event.xdata, event.ydata
fixed code:
if not event.xdata is None:
x = event.xdata
else:
x = self.prev[0]
if not event.ydata is None:
y = event.ydata
else:
y = self.prev[1]
I know it's a bit verbose, but it works.
Thanks,
Aman
On Wed, Jul 21, 2010 at 2:44 PM, Aman Thakral <ama...@gm...>wrote:
> Update on the error.
>
> It occurs in the following cases:
> - User clicks and drags from left to right and approaches the edge of the
> right side of the axes
> - User clicks and drags from right to left and approaches the edge of the
> left side of the axes
>
> I'm working on this bug now, I'll see if I can fix it. I'll welcome any
> input you guys can provide though.
>
> Thanks,
> Aman
>
>
> On Wed, Jul 21, 2010 at 1:58 PM, Aman Thakral <ama...@gm...>wrote:
>
>> Hi all,
>>
>> I'm getting the following exception when I use the Span Selector. It
>> happens when I try and select the entire region.
>>
>> Exception in Tkinter callback
>>
>> Traceback (most recent call last):
>> File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
>> return self.func(*args)
>> File
>> "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line
>> 246, in motion_notify_event
>> FigureCanvasBase.motion_notify_event(self, x, y, guiEvent=event)
>> File "C:\Python26\Lib\site-packages\matplotlib\backend_bases.py", line
>> 1245, in motion_notify_event
>> self.callbacks.process(s, event)
>> File "C:\Python26\Lib\site-packages\matplotlib\cbook.py", line 165, in
>> process
>> func(*args, **kwargs)
>> File "C:\Python26\Lib\site-packages\matplotlib\widgets.py", line 952, in
>> onmove
>> self.rect.set_width(maxv-minv)
>> TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
>>
>>
>> My sample code is shown here (its also attached):
>>
>> import matplotlib.pyplot as plt
>> from matplotlib.widgets import SpanSelector
>> import numpy as np
>> import datetime
>>
>> class TimeSelector(SpanSelector):
>> """
>> SpanSelector that is only activated by the left mouse button
>> """
>> def ignore(self,event):
>> if event.button == 2 or event.button == 3: return True
>>
>> def onselect(xmin,xmax):
>> print xmin,xmax
>>
>> fig = plt.figure()
>> ax = fig.add_subplot(111)
>> span = TimeSelector(ax, onselect, 'horizontal', useblit=True,
>> rectprops=dict(alpha=0.5, facecolor='yellow') )
>>
>> y = np.random.rand(100,1)
>> start = datetime.datetime(2010,7,15,0,0)
>> x = []
>> for i in range(len(y)):
>> x.append(start + datetime.timedelta(hours=i))
>>
>> ax.plot_date(x,y,'b-')
>> plt.show()
>>
>> Any help on this issue would be greatly appreciated.
>>
>> Thanks,
>> Aman
>>
>
>
>
> --
> Aman Thakral
> B.Eng & Biosci, M.Eng Design
>
--
Aman Thakral
B.Eng & Biosci, M.Eng Design
|
|
From: Aman T. <ama...@gm...> - 2010-07-21 18:45:03
|
Update on the error. It occurs in the following cases: - User clicks and drags from left to right and approaches the edge of the right side of the axes - User clicks and drags from right to left and approaches the edge of the left side of the axes I'm working on this bug now, I'll see if I can fix it. I'll welcome any input you guys can provide though. Thanks, Aman On Wed, Jul 21, 2010 at 1:58 PM, Aman Thakral <ama...@gm...>wrote: > Hi all, > > I'm getting the following exception when I use the Span Selector. It > happens when I try and select the entire region. > > Exception in Tkinter callback > > Traceback (most recent call last): > File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__ > return self.func(*args) > File > "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line > 246, in motion_notify_event > FigureCanvasBase.motion_notify_event(self, x, y, guiEvent=event) > File "C:\Python26\Lib\site-packages\matplotlib\backend_bases.py", line > 1245, in motion_notify_event > self.callbacks.process(s, event) > File "C:\Python26\Lib\site-packages\matplotlib\cbook.py", line 165, in > process > func(*args, **kwargs) > File "C:\Python26\Lib\site-packages\matplotlib\widgets.py", line 952, in > onmove > self.rect.set_width(maxv-minv) > TypeError: unsupported operand type(s) for -: 'float' and 'NoneType' > > > My sample code is shown here (its also attached): > > import matplotlib.pyplot as plt > from matplotlib.widgets import SpanSelector > import numpy as np > import datetime > > class TimeSelector(SpanSelector): > """ > SpanSelector that is only activated by the left mouse button > """ > def ignore(self,event): > if event.button == 2 or event.button == 3: return True > > def onselect(xmin,xmax): > print xmin,xmax > > fig = plt.figure() > ax = fig.add_subplot(111) > span = TimeSelector(ax, onselect, 'horizontal', useblit=True, > rectprops=dict(alpha=0.5, facecolor='yellow') ) > > y = np.random.rand(100,1) > start = datetime.datetime(2010,7,15,0,0) > x = [] > for i in range(len(y)): > x.append(start + datetime.timedelta(hours=i)) > > ax.plot_date(x,y,'b-') > plt.show() > > Any help on this issue would be greatly appreciated. > > Thanks, > Aman > -- Aman Thakral B.Eng & Biosci, M.Eng Design |
|
From: Jim V. <Jim...@no...> - 2010-07-21 18:25:39
|
Hello All, Using matplotlib, how can an image be saved as color-mapped 8-bit rather than as true-color? Thanks, -- jv |
|
From: alberttresens <alb...@gm...> - 2010-07-21 14:18:39
|
I am getting this trace when trying to plot. I tried all possible
combinations in the plot parameters, always the same. Can someone recon what
is happening?
Traceback (most recent call last):
File "gcview.py", line 226, in <module>
main()
File "gcview.py", line 222, in main
drawGraph(timeStampsBeforeGc, usedBeforeGc, timeStampsAfterGc,
usedAfterGc, heapSizes, timeStampsForFullGc, fullGcIndicators, logStartTS,
logEndTS, output)
File "gcview.py", line 87, in drawGraph
plot(0,0)
File "/usr/local/lib/python2.6/site-packages/matplotlib/pyplot.py", line
2287, in plot
ret = ax.plot(*args, **kwargs)
File "/usr/local/lib/python2.6/site-packages/matplotlib/axes.py", line
3776, in plot
self.autoscale_view(scalex=scalex, scaley=scaley)
File "/usr/local/lib/python2.6/site-packages/matplotlib/axes.py", line
1793, in autoscale_view
x0, x1 = xlocator.view_limits(x0, x1)
File "/usr/local/lib/python2.6/site-packages/matplotlib/ticker.py", line
1176, in view_limits
return np.take(self.bin_boundaries(dmin, dmax), [0,-1])
File "/usr/local/lib/python2.6/site-packages/numpy/core/fromnumeric.py",
line 103, in take
return take(indices, axis, out, mode)
IndexError: index out of range for array
--
View this message in context: http://old.nabble.com/Plot%28%29-%3A-IndexError%3A-index-out-of-range-for-array-tp29226333p29226333.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: alberttresens <alb...@gm...> - 2010-07-21 14:17:00
|
I am trying to do a plot, and getting and out of index, I am not sure what is
reason. I tried all combinations even with empty arrays and possible
indexes. Always the same. Any one can recon what is happening from the
trace?
Traceback (most recent call last):
File "gcview.py", line 226, in
main()
File "gcview.py", line 222, in main
drawGraph(timeStampsBeforeGc, usedBeforeGc, timeStampsAfterGc,
usedAfterGc, heapSizes, timeStampsForFullGc, fullGcIndicators, logStartTS,
logEndTS, output)
File "gcview.py", line 87, in drawGraph
plot(0,0)
File "/usr/local/lib/python2.6/site-packages/matplotlib/pyplot.py", line
2287, in plot
ret = ax.plot(*args, **kwargs)
File "/usr/local/lib/python2.6/site-packages/matplotlib/axes.py", line
3776, in plot
self.autoscale_view(scalex=scalex, scaley=scaley)
File "/usr/local/lib/python2.6/site-packages/matplotlib/axes.py", line
1793, in autoscale_view
x0, x1 = xlocator.view_limits(x0, x1)
File "/usr/local/lib/python2.6/site-packages/matplotlib/ticker.py", line
1176, in view_limits
return np.take(self.bin_boundaries(dmin, dmax), [0,-1])
File "/usr/local/lib/python2.6/site-packages/numpy/core/fromnumeric.py",
line 103, in take
return take(indices, axis, out, mode)
IndexError: index out of range for array
--
View this message in context: http://old.nabble.com/Plot%28%29-traceback-issue-tp29226304p29226304.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Thøger E. J. T. <th...@fy...> - 2010-07-21 13:43:21
|
That really depends on what you want to do. For one single graph with these specific values, it is quick and easy and hence very satisfying *if that is what you need*. No need to go across the river for water. But, Daniele came up with a different and more sturdy solution (that I have used in scripts of my own too), which is to specify the axes as max-of-the-data-plus-a-bit reflected about a centered zero axis. This is not data specific, more reusable, but also takes longer to write. On Tue, 2010-07-20 at 15:28 -0500, Benjamin Root wrote: > Somehow, this doesn't seem very satisfying. It is almost accidental. > There has to be a better way to do this. > > Ben Root > > 2010/7/20 Thøger Emil Juul Thorsen <th...@fy...> > One way is to specify the axes manually, e.g. setting: > > (with matyplotlib.pyplot importad as plt:) > > plt.axis([200, 500, -600, 600]) > > ...or whatever seems fitting for you, and do that on both of > the y axes. > That should align them nicely. > > > On Sat, 2010-07-17 at 20:37 +0200, Daniele Padula wrote: > > Hi everybody, > > I have a problem with a plot. I attach a figure to be easily > understandable. > > > > As you can see from the figure, I have in the same area a > line and a bar > > plot. The problem is that y=0 for right y axis is different > with respect > > to left y axis one. I want the two y=0 to be the same. > > > > How can i do that? > > > > Excuse me for my bad english, I'm italian :) > > > > Thanks in advance. > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- > http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: João L. S. <js...@fc...> - 2010-07-21 12:19:53
|
On 07/21/2010 12:27 PM, Benjamin Koep wrote: > Hello, > > I got a big problem currently and i really hope that someone here can > help me. > > I am working on some graphs that are integrated into a django app. So > far no problem. I had really no experience with matplotlib before but i > managed to create 2 of 3 graph types the way our graphics designer > wants them to be. > > The last variation is making me really sick because it has nothing much > to do with an ordinary graph (except the fact that is has bars ;)). > > Please take a look at the attachment and give me a hint how i could > realize that. I would really appreciate that. > > Kind regards, > > Ben > The attached example (adapted mostly from barchart_demo2.py) should guide you in the right direction. Regards, João Luís |
|
From: Benjamin K. <sic...@gm...> - 2010-07-21 11:28:01
|
Hello, I got a big problem currently and i really hope that someone here can help me. I am working on some graphs that are integrated into a django app. So far no problem. I had really no experience with matplotlib before but i managed to create 2 of 3 graph types the way our graphics designer wants them to be. The last variation is making me really sick because it has nothing much to do with an ordinary graph (except the fact that is has bars ;)). Please take a look at the attachment and give me a hint how i could realize that. I would really appreciate that. Kind regards, Ben |