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) |
|
Hello again, I've actually made some more progress on my last question after finding this site: http://www.scipy.org/Cookbook/Matplotlib/Multiple_Subplots_with_One_Axis_Label and I was able to adjust the widths of my spacing. My current plot looks like this: http://imageshack.us/photo/my-images/849/current.png/ with source code that looks like: > adjustprops = dict(left=0.1, bottom=0.1, right=0.97, top=0.93, wspace=0.25, > hspace=0.25) > fig=figure() > fig.subplots_adjust(**adjustprops) > > ax=subplot(221) > plot(x2cp,y2cp,'bo',markersize=3) > #ax.set_title('2cP') > text(12,0.03,'2cP') > #ylabel('Displacement') > axis([0,16,0,0.04]) > bx=subplot(223) > plot(x2cb,y2cb,'bo',markersize=3) > #ax.set_title('2cB') > text(12,0.225,'2cB') > axis([0,16,0,0.3]) > cx=subplot(222) > plot(x6fp,y6fp,'bo',markersize=3) > #ax.set_title('6fP') > text(12,0.03375,'6fP') > axis([0,16,0,0.045]) > dx=subplot(224) > plot(x6fb,y6fb,'bo',markersize=3) > #ax.set_title('6fB') > text(12,0.225,'6fB') > axis([0,16,0,0.3]) > > > show() Now the only thing I'd like to do now is create a global y-axis and a global x-axis along the bottom for all 4 plots (which the website I linked to above gives some hints about, but trying what I thought was equivalent didn't work). And lastly, I wanted those y-axes which go from 0.000 to 0.040 to instead go from 0.00 to 0.04 (i.e., only two decimal places, getting rid of the ones that are in between). Thanks for any guidance you can give. Best, Brad On Mon, Sep 19, 2011 at 3:32 PM, Brad Malone <bra...@gm...> wrote: > Hi, I am trying to do a simple 2x2 box of plots. My code is so far very > simple, and simply looks something like this. > > ax=subplot(221) >> >> plot(x2cp,y2cp) >> ax.set_title('2cP') >> ylabel('Displacement') >> ax=subplot(222) >> plot(x2cb,y2cb) >> ax.set_title('2cB') >> ax=subplot(223) >> plot(x6fp,y6fp) >> ax.set_title('6fP') >> ax=subplot(224) >> plot(x6fb,y6fb) >> ax.set_title('6fB') >> show() >> >> > But when I do this, the text and numbers from various plots overlap each > other and get in the way (I noticed this is a common problem among the > images in the matplotlib gallery as well). I have 2 questions: > > 1). How can I control the spacing, or padding, between the plots so that > the numbers don't overlap? > 2). Is there a way for me to have a single common y-axis label and x-axis > label that runs along the full left-hand side and bottom, respectively? > > Thanks so much for the help! > > Brad >
Hi, I am trying to do a simple 2x2 box of plots. My code is so far very simple, and simply looks something like this. ax=subplot(221) > > plot(x2cp,y2cp) > ax.set_title('2cP') > ylabel('Displacement') > ax=subplot(222) > plot(x2cb,y2cb) > ax.set_title('2cB') > ax=subplot(223) > plot(x6fp,y6fp) > ax.set_title('6fP') > ax=subplot(224) > plot(x6fb,y6fb) > ax.set_title('6fB') > show() > > But when I do this, the text and numbers from various plots overlap each other and get in the way (I noticed this is a common problem among the images in the matplotlib gallery as well). I have 2 questions: 1). How can I control the spacing, or padding, between the plots so that the numbers don't overlap? 2). Is there a way for me to have a single common y-axis label and x-axis label that runs along the full left-hand side and bottom, respectively? Thanks so much for the help! Brad
I want to use kaiser window that's part of numpy for drawing spectrogram specgram(x, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none, window=mlab.window_hanning, noverlap=128, cmap=None, xextent=None, pad_to=None, sides='default', scale_by_freq=None, **kwargs) *window*: callable or ndarray A function or a vector of length *NFFT*. To create window vectors see :func:`window_hanning`, :func:`window_none`, :func:`numpy.blackman`, :func:`numpy.hamming`, :func:`numpy.bartlett`, :func:`scipy.signal`, :func:`scipy.signal.get_window`, etc. The default is :func:`window_hanning`. If a function is passed as the argument, it must take a data segment as an argument and return the windowed version of the segment. So I tried: Pxx, freqs, bins, im = specgram(x, NFFT=1024, Fs=fs, window=kaiser, noverlap=2) TypeError: kaiser() takes exactly 2 arguments (1 given) Pxx, freqs, bins, im = specgram(x, NFFT=1024, Fs=fs, window=kaiser(x, 8), noverlap=2) ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() Pxx, freqs, bins, im = specgram(x, NFFT=1024, Fs=fs, window=blackman, noverlap=2) ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() Can someone help? Thanks
On 09/14/2011 05:48 PM, Benjamin Root wrote: > > > On Wed, Sep 14, 2011 at 4:34 PM, CAB <ca...@ya... > <mailto:ca...@ya...>> wrote: > > > But now, let's say I want to italicize only the 'f' and 'x'. I > can't find any easy way to do that while retaining the Arial font. > > And no, I don't want to use TeX. Target users' computers might > not have it. > > > That's fine, that's why matplotlib imitates TeX with mathtext... > > > I've tried using mathtext, but that uses one of mathtext's fonts, > not mine (computer modern, etc., or sansserif, etc.) > > > I am sure there must be some way to change the font, but Arial might > not be supported for this... haven't tried though. Mathtext only works with particular math fonts -- in order to do math layout, extra metrics are required to be in the font that aren't in most standard fonts such as Arial. We need some sort of rich text support in matplotlib (such as HTML-like or something), but it doesn't currently exist. Mike
Hi Ben, Finally, I updated ti Python 2.6.7, numpy 1.6.1, and matplotlib 1.0.1. The update solved the problem. Thanks, marc On Wed, Aug 10, 2011 at 8:41 PM, Marc Magrans de Abril <mar...@gm...> wrote: > Hi Ben, > > I will try to do it. Once it is done I let you know. > > Cheers, > marc > > On Wed, Aug 10, 2011 at 7:41 PM, Benjamin Root <ben...@ou...> wrote: >> >> >> On Wed, Aug 10, 2011 at 12:32 PM, Marc Magrans de Abril >> <mar...@gm...> wrote: >>> >>> Dear colleagues, >>> >>> I'm trying to display an histogram with logarithmic bins using the >>> logarithmic scale in the x-axis. When I execute the attached python >>> script it crashes giving a "Bus Error" message (see also the attached >>> core dump). >>> >>> If I remove the line "plt.xscale('log')" the script goes up to the end. >>> >>> I'm running the program on MacOS 10.6.8, Python 2.5, numpy 1.2.1, and >>> matplotlib 0.98.5.2. >>> >>> Anyone knows the reason of the crash? >>> >>> Thanks, >>> marc >>> >> >> If I remember correctly, there was a log-scale bug in plt.hist() that got >> fixed a little while back. Your version of numpy and matplotlib is a little >> old. Is it possible to update those two packages on your system? >> >> Ben Root >> >> >