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
(5) |
2
|
3
(3) |
4
(16) |
5
(8) |
6
(22) |
7
(10) |
8
(18) |
9
(11) |
10
(7) |
11
(16) |
12
(1) |
13
(10) |
14
(14) |
15
(2) |
16
(3) |
17
(19) |
18
(24) |
19
(35) |
20
(38) |
21
(27) |
22
(1) |
23
(9) |
24
(6) |
25
(24) |
26
(9) |
27
(7) |
28
(5) |
29
(9) |
30
(4) |
|
|
|
|
|
|
Hello, I am trying to install MatPlotLib and I can't seem to get it to work. Any help with this problem would be greatly appreciated. THANKS! Below are are facts about my system. $ uname -a CYGWIN_NT-5.1 (Prefer not to display) 1.5.25(0.156/4/2) 2008年06月12日 19:34 i686 Cygwin $ python setup.py build ============================================================================ BUILDING MATPLOTLIB matplotlib: 0.98.3 python: 2.5.1 (r251:54863, May 18 2007, 16:56:43) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] platform: cygwin REQUIRED DEPENDENCIES numpy: 1.2.1 freetype2: 9.15.3 OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.12 Traceback (most recent call last): File "setup.py", line 126, in <module> if check_for_tk() or (options['build_tkagg'] is True): File "/c/MatPlotLib/matplotlib/setupext.py", line 840, in check_for_tk explanation = add_tk_flags(module) File "/c/MatPlotLib/matplotlib/setupext.py", line 1084, in add_tk_flags result = parse_tcl_config(tcl_lib_dir, tk_lib_dir) File "/c/MatPlotLib/matplotlib/setupext.py", line 946, in parse_tcl_config tk_lib = tk_vars.get("default", "TK_LIB_SPEC")[1:-1].split()[0][2:] IndexError: list index out of range dcaceres@(prefer not to display) /c/MatPlotLib/matplotlib $ gcc --version gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
On Tue, Nov 4, 2008 at 7:29 AM, Michael Droettboom <md...@st...> wrote: > Can you be more specific about what is going wrong? The zoom magnifier > seems to work fine for me with or without twinx, but perhaps we just > have different expectations of how it works. Could you perhaps provide > screenshots? Note that only one of the two axes can get the events, and that is determined by the axes zorder. So if you want ax1 to get the events ax1 = fig.add_subplot(111) ax1t = ax1.twinx() ax1.set_zorder(10) ax1t.set_zorder(1) JDH
Can you be more specific about what is going wrong? The zoom magnifier seems to work fine for me with or without twinx, but perhaps we just have different expectations of how it works. Could you perhaps provide screenshots? I'm checking against SVN trunk. I didn't check against 0.90.1, since it would require installing an older version of numpy, and other dependency dances etc. But I'm happy to dig further once I have a better idea of what is going wrong for you. This FAQ explains how to get the version number and other useful information for a bug report: http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#report-a-problem Cheers, Mike wet_colored)arch wrote: > I am trying to code an application with two checkboxes, one associated with > each axis on a simple plot. I can then turn on and off lines in the plot > that are scaled either to the left side or right side of the plot. > > This is working fine and patterned after some of the examples from > matplotlib. > > However, when I use the toolbar feature with the "magnifier" the scaling is > not usually correct. More specifically, if I select an area with the > magnifier, the next drawing of the information is not scaled right. > (ususally it is a smaller subset of the data selected) > > I have confirmed when I run without twinx , the magnifier works fine. > > I also have noticed that when running the example from matplotlib the same > thing happens. I have searched a bit looking for perhaps a bug or comment in > forums on how to workaround this or perhaps I have done something wrong, but > no luck. Perhaps I don't understand how the magnifier is supposed to work > but when I disable the twinx capability of my code, things seem to work > fine. (I'm still mostly a noob but I am persistent.) > > I believe I have 0.90 or perhaps one earlier. I wasn't completely sure how > to check but 0.90 is shown in the __init__.py file. > > I have attached the matplotlib provided example that I feel doesn't work > right. I also have a snippet of my code below. (which is structured a bit > different than the example but when I run identical to the snippet, using > the structure of my code I get an error due to twinx not being a method of > subplot - as I recall) > > from two scales example provided with matplotlib > > > from pylab import * > > ax1 = subplot(111) > t = arange(0.01, 10.0, 0.01) > s1 = exp(t) > plot(t, s1, 'b-') > xlabel('time (s)') > ylabel('exp') > > > # turn off the 2nd axes rectangle with frameon kwarg > ax2 = twinx() > s2 = sin(2*pi*t) > plot(t, s2, 'r.') > ylabel('sin') > ax2.yaxis.tick_right() > show() > > > snippet from my code >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > self.axL=subplot(132, position=[0.2,0.1,0.6,0.8]) > self.axR=twinx(self.axL) > self.rax1=subplot(131, position=[0.01, 0.10, 0.14, 0.8]) > self.rax2=subplot(133, position=[0.85, 0.10, 0.14, 0.8]) > > for key in sorted(dict): > if dict[key][1]<>'N': #~ providing key to allow for skipping > data set > visibility=dict[key][2] > exec("self.l%s, = > self.ax%s.plot(glbl.fusdata%s,visible=visibility,ls=dict[key][4],color=dict[key][3])"% > (key,dict[key][1],key)) > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
> I spent some time working on it and came to the following conclusion: > if the mpl figure is fully transparent, you see whatever is in the gui > rendering buffer, which may be unintiialized memory. In some sense, > mpl is doing what is asked of it, making a fully transparent figure. > Clearing the agg buffer is not enough if it is transparent -- you also > have to init the canvas buffer. The question is: with what? > I think what we may want is to let the the gui backend do the compositing, i.e., showing a composite image of the background (of the canvas widget) and what is in the agg buffer. In recent version of GTK(2.8 and later), you can do it with cairo. The attached is a test patch for the gtkagg backend. It includes a small example which sets an image as a background of the canvas (see the attached image). I found this patch make the mpl quite slowed down in my unix box, but fine in my macbook (my guess is it depends on whether cairo uses the hardware acceleration or not). Regards, -JJ
On Mon, Nov 3, 2008 at 10:47 PM, Ryan May <rm...@gm...> wrote: > Try the extent kwarg for imshow: > > *extent*: [ None | scalars (left, right, bottom, top) ] > Eata values of the axes. The default assigns zero-based row, > column indices to the *x*, *y* centers of the pixels. > > So you would do: > > imshow(data, extent=(l, r, b, t)) Yes, this works, thanks! The weird thing is that the first time I tried "extent" it didn't work (i.e. I messed up something :) ). Edin
Edin Salkovic wrote: > On Mon, Nov 3, 2008 at 9:08 PM, Edin Salkovic <edi...@gm...> wrote: >> On Mon, Nov 3, 2008 at 8:23 PM, Edin Salkovic <edi...@gm...> wrote: >>> Am I missing something obvious? >> xticklabels/yticklabels did the job. >> >> Sorry for the noise. > > Actually, with xticklabels/yticklabels the zoom functionality for the > image is broken, so I still need a better solution. Try the extent kwarg for imshow: *extent*: [ None | scalars (left, right, bottom, top) ] Eata values of the axes. The default assigns zero-based row, column indices to the *x*, *y* centers of the pixels. So you would do: imshow(data, extent=(l, r, b, t)) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma
On Mon, Nov 3, 2008 at 9:08 PM, Edin Salkovic <edi...@gm...> wrote: > On Mon, Nov 3, 2008 at 8:23 PM, Edin Salkovic <edi...@gm...> wrote: >> Am I missing something obvious? > > xticklabels/yticklabels did the job. > > Sorry for the noise. Actually, with xticklabels/yticklabels the zoom functionality for the image is broken, so I still need a better solution.
On Sat, Nov 1, 2008 at 3:35 PM, sandric ionut <san...@ya...> wrote: > Hi: > > I did had a look before, but I couldn't find a good example > I was hoping to get an example from the list > The example is in the link I posted http://matplotlib.sourceforge.net/examples/pylab_examples/histogram_demo_extended.html but I will include it here for your convenience n, bins, patches = P.hist(x, 50, normed=1, histtype='step', cumulative=True) # add a line showing the expected distribution y = P.normpdf( bins, mu, sigma).cumsum() y /= y[-1] l = P.plot(bins, y, 'k--', linewidth=1.5) See the link for the full example code JDH
Hi: I did had a look before, but I couldn't find a good example I was hoping to get an example from the list I. ________________________________ From: John Hunter <jd...@gm...> To: sandric ionut <san...@ya...> Cc: mat...@li... Sent: Saturday, November 1, 2008 10:12:29 PM Subject: Re: [Matplotlib-users] cumulative percentage On Sat, Nov 1, 2008 at 2:53 PM, sandric ionut <san...@ya...> wrote: > How can I plot cumulative percentage with matplotlib? > > Please, can someone give me an example? Take a look at the "extended" histogram examples at http://matplotlib.sourceforge.net/examples/pylab_examples/histogram_demo_extended.html You can also search the docs for histogram: http://matplotlib.sourceforge.net/search.html?q=histogram JDH
On Sat, Nov 1, 2008 at 2:53 PM, sandric ionut <san...@ya...> wrote: > How can I plot cumulative percentage with matplotlib? > > Please, can someone give me an example? Take a look at the "extended" histogram examples at http://matplotlib.sourceforge.net/examples/pylab_examples/histogram_demo_extended.html You can also search the docs for histogram: http://matplotlib.sourceforge.net/search.html?q=histogram JDH
Hello everbody: How can I plot cumulative percentage with matplotlib? Please, can someone give me an example? Thank you, Ionut
Hello, Given a set of points: (x1, y1), (x2, y2), (x3, y3), (x4, y4), .... How do plot a curve y = sinh(x) between (x1, y1) and (x2, y2) and then between (x2, y2) and (x3, y3) and so on .....? Thanks in advance, AMaity.