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}
(151) 
_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 




1
(9) 
2
(1) 
3
(4) 
4
(4) 
5
(9) 
6
(5) 
7
(12) 
8
(5) 
9
(27) 
10
(10) 
11
(4) 
12

13
(6) 
14
(12) 
15
(16) 
16
(13) 
17
(9) 
18
(1) 
19
(2) 
20
(4) 
21
(9) 
22
(5) 
23
(2) 
24
(6) 
25

26
(1) 
27
(9) 
28
(7) 
29
(2) 
30
(9) 


From: Eric Firing <efiring@ha...>  20110608 18:35:22

On 06/08/2011 01:28 AM, Daniel Mader wrote: > Dear Eric, > > thanks again for your comment, I am aware that the script contained > both the individual colorbars and the common one. My comment in the > code was because the placement on the figure is somewhat cramped: That's what I suspected, so the main point of the modified version was using subplots_adjust to give more room at the bottom, and then shifting the bottom colorbar so that it was less cramped. Granted, this approach takes some fiddling; but if you are using subplots and care about appearance, then sooner or later you will probably benefit from subplots_adjust, a function/method which is probably not as wellknown as it deserves to be. Eric > > ## doesn't really work :/ ## in what way? > cax = fig.add_axes([0.25, 0.06, 0.5, 0.02]) > fig.colorbar(im2, cax, orientation='horizontal') > > Ideally, I'd need to create a new subfig 313 with a much reduced height. > > Either way, you helped me a lot! > > > 2011/6/7 Eric Firing<efiring@...>: >> On 06/07/2011 01:37 AM, Daniel Mader wrote: >>> >>> Hi Eric, >>> >>> >>> 2011/6/6 Eric Firing<efiring@...>: >>>> >>>> It's not quite clear to me yet, but I assume you want to use a call to >>>> imshow with a different data set in the second subplot, but have the >>>> color scale and colorbar be identical to those in the first subplot. Is >>>> that correct? If so, all you need to do is use the same norm for both >>>> calls to imshowthat is, define a norm, set the limits you want on it, >>>> and supply it as a kwarg. >>> >>> thanks a lot, you helped me to work around my problem, see code below :) >>> >>>> Also, for this sort of comparison, sometimes it is more efficient to use >>>> a single colorbar for multiple panels, as in this example: >>>> >>>> >>>> http://matplotlib.sourceforge.net/examples/pylab_examples/multi_image.html >>> >>> Very nice example! It's a little too complex for me, though, with all >>> the calculations for the axes layout  I prefer subplots :) However, >>> I think I have found a nice compromise: >> >> Attached is a slight modification, much simpler than the example above, but >> retaining the single colorbar. Alternatively, if you stick with the >> colorbar for each panel (which is sometimes clearer), it illustrates a >> slightly clearer way of handling the cmap and norm, explicitly using the >> same instance of each for both images. >> >> Eric >> >>> >>> import pylab >>> import matplotlib as mpl >>> >>> pylab.close('all') >>> >>> dat = pylab.array([[1,2,3,4],[5,6,7,8]]) >>> datT = dat/2 >>> >>> fig = pylab.figure() >>> >>> ax1 = fig.add_subplot(211) >>> ax1.set_title('raw data') >>> im1 = ax1.imshow(dat, interpolation='nearest', >>> cmap=mpl.cm.get_cmap('rainbow', 20)) >>> fig.colorbar(im1) >>> >>> ax2 = fig.add_subplot(212) >>> ax2.set_title('leveled') >>> im2 = ax2.imshow(datT, interpolation='nearest', >>> cmap=mpl.cm.get_cmap('rainbow', 20)) >>> ## apply norm: >>> norm = mpl.colors.Normalize(vmin=dat.min(), vmax=dat.max()) >>> im2.set_norm(norm) >>> fig.colorbar(im2) >>> >>> ## doesn't really work :/ >>> cax = fig.add_axes([0.25, 0.04, 0.5, 0.02]) >>> fig.colorbar(im2, cax, orientation='horizontal') >>> >>> pylab.show() >>> >>> Thanks a lot, >>> best regards, >>> >>> Daniel > >  > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephoxdev2dev > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers 
From: John Hunter <jdh2358@gm...>  20110608 14:13:34

On Tue, Jun 7, 2011 at 5:16 PM, Shankararaman Ramakrishnan < Shankararaman_Ramakrishnan@...> wrote: > Hi, > > > > I use matplotlib as my python graphics library. I happen to see the > following problems with the plot() function and would appreciate any help to > resolve these problems! > > > > 1. Using the default line style under plot() results in the function > dropping data points from the plot. Plotting the same data with a ‘dot’ > linestyle shows the missing data points. > > 2. Any large outliers in a data set are generally excluded from the > resulting plot. > > > > The original plot generated using the default linestyle does not show the > large outliers in the dataset. Further comparing against the second plot > shows missing data points which were not connected by the default linestyle. > Several missing data points are not necessarily large outliers. My initial > guess for missing large outliers was that the function was aliasing down > large values. > > > > Missing nominal data points makes me wonder if the plot function internally > generates a “bestfit” or least squares plot of the data points? This > inconsistent plot occurs only with large data sets. The two plots were > generated with over 100000 (hundred thousand) data points. > > > > Would be happy to send you the original data if that may help troubleshoot > this problem. > In all liklihood, you are using an older version of matplotlib which had a bug in the path.simplify logic that caused some points to be dropped. The solution is to either upgrade to the latest matplotlib (1.0.1) or turn off path simplification by setting 'path.simplify : False' in your matplotlibrc http://matplotlib.sourceforge.net/users/customizing.html You can find out what version of matplotlib you are running by doing In [127]: import matplotlib In [128]: matplotlib.__version__ Out[128]: '1.0.1' JDH 
From: Daniel Mader <danielstefanmader@go...>  20110608 11:29:12

