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
(11) |
|
2
(24) |
3
(24) |
4
(31) |
5
(30) |
6
(27) |
7
(25) |
8
(8) |
|
9
(2) |
10
(12) |
11
(16) |
12
(33) |
13
(18) |
14
(17) |
15
(3) |
|
16
(7) |
17
(8) |
18
(22) |
19
(20) |
20
(25) |
21
(10) |
22
(17) |
|
23
(18) |
24
(23) |
25
(15) |
26
(19) |
27
(6) |
28
(7) |
29
(6) |
|
30
(1) |
31
(12) |
|
|
|
|
|
|
From: Jae-Joon L. <lee...@gm...> - 2009-08-17 23:40:46
|
Hello, pywcsgrid2 is my personal project to display astronomical fits images using matplotlib. While there are other tools, my approach is to extend the capability of the matplolib, rather than building something new on top of it. pywcsgrid2 provides a custom Axes class (derived from the matplotlib's original Axes) whose main functionality improvement is to draw ticks, ticklabels, and grids in an appropriate sky coordinate. Requirement ---------------- * Matplotlib 0.99 version (http://matplotlib.sourceforge.net/) * kapteyn package (http://www.astro.rug.nl/software/kapteyn/) or pywcs (https://www.stsci.edu/trac/ssb/astrolib, svn version is required) * pyfits And it is only supported in linux and mac os X (although pywcsgrid2 itself is written in pure python). URLs ------ Home page : http://leejjoon.github.com/pywcsgrid2/ Overview doc. : http://leejjoon.github.com/pywcsgrid2/users/overview.html Download : http://github.com/leejjoon/pywcsgrid2/downloads github : http://github.com/leejjoon/pywcsgrid2 Unfortunately, the code is documented rather sparsely (with poor english), but I hope the above overview gives enough idea on how to start. pywcsgrid2 is still in development, and there will be bug fixes and improvements. While a downloadable tar file is available, installing from the git repository is recommended if you're familiar with it. For questions, bug reports or feature suggestions, please email me or use the issue tracker in the github. Regards, -JJ |
|
From: Carlos G. <car...@gm...> - 2009-08-17 19:41:21
|
Hi, I have a collection, which is a scatter plot, and I want to iterate through all the elements in this collection and retrieve their properties, like facecolor. the scatterplot is created like this: axes.scatter(x,y, c=some_list, cmap=plt.get_cmap(colmap)) many thanks -- Carlos Henrique Grohmann - Geologist D.Sc. a.k.a. Guano - Linux User #89721 ResearcherID: A-9030-2008 http://digitalelevation.blogspot.com http://www.igc.usp.br/pessoais/guano _________________ Can’t stop the signal. |
|
From: Eric F. <ef...@ha...> - 2009-08-17 18:31:00
|
Florian Leitner wrote: > Hi; I've got a rather simple question. I want to (color) fill a step > plot below the line, but using the fill() function always creates > regular plots, not step plots, and fillstyle doesn't work as I'd expect > it to. How can I fill a step plot? Something like this: > > import matplotlib.pyplot as plt > x = [0.0,0.5,0.66,0.75,1.0] > y = [0.72,0.72,0.61,0.43,0.33] > plt.step(x, y, fillstyle="bottom") # doesn't work how I imagine... > plt.axis([0.0,1.0,0.0,1.0]) > plt.show() > > What I want is that the area below the step-plot line is color-filled, > but I seem to be unable to find a function for it. If I use plt.fill(), > it creates a polygon plot and it does not allow to use the kwarg > drawstyle="steps", so I get no further with this function either. > > I guess it's a simple problem, but I'm having a bit of a hard time > wading though all the API, being completely new to matplotlib, so some > help would be very welcome! > --Florian It looks to me like there is no easy way to do it. This is a deficiency in the way steps are implemented at present. The generation of the stepped path is buried in a Line2D helper method, and the path is not saved. If it were, its x and y coordinates could be passed to fill_between, which would then provide the effect you want. Unless and until some refactoring is done in mpl, you will have to manually generate the x and y coordinates corresponding to your stepped line instead of using plt.step. It may be too much of a change to make to the API now, but I think that the step-generation should not be done in Line2D at all; it should be at the next level up. The Line2D object should not be modifying the coordinates it is given. At the very least, its get_path() should return the actual path it is drawing; at present it does not. This latter change may be relatively easy. Eric > > > > **NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los > ficheros adjuntos, pueden contener información protegida para el uso > exclusivo de su destinatario. Se prohíbe la distribución, reproducción o > cualquier otro tipo de transmisión por parte de otra persona que no sea > el destinatario. Si usted recibe por error este correo, se ruega > comunicarlo al remitente y borrar el mensaje recibido. > **CONFIDENTIALITY NOTICE** This email communication and any attachments > may contain confidential and privileged information for the sole use of > the designated recipient named above. Distribution, reproduction or any > other use of this transmission by any party other than the intended > recipient is prohibited. If you are not the intended recipient please > contact the sender and delete all copies. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Jae-Joon L. <lee...@gm...> - 2009-08-17 17:46:06
|
I took a stab at this during the weekends and a patch is attached. 1) introduces a new command subplot2grid. e.g., subplot2grid(shape=(3,3), loc=(0,0), colspan=3) it still creates a Subplot instance. 2) subplot command can take a SubplotSpec instance which is created using the GridSpec. gs = GridSpec(3,3) # shape=3,3 subplot(gs.new_subplotspec(loc=(0,0), colspan=3)) or subplot(gs[0,:]) or subplot(gs[0:3]) # supermongo-like For suplot with a single cell, subplot(gs[0]) # => subplot(331) or subplot(gs[0,0]) 3) Each GridSpec can have associated subplot parameters (subplot params of the figure is used if not set). Also see the example (demo_gridspec.py). We may further try to improve it (during the sprint maybe) if others are happy with the patch. Regards, -JJ On Sun, Aug 2, 2009 at 1:00 AM, John Hunter<jd...@gm...> wrote: > On Sat, Aug 1, 2009 at 7:32 PM, Alan G Isaac<ala...@gm...> wrote: >> On 8/1/2009 4:07 PM Thomas Robitaille apparently wrote: >>> Since matplotlib is about to hit 0.99, >> >> >> Which reminds me, was there a decision on subplot2grid etc? >> <URL:http://sourceforge.net/mailarchive/message.php?msg_name=6e8d907b0905172009j21b5077fp242c7598ee9fb2c9%40mail.gmail.com> > > There are lots of good suggestions in that thread -- on this issue, > all the best people will be at scipy and/or participating in the > sprint (Andrew who wrote the mpl sizer toolkit, JJ who does more > strange and wonderful things than anyone, Ryan May who has thought > through the issues and has done a lot of great work). So we'll > definitely bring it up and see if we can do something about it. There > are two pieces to this thread: the non-pythonic 1 based addressing of > the current subplot command ("don't blame me, talk to the mathworks"), > and the ability to easily specify column or row spans across the grid. > The former is a minor wart that is unlikely to change, the latter is > a significant feature that we should definitely support. Maybe you can > join us via skype if not in person in Pasadena, and we can try an > improve the current implementation. I don't imagine adding support > for spans would be too hard, > > JDH > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Florian L. <fle...@cn...> - 2009-08-17 17:42:22
|
Hi; I've got a rather simple question. I want to (color) fill a step plot below the line, but using the fill() function always creates regular plots, not step plots, and fillstyle doesn't work as I'd expect it to. How can I fill a step plot? Something like this: import matplotlib.pyplot as plt x = [0.0,0.5,0.66,0.75,1.0] y = [0.72,0.72,0.61,0.43,0.33] plt.step(x, y, fillstyle="bottom") # doesn't work how I imagine... plt.axis([0.0,1.0,0.0,1.0]) plt.show() What I want is that the area below the step-plot line is color-filled, but I seem to be unable to find a function for it. If I use plt.fill(), it creates a polygon plot and it does not allow to use the kwarg drawstyle="steps", so I get no further with this function either. I guess it's a simple problem, but I'm having a bit of a hard time wading though all the API, being completely new to matplotlib, so some help would be very welcome! --Florian **NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. **CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged information for the sole use of the designated recipient named above. Distribution, reproduction or any other use of this transmission by any party other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender and delete all copies. |
|
From: Werner F. B. <wer...@fr...> - 2009-08-17 16:21:02
|
Hi Chris, Christopher Barker wrote: > Werner F. Bruhin wrote: > >> I am trying to put together a wxPython frame using py.aui to show >> multiple matplotlib.figures/canvas. >> > > I'd recommend you take a look at wxMPL -- it's a nice way to embed MPL > in wx. > I'll have a look at this. > >> Would like that each figure takes x percentage of available screen >> estate. I.e. would like e.g. to have 2 rows with 3 columns of >> figures/statistics, i.e. 6 graphics. >> > > To be clear with the vocabulary -- in MPL, a "figure" would be one > wxWindow. In that you can put multiple "axes" which show the actual > plots (sometimes referred to as subplots). In this case, I'm not sure if > you want more than one MPL figure. > I am not sure yet if multiple axes/subplots is the way to go or to have multiple figures. I was leaning towards multiple figures, each a pane in AUI, to allow the user to size them how they want. > >> If the total screen estate is too small then there should be scrollbars >> per figure/canvas. >> > > If you want multiple figures, than this isn't really an MPL question. > You'd do that layout the same way you would with any other set of > wxWindows -- probably putting them all on a wxScrolledWindow, in Sizers, > and giving them a minimum size. > > With a single MPL Figure, it would be similar, put it on > wxScrolledWindows, with a minimum size set. > O.K. will play with this. In the mean time I found also some sample code from the matplotlib doc/gallery (great piece of documentation!!!!!). > >> Hopefully some samples code (in the example files which existed in >> 0.90.x) >> > Is this what you are looking for? > > http://matplotlib.sourceforge.net/examples/index.html > > in particular, you might want to look at the wx examples here: > > http://matplotlib.sourceforge.net/examples/user_interfaces/index.html > Yes, this is what I was looking for. Although it is a pity that these do not have the sample graph as is shown in the gallery - but looking at both I think I should find what I need. Thanks for the tips Werner |
|
From: Ole S. <ole...@gm...> - 2009-08-17 14:30:19
|
Hi, I want to show the same data on multiple plots. Is it possible to re-use the Line2D object for that? t.m., line = axes1.plot(xdata, ydata, ...) ... axes2.lines.append(line) Or is a Line2D bound to a certain axes instance? Best regards Ole |
|
From: Anth-Espin <aa...@uo...> - 2009-08-17 05:06:18
|
Hey guys,
I'm very new to python and matplotlib (in fact all programing) and I've been
trying to figure out a way to plot a series of data that's saved to a file.
I'd like for there to be some delay when the plot refreshes too, so maybe
like 1-2 seconds.
The file looks something like this
1000
0 0 10 10 20 30 20 10 0 0
1000
10 10 20 30 10 10 10 10 0 0
1000
0 0 10 10 20 30 20 10 0 0
etc, but has 120 values, and obviously, the numbers after the 1000 is what i
wish to plot. Playing around with matplotlib i found that it plots files
that are written as
0
0
10
10
etc
so my code incorporates a way to read one line, transpose it, and then plot
it.
but then i'd like some delay, and the plot is then refreshed with the next
sequence of data, and this to go on until i run out of data.
My code:
import linecache
import matplotlib.pyplot as plt
import os
i=3
while i < 7:
g = linecache.getline('data.txt', i)
g =g.replace(" ","\n")
filename = "test.txt"
file = open(filename, 'w')
file.write(g)
file.close()
plt.plotfile("test.txt")
plt.show()
os.remove("test.txt")
i = i+2
I know it must seem horribly inefficient, but when i run it, it doesn't
update it, just opens more than one plot and plots each one (and usually
crashes)
Any advice would be fantastic.
Thanks, Anthony
--
View this message in context: http://www.nabble.com/Plot-updating-from-file-tp25001050p25001050.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|