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
(19) |
2
(3) |
3
(12) |
4
(2) |
5
|
6
(9) |
7
(27) |
8
(39) |
9
(17) |
10
(22) |
11
(5) |
12
(1) |
13
(11) |
14
(12) |
15
(14) |
16
(29) |
17
(32) |
18
(8) |
19
(3) |
20
(10) |
21
(27) |
22
(11) |
23
(8) |
24
(4) |
25
(4) |
26
(3) |
27
(18) |
28
(7) |
29
(29) |
30
(13) |
31
(4) |
|
>>>>> "Michael" == Michael P Mossey <mo...@jp...> writes: Michael> Is there any different between Subplots and Axes, other Michael> than adding a subplot lets one use the matlab 3-digit Michael> specification (e.g., 221 )? Subplot inherits from Axes. It is the special case where your axes like on a grid, eg 3 rows by 2 columns. An Axes is created by defining the rectangle [left, bottom, width, height] that the Axes occupies. Subplot simply computes these for you given the layout you specify and the subplot parameters from the rc file. These parameters govern things like the leftmost point of the subplots, or the horizontal space between the rows. Subplot also provides some helper functions like is_last_row which are useful when creating lots-o-subplots in a loop, where you may want to set the xlabel only for the last row for i in range(9): ax = subplot(3,3,i+1) plot_something(i) if ax.is_last_row(): ax.set_xlabel('time') Other useful functions are is_first_col, is_first_row, is_last_col and change_geometry. See examples/axes_demo.py http://matplotlib.sf.net/screenshots.html#axes_demo for an example which uses both subplots and axes... JDH
Is there any different between Subplots and Axes, other than adding a subplot lets one use the matlab 3-digit specification (e.g., 221 )? Mike
Just a simple bar chart question. How do I display the values above each bar?
locator = ax.xaxis.get_major_ ^^^ cut and paste error -- should read locator = ax.xaxis.get_major_locator() JDH
>>>>> "Michael" == Michael P Mossey <mo...@jp...> writes: Michael> Is there a way to autoscale just the x axis or just the y Michael> axis? Mike Sort of, kind of. But not automatically <wink> Turn off autoscaling for the given axes, either ax = subplot(111, autoscaleon=False) or ax.set_autoscaleon(False) Then, supposing you want to use the autoscaling (locator) functionality for the x-axis but not y, do ax.set_ylim(somemin, somemax) locator = ax.xaxis.get_major_ ax.set_xlim(locator.autoscale()) With a minimal amount of work we could have an autoscalex and autoscaley property so that these could be controlled separately.c JDH
Is there a way to autoscale just the x axis or just the y axis? Mike
I am using the SVN build of matplotlib last week. I have included console dumps below. The first is using pythonw the second using ipython pythonw anim.py loaded rc file /Users/smithsm/.matplotlib/matplotlibrc matplotlib version 0.87.1 verbose.level helpful interactive is False platform is darwin numerix numpy 0.9.5.2006 font search path ['/Library/Frameworks/Python.framework/Versions/2.4/ lib/python2.4/site-packages/matplotlib/mpl-data'] $HOME=/Users/smithsm CONFIGDIR=/Users/smithsm/.matplotlib loaded ttfcache file /Users/smithsm/.matplotlib/ttffont.cache matplotlib data path /Library/Frameworks/Python.framework/Versions/ 2.4/lib/python2.4/site-packages/matplotlib/mpl-data backend WXAgg version 2.6.2.1 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/backends/backend_wx.py", line 1048, in _onPaint self.draw(repaint=False) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/backends/backend_wxagg.py", line 62, in draw self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None) MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the wx.Bitmap Traceback (most recent call last): File "anim.py", line 27, in ? line, = plot(x,sin(x)) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/pylab.py", line 2127, in plot b = ishold() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/pylab.py", line 967, in ishold return gca().ishold() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/pylab.py", line 918, in gca ax = gcf().gca(**kwargs) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/pylab.py", line 928, in gcf return figure() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/pylab.py", line 898, in figure draw_if_interactive() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/backends/backend_wx.py", line 1172, in draw_if_interactive figManager.canvas.draw() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/matplotlib/backends/backend_wxagg.py", line 62, in draw self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None) MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the wx.Bitmap *********************************************** ipython -pylab loaded rc file /Users/smithsm/.matplotlib/matplotlibrc matplotlib version 0.87.1 verbose.level helpful interactive is False platform is darwin numerix numpy 0.9.5.2006 font search path ['/Library/Frameworks/Python.framework/Versions/2.4/ lib/python2.4/site-packages/matplotlib/mpl-data'] $HOME=/Users/smithsm CONFIGDIR=/Users/smithsm/.matplotlib loaded ttfcache file /Users/smithsm/.matplotlib/ttffont.cache matplotlib data path /Library/Frameworks/Python.framework/Versions/ 2.4/lib/python2.4/site-packages/matplotlib/mpl-data backend WXAgg version 2.6.2.1 Python 2.4.2 (#3, Jan 8 2006, 20:33:07) Type "copyright", "credits" or "license" for more information. IPython 0.7.1.fix1 -- An enhanced Interactive Python. ? -> Introduction to IPython's features. %magic -> Information about IPython's 'magic' % functions. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. Welcome to pylab, a matplotlib-based Python environment. For more information, type 'help(pylab)'. In [1]: plot([1,2,3]) ------------------------------------------------------------------------ --- exceptions.MemoryError Traceback (most recent call last) /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/backends/backend_wx.py in _onPaint(self, evt) 1046 self.realize() 1047 # Render to the bitmap -> 1048 self.draw(repaint=False) 1049 # Update the display using a PaintDC 1050 self.gui_repaint(drawDC=wx.PaintDC(self)) /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/backends/backend_wxagg.py in draw(self, repaint) 60 FigureCanvasAgg.draw(self) 61 ---> 62 self.bitmap = _convert_agg_to_wx_bitmap (self.get_renderer(), None) 63 if repaint: 64 self.gui_repaint() MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the wx.Bitmap ------------------------------------------------------------------------ --- exceptions.MemoryError Traceback (most recent call last) /Users/smithsm/<ipython console> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/pylab.py in plot(*args, **kwargs) 2125 def plot(*args, **kwargs): 2126 # allow callers to override the hold state by passing hold=True|False -> 2127 b = ishold() 2128 h = popd(kwargs, 'hold', None) 2129 if h is not None: /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/pylab.py in ishold() 965 Return the hold status of the current axes 966 """ --> 967 return gca().ishold() 968 969 def isinteractive(): /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/pylab.py in gca(**kwargs) 916 """ 917 --> 918 ax = gcf().gca(**kwargs) 919 return ax 920 /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/pylab.py in gcf() 926 return figManager.canvas.figure 927 else: --> 928 return figure() 929 930 def gci(): /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/pylab.py in figure(num, figsize, dpi, facecolor, edgecolor, frameon) 896 figManager.canvas.figure.number = num 897 --> 898 draw_if_interactive() 899 return figManager.canvas.figure 900 /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/IPython/genutils.py in wrapper(*args, **kw) 802 def wrapper(*args,**kw): 803 wrapper.called = False --> 804 out = func(*args,**kw) 805 wrapper.called = True 806 return out /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/backends/backend_wx.py in draw_if_interactive() 1170 figManager = Gcf.get_active() 1171 if figManager is not None: -> 1172 figManager.canvas.draw() 1173 1174 /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/backends/backend_wxagg.py in draw(self, repaint) 60 FigureCanvasAgg.draw(self) 61 ---> 62 self.bitmap = _convert_agg_to_wx_bitmap (self.get_renderer(), None) 63 if repaint: 64 self.gui_repaint() MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the wx.Bitmap In [2]: ------------------------------------------------------------------------ --- exceptions.MemoryError Traceback (most recent call last) /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/backends/backend_wx.py in _onPaint(self, evt) 1046 self.realize() 1047 # Render to the bitmap -> 1048 self.draw(repaint=False) 1049 # Update the display using a PaintDC 1050 self.gui_repaint(drawDC=wx.PaintDC(self)) /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/matplotlib/backends/backend_wxagg.py in draw(self, repaint) 60 FigureCanvasAgg.draw(self) 61 ---> 62 self.bitmap = _convert_agg_to_wx_bitmap (self.get_renderer(), None) 63 if repaint: 64 self.gui_repaint() MemoryError: _wxagg.convert_agg_to_wx_bitmap(): could not create the wx.Bitmap On 11 Mar, 2006, at 10:25, Ken McIvor wrote: > On Mar 10, 2006, at 2:01 PM, Onsi Fakhouri wrote: >> Ken, if you want me to try something let me know -- my guess is >> I'm using a different version of either the AGG library or wx. > > I'm afraid that I'm at a loss right now. Knowing exactly what > version of MacOS, Python, wxPython, and matplotlib you're using > might help. > > If you have MacOS 10.4, Python 2.3, and wxPython 2.6.2.1, then you > could see if you have the same problem with my build of matplotlib: > > http://agni.phys.iit.edu/~kmcivor/downloads/matplotlib-0.87.1- > py2.3-macosx-10.4-ppc.egg > >> As an aside, does the cpp implementation run much faster than the >> python implementation? > > You probably won't notice a difference unless you're doing > animations. If you are, then it provides a big speedup under Linux > but much less of a speedup on a Mac. I think the difference is due > to the way wxWidgets is implemented on the two platforms. > > Ken > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ********************************************************************** Samuel M. Smith Ph.D. 2966 Fort Hill Road Eagle Mountain, Utah 84043 801-768-2768 voice 801-768-2769 fax ********************************************************************** "The greatest source of failure and unhappiness in the world is giving up what we want most for what we want at the moment" **********************************************************************
>>>>> "Yogesh" == Yogesh Wadadekar <wad...@st...> writes: Yogesh> Hi, Yogesh> I would like to do the following: Yogesh> 1. Display an image using pylab.imshow. Works well and I Yogesh> am happy with the v1,v2 values that are auto computed. Yogesh> Next I need to: Yogesh> 2. Display a second image using the EXACT v1,v2 values Yogesh> that matplotlib determined for the first image. Yogesh> I read through the documentation for Yogesh> matplotlib.image.AxesImage that the fisrt imshow would Yogesh> return, but could not determine exactly how to access the Yogesh> v1,v2 values for that object. You can access the vmin and vmax attributes from the image normalization instance and pass them on to subsequent images In [3]: im = imshow(rand(20,20)) In [4]: im.norm.vmin Out[4]: 0.001056874287314713 In [5]: im.norm.vmax Out[5]: 0.99817508459091187 In [6]: newim = imshow(rand(30,30), vmin=im.norm.vmin, vmax=im.norm.vmax) FYI, imshow returns an image.AxesImage (which derives from colors.ScalarMappable) and this contains a colors.normalize instance, which has the attributes you are looking for. The clim command works by setting the vmin and vmax attrs. More details are documented here: http://matplotlib.sourceforge.net/matplotlib.image.html#AxesImage http://matplotlib.sourceforge.net/matplotlib.cm.html#ScalarMappable http://matplotlib.sourceforge.net/matplotlib.colors.html#normalize JDH
Hi, I would like to do the following: 1. Display an image using pylab.imshow. Works well and I am happy with the v1,v2 values that are auto computed. Next I need to: 2. Display a second image using the EXACT v1,v2 values that matplotlib determined for the first image. I read through the documentation for matplotlib.image.AxesImage that the fisrt imshow would return, but could not determine exactly how to access the v1,v2 values for that object. Thanks in advance for your help. Yogesh Yogesh Wadadekar Tel: (410)338-4993 Space Telescope Science Institute e-mail: wad...@st... 3700 San Martin Drive Baltimore, MD 21218
Last week I got this message several times. This is a test to see if I still have this problem. Your message did not reach some or all of the intended recipients. Subject: FW: [Matplotlib-users] update to: I can not get matplotlib to work on a windows xp professional machine Sent: 3/8/2006 1:00 PM The following recipient(s) could not be reached: mat...@li... on 3/8/2006 1:04 PM There was a SMTP communication problem with the recipient's email server. Please contact your system administrator. < -a #5.5.0 SMTP; 550 Don't like your HELO/EHLO. Hostname must contain a dot.>
John Hunter wrote: >>>>>>"Marc" == Marc AHRENS <ma...@ph...> writes: > > Marc> NB The absence of an "app.MainLoop()" call at the end, since > Marc> I've called this from ipython, which is supposed to be > Marc> clever and automatically the wxPython main loop in another > Marc> thread automatically (I read this somewhere). I've tried > Marc> running multi-threaded stuff from the regular python shell, > Marc> but without success. > > ipython is only clever if you launch it in ipython -pylab for pylab > mode (which is not compatible with MPlot) or if launched in the > --wthread mode for wx threading. So you'll definitely need to do the > latter. I haven't had a lot of experience with --wthread; is it > correct that if you use wthread you should not use the explicit call > to Mainloop? No, in ipython -wthread we hijack Mainloop so that user calls to it actually call a dummy function. So it /should/ be OK for user scripts (as long as -wthread was given, or -pylab with a WX* backend) to call Mainloop. It will just call ipython's dummy replacement. See http://projects.scipy.org/ipython/ipython/browser/ipython/trunk/IPython/Shell.py for details. Cheers, f