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
(2) |
|
2
(4) |
3
(16) |
4
(4) |
5
(15) |
6
(16) |
7
(6) |
8
(4) |
|
9
(9) |
10
(5) |
11
(8) |
12
(14) |
13
(19) |
14
(21) |
15
(8) |
|
16
(6) |
17
(10) |
18
(22) |
19
(15) |
20
(7) |
21
(21) |
22
(1) |
|
23
(6) |
24
(16) |
25
(12) |
26
(11) |
27
(27) |
28
(7) |
29
|
|
30
(4) |
31
(5) |
|
|
|
|
|
|
From: Benjamin R. <ben...@ou...> - 2011-01-28 20:31:15
|
On Friday, January 28, 2011, Thomas Lecocq <thl...@ms...> wrote:
>
>
>
>
>
>
> From: patbradf
> To: mat...@li...
> Date: Wed, 26 Jan 2011 22:53:28 -0600
> Subject: [Matplotlib-users] Problem with "projection='3d'"
>
> Forgive me if this is an old question, but I just loaded mplot3d and was attempting to work through a couple of the examples on the Matplotlib website. The problem is that whenever I try to make a call to a function that requires an argument of projection=’3d’ (such as: ax = fig.add_subplot(111, projection='3d')), Python gives me the following error: Traceback (most recent call last): File "<pyshell#12>", line 1, in <module> ax = fig.add_subplot(111, projection='3d') File "C:\Python26\lib\site-packages\matplotlib\figure.py", line 677, in add_subplot projection_class = get_projection_class(projection) File "C:\Python26\lib\site-packages\matplotlib\projections\__init__.py", line 61, in get_projection_class raise ValueError("Unknown projection '%s'" % projection)ValueError: Unknown projection '3d'
>
> Check the version of matplotlib you have ! , I suspect a <=1.0
> HTH
> Thom
>
>
If your version is less than 1.0, the the 3D examples will not work as
is. Instead of gca() with the projection argument, you need to make
an Axes3D object instead.
fig = plt.figure()
ax = Axes3D(fig)
Or something like that (I am working off memory right now).
Ben Root
|
|
From: Nicolas B. <nbi...@gm...> - 2011-01-28 18:42:26
|
Hi all,
I have a derived class that I copy-pasted from the web somewhere to hide
some tick labels:
class MinorLogTickFormatter(matplotlib.ticker.LogFormatter):
# Format log scale with 10^ labels. Only if show one label over two.
def __call__(self, val, pos=None):
exponent =
int(numpy.floor(numpy.log(abs(val))/numpy.log(self._base)))
base = int(val / 10.0**exponent)
isDecade = self.is_decade(exponent)
if not isDecade and self.labelOnlyBase:
return ''
if (not (base == 2 or base == 4 or base == 6 or base == 8)): # Only
show these ones.
return ''
label = r"$%d \times 10^{%d}$" % (base, exponent)
return label
pylab.gca().xaxis.set_minor_formatter(MinorLogTickFormatter())
I've beend using this since many months, but with matplotlib 1.0.1 I can't
anymore. It complains about the is_decade() function:
isDecade = self.is_decade(exponent)
AttributeError: MinorLogTickFormatter instance has no attribute 'is_decade'
How can I fix that?
Thanks!
Nicolas
|
|
From: Philipp A. <fly...@we...> - 2011-01-28 15:55:32
|
2011/1/28 Mike Alger <ma...@ry...> > Philip, > > > > A few questions before I give one possible solution, > > > > Does this plot need to be updated in real time ? or is this plot to be done > in post processing? > > > > if you can do the plots with post processing you should be able to use > pcolor function to do your tasks > > http://matplotlib.sourceforge.net/examples/pylab_examples/pcolor_demo.html > > > > i won’t go into details but just assign: > > > > X as 1d vector with your m/z values > > Y as 1d vector your time values > > And Z as a 2d array that will map counts/sec to both a “m/z” and “time” > index > > > > You will have to find the location for your other marks and then plot them > on top of pcolor graph but that shouldn’t be too hard just express your > values (i am assuming 3dB cutoff points and peak power of some sort) in > terms of X Y. I am almost certain there is probably a nice DSP way to solve > for those X Y values once the data is in a 2d array but i am no expert on > that mater. > > > > Good luck and hopefully this helps, > > > > Mike > hi mike, thanks for the answer. it looks interesting, but will it work if the m/z values are all different from each other? i mean: the m/z-ranges are overlapping, but there are no duplicate values. this way, every column of the array would only contain one value if i understood you correctly. thanks, philipp |
|
From: Thomas L. <thl...@ms...> - 2011-01-28 15:09:06
|
From: patbradf
To: mat...@li...
Date: Wed, 26 Jan 2011 22:53:28 -0600
Subject: [Matplotlib-users] Problem with "projection='3d'"
Forgive me if this is an old question, but I just loaded mplot3d and was attempting to work through a couple of the examples on the Matplotlib website. The problem is that whenever I try to make a call to a function that requires an argument of projection=’3d’ (such as: ax = fig.add_subplot(111, projection='3d')), Python gives me the following error: Traceback (most recent call last): File "<pyshell#12>", line 1, in <module> ax = fig.add_subplot(111, projection='3d') File "C:\Python26\lib\site-packages\matplotlib\figure.py", line 677, in add_subplot projection_class = get_projection_class(projection) File "C:\Python26\lib\site-packages\matplotlib\projections\__init__.py", line 61, in get_projection_class raise ValueError("Unknown projection '%s'" % projection)ValueError: Unknown projection '3d'
Check the version of matplotlib you have ! , I suspect a <=1.0
HTH
Thom
|
|
From: Benjamin R. <ben...@ou...> - 2011-01-28 13:27:47
|
On Wednesday, January 26, 2011, Soumyaroop Roy <sou...@gm...> wrote: > Hi Ben: > > That's encouraging! > > I want to be able plot up to N data points (the points are in an > ordered sequence) on a canvas and then zoom into the plot region > enclosed within a subset sequence (e.g., T1 to T2 data points, 0 <= T1 > < T2 <=N) by putting two cursors - one on T1 and the other one on T2. > > regards, > Soumyaroop > One way to do that would be to set the x and/or y limits based on the min/max of the slice of data you want to view. For example: import numpy as np Import matplotlib.pyplot as plt X = np.linspace(0, 5*np.pi, 100) Y = np.sin(X) plt.plot(X, Y) iStart = 50 iEnd = 78 plt.xlim(X[iStart:iEnd].min(), X[iStart, iEnd].max()) plt.ylim(Y[iStart:iEnd].min(), Y[iStart, iEnd].max()) plt.show() |
|
From: Mike A. <ma...@ry...> - 2011-01-28 05:11:38
|
Philip, A few questions before I give one possible solution, Does this plot need to be updated in real time ? or is this plot to be done in post processing? if you can do the plots with post processing you should be able to use pcolor function to do your tasks http://matplotlib.sourceforge.net/examples/pylab_examples/pcolor_demo.html i won’t go into details but just assign: X as 1d vector with your m/z values Y as 1d vector your time values And Z as a 2d array that will map counts/sec to both a “m/z” and “time” index You will have to find the location for your other marks and then plot them on top of pcolor graph but that shouldn’t be too hard just express your values (i am assuming 3dB cutoff points and peak power of some sort) in terms of X Y. I am almost certain there is probably a nice DSP way to solve for those X Y values once the data is in a 2d array but i am no expert on that mater. Good luck and hopefully this helps, Mike From: Philipp A. [mailto:fly...@we...] Sent: January-27-11 5:15 PM To: mat...@li... Subject: [Matplotlib-users] 3D Data to 2d Plots Hi list, I want to visualize Plots over time. This describes the data: 3dplot.png <http://red-sheep.de/images/3dplot.png> a) and b) are single scans, the cutting at the red bars is no problem. c) illustrates how they are done over time. d) is what I want. I think this plot <http://matplotlib.sourceforge.net/examples/axes_grid/demo_axes_grid2.html> could be a starting point, but I don’t really understand what’s done there. e) would be easier to do, like this plot <http://matplotlib.sourceforge.net/examples/mplot3d/polys3d_demo.html> , but information is lost this way (hidden behind higher values) it would be best to do the following: 1. plot one horizontal line vertically above each other (gapless), one for each scan (so the vertical axis is the time axis) 2. each line is displayed as a series of gradients directly next to to each other (gapless) 3. the starting and ending point of each gradient are determined by the horizontal position of two adjacent data points in the current scan 4. the colors of each gradient are determined by the vertical position of the two adjacent data points in the current scan, relative to the total maximum has anyone an idea how to do this? i am really a matplotlib noob. Philipp |
|
From: Jeff W. <js...@fa...> - 2011-01-28 01:54:51
|
On 1/27/11 6:35 AM, Thomas Lecocq wrote: > Hi all, > > I would like to contribute to a better readshapefile method, who > should I contact / where should I commit ? > > First improvement and partial solution : > > * returning a tuple of linecollections per "record", with its name and > other properties. > > Cheers, > > Thomas > > ps : example > http://www.geophysique.be/2011/01/27/matplotlib-basemap-tutorial-07-shapefiles-unleached/ > > ********************** > Thomas Lecocq > Geologist > Ph.D.Student (Seismology) > Royal Observatory of Belgium > ********************** > Thomas: If you could check out basemap from svn, add your changes, then create an svn diff, that would be ideal. You either send the diff directly to me, or post it on the list. Thanks. -Jeff |