Dear Eric, thanks again for your comment, I am aware that the script contained both the individual colorbars and the common one. My comment in the code was because the placement on the figure is somewhat cramped: ## doesn't really work :/ ## in what way? cax = fig.add_axes([0.25, 0.06, 0.5, 0.02]) fig.colorbar(im2, cax, orientation='horizontal') Ideally, I'd need to create a new subfig 313 with a much reduced height. Either way, you helped me a lot! 2011/6/7 Eric Firing <efiring@...>: > On 06/07/2011 01:37 AM, Daniel Mader wrote: >> >> Hi Eric, >> >> >> 2011/6/6 Eric Firing<efiring@...>: >>> >>> It's not quite clear to me yet, but I assume you want to use a call to >>> imshow with a different data set in the second subplot, but have the >>> color scale and colorbar be identical to those in the first subplot. Is >>> that correct? If so, all you need to do is use the same norm for both >>> calls to imshowthat is, define a norm, set the limits you want on it, >>> and supply it as a kwarg. >> >> thanks a lot, you helped me to work around my problem, see code below :) >> >>> Also, for this sort of comparison, sometimes it is more efficient to use >>> a single colorbar for multiple panels, as in this example: >>> >>> >>> http://matplotlib.sourceforge.net/examples/pylab_examples/multi_image.html >> >> Very nice example! It's a little too complex for me, though, with all >> the calculations for the axes layout  I prefer subplots :) However, >> I think I have found a nice compromise: > > Attached is a slight modification, much simpler than the example above, but > retaining the single colorbar. Alternatively, if you stick with the > colorbar for each panel (which is sometimes clearer), it illustrates a > slightly clearer way of handling the cmap and norm, explicitly using the > same instance of each for both images. > > Eric > >> >> import pylab >> import matplotlib as mpl >> >> pylab.close('all') >> >> dat = pylab.array([[1,2,3,4],[5,6,7,8]]) >> datT = dat/2 >> >> fig = pylab.figure() >> >> ax1 = fig.add_subplot(211) >> ax1.set_title('raw data') >> im1 = ax1.imshow(dat, interpolation='nearest', >> cmap=mpl.cm.get_cmap('rainbow', 20)) >> fig.colorbar(im1) >> >> ax2 = fig.add_subplot(212) >> ax2.set_title('leveled') >> im2 = ax2.imshow(datT, interpolation='nearest', >> cmap=mpl.cm.get_cmap('rainbow', 20)) >> ## apply norm: >> norm = mpl.colors.Normalize(vmin=dat.min(), vmax=dat.max()) >> im2.set_norm(norm) >> fig.colorbar(im2) >> >> ## doesn't really work :/ >> cax = fig.add_axes([0.25, 0.04, 0.5, 0.02]) >> fig.colorbar(im2, cax, orientation='horizontal') >> >> pylab.show() >> >> Thanks a lot, >> best regards, >> >> Daniel 
From: Johannes Radinger <JRadinger@gm...>  20110608 10:52:26

Hello, I've got following function describing any kind of animal dispersal kernel: def pdf(x,s1,s2): return (p/(math.sqrt(2*math.pi*s1**2))*numpy.exp(((x0)**(2)/(2*s1**(2)))))+((1p)/(s2*math.sqrt(2*math.pi))*numpy.exp(((x0)**(2)/(2*s2**(2))))) On the other hand I've got data from literature with which I want to fit the function so that I get s1, s2 and x. Ususally the data in the literature are as follows: Example 1: 50% of the animals are between 270m and +270m and 90% are between 500m and + 500m Example 2: 84% is between  5000 m and +5000m, and 73% are between 1000m and +1000m So far as I understand an integration of the function is needed to solve for s1 and s2 as all the literature data give percentage (area under the curve) Can that be used to fit the curve or can that create ranges for s1 and s2. /Johannes  NEU: FreePhone  kostenlos mobil telefonieren! Jetzt informieren: http://www.gmx.net/de/go/freephone 
From: Eric O LEBIGOT (EOL) <Eric.Lebigot@no...>  20110608 08:18:32

efiring wrote: > > My github branch now includes a changeset with augmented docstrings for > show and draw. > Your new docstrings are a great improvement. They answer many of the questions I have been having for years. As for where the interactive mode/noninteractive mode discussion should be, I think that while the mere existence of this discussion is an improvement. I vote for moving it to a more prominent place than the FAQ, as it is about an important, practical subject that users should be aware of quite early when they learn Matplotlib. Anyway, many thanks to you and Ben for devoting time to this. :)  View this message in context: http://old.nabble.com/Exactsemanticsofion%28%29tp31728909p31798588.html Sent from the matplotlib  users mailing list archive at Nabble.com. 