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
(17) |
2
(3) |
3
(2) |
|
4
(11) |
5
(8) |
6
(22) |
7
(16) |
8
(9) |
9
(14) |
10
(1) |
|
11
(8) |
12
(5) |
13
(7) |
14
(10) |
15
(28) |
16
(8) |
17
(20) |
|
18
(6) |
19
(5) |
20
(15) |
21
(8) |
22
(7) |
23
(14) |
24
(10) |
|
25
(6) |
26
(8) |
27
(9) |
28
(11) |
29
(13) |
30
(20) |
|
|
From: Stef M. <ste...@gm...> - 2011-09-21 19:40:55
|
thanks Nicolas, On 18-09-2011 19:25, Nicolas Rougier wrote: > > > The interactive plot has been done using the AntTweakBar library and is not really user friendly. > You can view the source from the demos directory: > > http://code.google.com/p/glumpy/source/browse/demos/atb.py > I'll take a look, > Also, note that glumpy is not a replacement for matplotlib but rather a testbed for a future > OpenGL backend to be integrated into matplotlib. Yes but I'm an engineer and therefor not interested in high quality publication plots. cheers, Stef > > Nicolas > > > On Sep 18, 2011, at 14:00 , Stef Mientki wrote: > >> hi Nicolas, >> >> looks very interesting. >> >> I was considering to move from MatPlotLib to guiqwt, >> because of it's easy interactive plots. >> But I see glumpy has it too. >> Can show the source code for the interactive plot in your examples ? >> >> thanks, >> stef >> >> >> On 17-09-2011 19:22, Nicolas Rougier wrote: >>> >>> Hi folks, >>> >>> I am pleased to announce a new release of glumpy, a small python library for the (very) fast >>> vizualization of numpy arrays, (mainly two dimensional) that has been designed with efficiency >>> in mind. If you want to draw nice figures for inclusion in a scientific article, you’d better >>> use matplotlib but if you want to have a sense of what’s going on in your simulation while it is >>> running, then maybe glumpy can help you. >>> >>> >>> Download and screenshots at: http://code.google.com/p/glumpy/ >>> >>> Nicolas >>> >>> >>> ------------------------------------------------------------------------------ >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >>> http://p.sf.net/sfu/rim-devcon-copy2 >>> >>> >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> http://p.sf.net/sfu/rim-devcon-copy2_______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Benjamin R. <ben...@ou...> - 2011-09-21 19:28:53
|
On Wed, Sep 21, 2011 at 2:00 PM, Armando Serrano Lombillo <
ars...@gm...> wrote:
> Hello I have a dat set like this one
> a=[[x1, y1, cat1], [x2, y2, cat1], ..., [x8, y8, cat1], [x9, y9, cat2],
> ..., [x34, y34, cat2], [x35, y35, cat3],...]
> and I don't know beforehand how many diffferent categories there will be or
> how long they will be.
>
> I would like to make a plot like this:
> ax.plot(a[0:i1, 0], a[0:i1, 1], label=cat1)
> ax.plot(a[i1:i2, 0], a[i1:i2, 1], label=cat2)
> ax.plot(a[i2:i3, 0], a[i2:i3, 1], label=cat3)
> ...
>
> where i1, i2... are the indices where the data set changes fomt cat1 to
> cat2, cat2 to cat3...
>
> Does anybody see an easy way of coding this?
>
> Thanks,
> Armando.
>
Maybe something like this? (Warning: untested!)
from collections import OrderedDict
b = OrderedDict()
for index, coords in enumerate(a) :
b[coords[2]] = index + 1
a = np.array([[c[0], c[1]] for c in a])
prevIndex = 0
for cat, curIndex in b.iteritems() :
ax.plot(a[prevIndex:curIndex, 0], a[prevIndex:curIndex, 1], label=cat)
prevIndex = curIndex
The ordered dictionary may or may not be available in whatever version of
python you use, but it guarantees the order.
I hope that helps!
Ben Root
|
|
From: Armando S. L. <ars...@gm...> - 2011-09-21 19:01:06
|
Hello I have a dat set like this one a=[[x1, y1, cat1], [x2, y2, cat1], ..., [x8, y8, cat1], [x9, y9, cat2], ..., [x34, y34, cat2], [x35, y35, cat3],...] and I don't know beforehand how many diffferent categories there will be or how long they will be. I would like to make a plot like this: ax.plot(a[0:i1, 0], a[0:i1, 1], label=cat1) ax.plot(a[i1:i2, 0], a[i1:i2, 1], label=cat2) ax.plot(a[i2:i3, 0], a[i2:i3, 1], label=cat3) ... where i1, i2... are the indices where the data set changes fomt cat1 to cat2, cat2 to cat3... Does anybody see an easy way of coding this? Thanks, Armando. |
|
From: Eric O L. (EOL) <Eri...@no...> - 2011-09-21 16:11:53
|
With the Mac OS X backend (at least…), error messages are repeatedly printed
when the mouse leaves the axes rectangle:
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backend_bases.py",
line 1625, in motion_notify_event
self.callbacks.process(s, event)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/cbook.py",
line 265, in process
proxy(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/cbook.py",
line 191, in __call__
return mtd(*args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backend_bases.py",
line 2573, in drag_zoom
self.draw_rubberband(event, x, y, lastx, lasty)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py",
line 420, in draw_rubberband
self.canvas.set_rubberband(x0, y0, x1, y1)
TypeError: integer argument expected, got float
This problem is annoying because the error messages clutter the terminal,
and useful printed information leaves the screen. :)
Configuration: Mac OS X 10.7, latest MacPort's Python and modules,
Matplotlib 1.0.1 with Mac OS X backend.
--
View this message in context: http://old.nabble.com/Error-when-zooming-manually-with-the-mouse-outside-of-the-axes-tp32503759p32503759.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Benjamin R. <ben...@ou...> - 2011-09-21 15:36:56
|
On Wednesday, September 21, 2011, Keith Jones <K....@ir...> wrote: > Hi, > > I have two questions about using NavigationToolbar2Wx with mplot3d. > > > > 1/ Initially the 3D scatter plot will rotate as usual with a mouse, but after selecting the ‘pan’ or ‘zoom’ buttons the plot responds with some confusion. How can I restore it to rotation only, i.e. disconnect the zoom or pan behaviour? > That is a bug that should be resolved in the upcoming release. Use the right mouse button for zooming instead. In the upcoming release, the zoom and pan button should have no effect on axes3d objects, if I remember correctly. > > > 2/ When using the ‘save’ button I get different behaviours depending on the backend. With ‘WXAgg’ the saved png image shows only the axes, not the scatter points. The scatter points and axes do appear correctly in a pdf file. Using the ‘WX’ backend gives both scatter points and axes for the png file. > I dont use WxAgg regularly. I will use your code to test this. Ben Root |
|
From: Dave H. <dav...@gm...> - 2011-09-21 14:29:11
|
Is this a bug in the PDF/SVG backends or am I doing something wrong? If the
former is there any workaround?
The simple testcase below demonstrates the problem whereby the watermark doesn't
show up in the pdf output but does in the png output.
import Image
from scipy import lena
from scipy.ndimage import map_coordinates
from cStringIO import StringIO
def add_watermark(fig, watermark):
import matplotlib.image as image
im = image.imread(watermark)
dpi = fig.get_dpi()
offset = dpi*fig.get_size_inches()[0] - im.shape[1]
fig.figimage(im, offset, 0, alpha=0.3)
return fig
#
im = Image.fromarray(map_coordinates(lena(), mgrid[0:512:100j, 0:512:100j]))
watermark = StringIO()
im.save(watermark, format='png')
watermark.seek(0)
fig = figure(figsize=(12, 8))
plot(randn(1000))
add_watermark(fig, watermark)
fig.savefig('test.png', dpi=fig.get_dpi())
fig.savefig('test.pdf', dpi=fig.get_dpi())
Thanks,
Dave
|
|
From: Jouni K. S. <jk...@ik...> - 2011-09-21 13:57:17
|
"Sarlo, Jeffrey S" <JS...@Ce...> writes: > libpng: 1.5.4 Your options are to use libpng 1.2.46, use a recent git version of matplotlib, or cherry-pick commit 45c4667 on top of your older version to get support for libpng 1.5. There is a new release planned soon, and it will include this fix. -- Jouni K. Seppänen http://www.iki.fi/jks |
|
From: Keith J. <K....@ir...> - 2011-09-21 06:19:08
|
Hi,
I have two questions about using NavigationToolbar2Wx with mplot3d.
1/ Initially the 3D scatter plot will rotate as usual with a mouse, but after selecting the 'pan' or 'zoom' buttons the plot responds with some confusion. How can I restore it to rotation only, i.e. disconnect the zoom or pan behaviour?
2/ When using the 'save' button I get different behaviours depending on the backend. With 'WXAgg' the saved png image shows only the axes, not the scatter points. The scatter points and axes do appear correctly in a pdf file. Using the 'WX' backend gives both scatter points and axes for the png file.
My full application has a mix of 2D and 3D plots (separate notebooks) and it would be preferable for users if all plots could usedthe common toolbar.
I see this behaviour running matplotlib 1.0.1 with Python 2.6.6 and wxPython 2.8.11.0 under Windows XP with the example below.
#-----------------------------------------------------------------------------------
# adapted from example code "embedding_in_wx2.py"
import numpy as np
import matplotlib
# uncomment the following to use wx rather than wxagg
#matplotlib.use('WX')
#from matplotlib.backends.backend_wx import FigureCanvasWx as FigureCanvas
# comment out the following to use wx rather than wxagg
matplotlib.use('WXAgg')
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
from matplotlib.backends.backend_wx import NavigationToolbar2Wx
from matplotlib.figure import Figure
from mpl_toolkits.mplot3d import Axes3D
import wx
class CanvasFrame(wx.Frame):
def __init__(self):
wx.Frame.__init__(self,None,-1,
'CanvasFrame',size=(550,350))
self.SetBackgroundColour(wx.NamedColor("WHITE"))
self.figure = Figure()
self.canvas = FigureCanvas(self, -1, self.figure)
self.axes = Axes3D(self.figure)
xs = np.random.rand(100)
ys = np.random.rand(100)
zs = np.random.rand(100)
self.axes.scatter(xs, ys, zs)
self.sizer = wx.BoxSizer(wx.VERTICAL)
self.sizer.Add(self.canvas, 1, wx.LEFT | wx.TOP | wx.GROW)
self.SetSizer(self.sizer)
self.Fit()
self.add_toolbar() # comment this out for no toolbar
def add_toolbar(self):
self.toolbar = NavigationToolbar2Wx(self.canvas)
self.toolbar.Realize()
if wx.Platform == '__WXMAC__':
# Mac platform (OSX 10.3, MacPython) does not seem to cope with
# having a toolbar in a sizer. This work-around gets the buttons
# back, but at the expense of having the toolbar at the top
self.SetToolBar(self.toolbar)
else:
# On Windows platform, default window size is incorrect, so set
# toolbar width to figure width.
tw, th = self.toolbar.GetSizeTuple()
fw, fh = self.canvas.GetSizeTuple()
# By adding toolbar in sizer, we are able to put it at the bottom
# of the frame - so appearance is closer to GTK version.
# As noted above, doesn't work for Mac.
self.toolbar.SetSize(wx.Size(fw, th))
self.sizer.Add(self.toolbar, 0, wx.LEFT | wx.EXPAND)
# update the axes menu on the toolbar
self.toolbar.update()
def OnPaint(self, event):
self.canvas.draw()
class App(wx.App):
def OnInit(self):
'Create the main window and insert the custom frame'
frame = CanvasFrame()
frame.Show(True)
return True
app = App(0)
app.MainLoop()
#------------------------------------------------------------------------------------------------
Regards,
Keith
________________________________
This electronic transmission and any documents accompanying this electronic transmission contain confidential information belonging to the sender. This information may be legally privileged. The information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on or regarding the contents of this electronically transmitted information is strictly prohibited.
|