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
(20) |
2
(16) |
3
(9) |
4
(12) |
5
(14) |
6
(22) |
|
7
(17) |
8
(33) |
9
(26) |
10
(32) |
11
(47) |
12
(26) |
13
(7) |
|
14
(24) |
15
(44) |
16
(42) |
17
(22) |
18
(31) |
19
(8) |
20
(4) |
|
21
(15) |
22
(27) |
23
(41) |
24
(33) |
25
(31) |
26
(24) |
27
(10) |
|
28
(20) |
|
|
|
|
|
|
|
From: Jae-Joon L. <lee...@gm...> - 2010-02-07 23:25:17
|
try ax1.axis(v) -JJ On Sun, Feb 7, 2010 at 5:16 PM, Wayne Watson <sie...@sb...> wrote: > The segment below is supposed to plot two columns of (x,y) data and do > it in an area 640x480. Apparently, I'm missing how to use v to get this > done. It dies at col.axis(v) with list object has no attribute 'axis'. > From looking at some MPL examples, it's not clear to me how one uses > axis here. I might have needed axes, but that doesn't work either. > Comments? > > > ... > trk_stats = (amin, amax, mean, std, per_tile25, per_tile50, > per_tile75) > fig = figure() > ax1 = fig.add_subplot(111) > v = (0, 640, 0, 480) > print "shapes: ", xy[:,0].shape, xy[:,1].shape > col = ax1.plot(xy[:,0], xy[:,1]) > col.axis(v) > show() > print "something for wtw plot" > print > return trk_stats > > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Wayne W. <sie...@sb...> - 2010-02-07 22:35:28
|
Thanks. It seems most example of matplotlib end with show(). In fact, all may end that way, at least the short ones. On 2/7/2010 1:50 PM, Jeff Whitaker wrote: > > I need to know how to close a figure/chart in matplot. > -- My life in two words. "Interrupted Projects." -- WTW (quote originator) |
|
From: Wayne W. <sie...@sb...> - 2010-02-07 22:16:30
|
The segment below is supposed to plot two columns of (x,y) data and do
it in an area 640x480. Apparently, I'm missing how to use v to get this
done. It dies at col.axis(v) with list object has no attribute 'axis'.
From looking at some MPL examples, it's not clear to me how one uses
axis here. I might have needed axes, but that doesn't work either.
Comments?
...
trk_stats = (amin, amax, mean, std, per_tile25, per_tile50,
per_tile75)
fig = figure()
ax1 = fig.add_subplot(111)
v = (0, 640, 0, 480)
print "shapes: ", xy[:,0].shape, xy[:,1].shape
col = ax1.plot(xy[:,0], xy[:,1])
col.axis(v)
show()
print "something for wtw plot"
print
return trk_stats
|
|
From: Jeff W. <js...@fa...> - 2010-02-07 22:04:28
|
zxc wrote: > Hi there! > I need to know how to close a figure/chart in matplot. > > Does anyone know how it works and could you please explain on the > example below? > The problem is: close(1) doesn't close the figure 1 and when the 2nd > figure will be plot the program hangs. > I tried with draw() but the figure doesn't appear. Use fig.close() -Jeff |
|
From: Wayne W. <sie...@sb...> - 2010-02-07 21:50:46
|
Note the show() on the last line below. If I run this program from IDLE,
it displays the graph, and sits there. I would like to finish, by
getting to an active shell script. If I close the figure using x in the
upper right, it disappears. Now two windows are seen. The code and
script window. The script window is not active. I can't enter anything
into it. The cursor is below the >>>. Ctrl-C doesn't work. If I use the
x in the upper corner, eventually the script window disappears. How do I
just return to the script? There ought to be a smooth way to do this by
putting something after show().
import matplotlib
matplotlib.use('Agg')
from pylab import figure, show
import numpy as np
# make an agg figure
fig = figure()
ax = fig.add_subplot(111)
ax.plot([1,2,3])
ax.set_title('a simple figure')
fig.canvas.draw()
show()
--
My life in two words. "Interrupted Projects." -- WTW (quote originator)
|
|
From: Wayne W. <sie...@sb...> - 2010-02-07 21:22:48
|
It's is simple as pie. Put three points on a sheet of paper. Draw a line with an arrow on it from any point to another. Draw a line from the last point to the third the same way. The method I described will work fine. I can do this. No need for you to attach arrows to what you've done. I think this is really wrapped up. On 2/7/2010 9:54 AM, Alan G Isaac wrote: > Wayne Watson wrote: > >> The cumsum (summation) buffaloes me. >> > That is just to create some artificial data, > to illustrate. If you have the coordinates > in a 2 by N array named `locs`, just use the > last 2 lines. If you already have the > coordinates separated into arrays x and y, > just use the last line, i.e., plt.plot(x,y). > Is that what you want? > > hth, > Alan > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- My life in two words. "Interrupted Projects." -- WTW (quote originator) |
|
From: Eric F. <ef...@ha...> - 2010-02-07 18:15:20
|
Filipe Pires Alvarenga Fernandes wrote: > Hello list, > > I'm trying to create a stick-plot figure using the quiver function from > matplotlib. However, I'm failing miserably to plot dates in the x-axis. > Has anyone done this before? Also, is there an effort to create a > stickplot function? I need to add units support to quiver so that it will recognize dates. I will do that shortly. Please give an example showing what you want as a "stickplot". What should be the capabilities of such a function? Does it differ from quiver only in plotting line segments rather than arrows? Eric > > Thanks, Filipe > > ***************************************************** > Filipe Pires Alvarenga Fernandes > > University of Massachusetts Dartmouth > 200 Mill Road - Fairhaven, MA > Tel: (508) 910-6381 > Email: fal...@um... > <mailto:fal...@um...> > oc...@ya... <mailto:oc...@ya...> > oc...@gm... <mailto:oc...@gm...> > > http://ocefpaf.tiddlyspot.com/ > ***************************************************** > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: zxc <Web...@we...> - 2010-02-07 18:06:29
|
Hi there! I need to know how to close a figure/chart in matplot. Does anyone know how it works and could you please explain on the example below? The problem is: close(1) doesn't close the figure 1 and when the 2nd figure will be plot the program hangs. I tried with draw() but the figure doesn't appear. Thanks! John import matplotlib.pyplot as plt import time fig = plt.figure(1) ax = fig.add_subplot(111) ax.plot((1, 3, 1)) plt.show() time.sleep(10) plt.close(1) fig = plt.figure(2) ax = fig.add_subplot(111) ax.plot((4, 1, 0)) plt.show() |
|
From: Alan G I. <ala...@gm...> - 2010-02-07 17:55:01
|
Wayne Watson wrote: > The cumsum (summation) buffaloes me. That is just to create some artificial data, to illustrate. If you have the coordinates in a 2 by N array named `locs`, just use the last 2 lines. If you already have the coordinates separated into arrays x and y, just use the last line, i.e., plt.plot(x,y). Is that what you want? hth, Alan |
|
From: Wayne W. <sie...@sb...> - 2010-02-07 17:11:35
|
As it turns out, this was easy to solve. What drove me to this point is that the distributor of the software I use mentioned that numpy had to be installed before MPL. I had only installed MPL when I ran into a program that failed. I thought it might be because I hadn't installed numpy first, in fac I had not at all installed it at that moment. Now I was faced with the question of backing out MPL. However, the MPL install had given several warnings about some file missing. This reinforced the idea order was needed. As it turns out order doesn't matter here. I installed numpy and all is working fine. I have no idea though when order does matter. On 2/6/2010 4:39 AM, Christoph Gohlke wrote: > Depending on the version and installer used, manually remove > > C:\Python25\Lib\site-packages\pylab.py > C:\Python25\Lib\site-packages\matplotlib > C:\Python25\Lib\site-packages\mpl_toolkits > C:\Python25\Lib\site-packages\matplotlib*.egg-info > C:\Python25\Removematplotlib.exe > C:\Python25\matplotlib-wininst.log > > The packages dateutil and pytz are also installed along with matplotlib > but might be used by other packages too. > > Christoph > > > On 2/5/2010 12:11 PM, Wayne Watson wrote: > >> I'm working in IDLE in Win7. It seems to me it gets stuck in >> site-packages under C:\Python25. Maybe this is as simple as deleting the >> entry? >> >> Well, yes there's a MPL folder under site-packages and an info MPL file >> of 540 bytes. There are also pylab.py, pyc,and py0 files under site. >> What to do next? >> >> On 2/5/2010 7:13 AM, Wayne Watson wrote: >> >>> I should have installed numpy first, and got some errors installing >>> MPL. I don't see an uninstall in Control Panel Add/Rmv. >>> >>> >> > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- My life in two words. "Interrupted Projects." -- WTW (quote originator) |
|
From: Filipe P. A. F. <oc...@gm...> - 2010-02-07 17:11:21
|
Hello list,
I'm trying to create a stick-plot figure using the quiver function from
matplotlib. However, I'm failing miserably to plot dates in the x-axis. Has
anyone done this before? Also, is there an effort to create a stickplot
function?
Thanks, Filipe
*****************************************************
Filipe Pires Alvarenga Fernandes
University of Massachusetts Dartmouth
200 Mill Road - Fairhaven, MA
Tel: (508) 910-6381
Email: fal...@um...
oc...@ya...
oc...@gm...
http://ocefpaf.tiddlyspot.com/
*****************************************************
|
|
From: Wayne W. <sie...@sb...> - 2010-02-07 17:02:33
|
(I see I "forgot" to post this solution to the list. I really have quickly developed a dislike for having to go to extra lengths to make sure this happens. Perhaps one of my difficulties is that some people respond directly to me, and my mail filter shuttles the message to my matplotlib folder instead of my inbox, so it looks like someone has sent their response to the list.) Looking at your code suggests this is not what I want. The cumsum (summation) buffaloes me. I've just moved to Win7, and my PC is not yet ready for Python, so I can't really grasp what you have. From what I've been able to determine from a friend, who knows MatLab extremely well, this is not a difficult thing to do in MatLab, and likely in MPL. The creation of the path across a canvas/figure is done with plot. It will draw the zig-zag starting with x0,y0. To show the path clearly there are several ways to proceed. I can color each point successively with R,G, and B. The first red point, maybe with the help of an icon, says this is the start. Maybe a red circle. The next two points use a green and blue circle, probably of a different size, or maybe a square. R,G,B is repeated along the path. Another choice is to define an arrow and orient it in the direction of the next segment. An appealing way to do all of this is to pause drawing the next segment. That way, the dynamics of the path are clearly seen. On 2/5/2010 5:16 AM, Alan G Isaac wrote: > On 2/5/2010 12:51 AM, Wayne Watson wrote: > >> what I'm looking for is a way to draw a zig-zag path >> indicating a path taken by a particle >> > Here is a 2d example: > > >>> import numpy as np > >>> import matplotlib.pyplot as plt > >>> locs = np.random.random_sample((2,30)) > >>> locs = np.random.random_sample((2,30)) - 0.5 > >>> locs = np.cumsum(locs, axis=-1) > >>> x,y = locs > >>> plt.plot(x,y) > > hth, > Alan Isaac > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- My life in two words. "Interrupted Projects." -- WTW (quote originator) |
|
From: David M. <mac...@ec...> - 2010-02-07 14:24:34
|
Thanks to all who have replied. {Ipython, Vpython, Spyder, WxPython,
Eclipse} x {Windows XP, Windows 7, Mac OSX, Linux} - looks like we have many
{IDE, platform} combinations to test, and no consensus on any one choice.
Student needs are different than large project developers. I need an IDE
that works well on all these platforms, is easy to install, and easy to use
for physics students who are writing small programs.
Unfortunately, I don't have time for beta testing these products, and I need
to make a recommendation soon. Perhaps we need an enhancement request for
Matplotlib. It needs either IDLE or one of these other IDEs thoroughly
tested and included in the packages for each platform.
One of the teachers in our group is very happy with Sage. It looks like a
good replacement for Matlab. I don't like that it is so different than
standard Python, but there is great appeal to something that "just works".
Students will have even less time than I do to struggle with these setup
issues.
I'm still experimenting with IDLE, and it sure looks like nothing
fundamentally wrong, just a sloppy integration with Matplotlib and
documentation that either doesn't exist, or is too hard to find. For
example, if I use draw() instead of show(), I can avoid freezing the IDLE
window, and make multiple overlaid plots as needed. I can't find any
documentation on this, however, and I am probably doing it wrong.
Is there anyone here that uses IDLE with Matplotlib. Maybe we just need a
HOWTO note. What is the Console window for? What commands are available in
that window? I see that "exit" causes control to switch back to IDLE, but
then I can't continue using draw(). When should I use close() or exit()?
Is there any way to clear the plot window of existing data, and continue
plotting without having to restart the entire session?
--
View this message in context: http://old.nabble.com/Matplotlib-conflicts-with-IDLE-tp27473693p27489064.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Pierre R. <co...@py...> - 2010-02-07 09:43:44
|
Gael Varoquaux a écrit : > On Sun, Feb 07, 2010 at 09:59:04AM +0100, Pierre Raybaut wrote: > >> Two screenshots to prove it :-) >> >> Running an example script including "pdb.set_trace()" in the external >> console: >> http://spyderlib.googlegroups.com/web/pdb_test.png >> Executing the same script from a Python interpreter within the external >> console: >> http://spyderlib.googlegroups.com/web/pdb_test2.png >> > > Nice. I am not sure why when I tried it, it didn't work. I don't have > spyder around to test. > > Gaël > I suppose you tried it in the interactive console (Spyder's internal console) which does not support pdb indeed. Anyway, the external console is probably not the ultimate scientific console mainly because it does not support matplotlib in interactive mode for now (actually, I still haven't heard any complaint on this point because people use the interactive console for interactive work -- e.g. analyzing and visualizing data -- and the external console for application development). But I guess I could make it work eventually. -Pierre |
|
From: Gael V. <gae...@no...> - 2010-02-07 09:08:20
|
On Sun, Feb 07, 2010 at 09:59:04AM +0100, Pierre Raybaut wrote: > Two screenshots to prove it :-) > > Running an example script including "pdb.set_trace()" in the external > console: > http://spyderlib.googlegroups.com/web/pdb_test.png > Executing the same script from a Python interpreter within the external > console: > http://spyderlib.googlegroups.com/web/pdb_test2.png Nice. I am not sure why when I tried it, it didn't work. I don't have spyder around to test. Gaël |
|
From: Pierre R. <co...@py...> - 2010-02-07 08:58:39
|
Pierre Raybaut a écrit : > 2010/2/6 Gael Varoquaux <gae...@no...>: > >> On Sat, Feb 06, 2010 at 11:27:50AM +0100, Pierre Raybaut wrote: >> When you start having a somewhat complex set of functions that call >> each other, or when you are getting failures with somebody else's code, >> this is priceless. This is so useful that to debug some code that, when I >> am trying to understand why some code is not working the way it should >> be, I will purposely add an exception, to be able to introspect the code. >> Granted, adding pdb.set_trace() will work without IPython[*], but I find >> it very useful. >> >> [*] It will not work in Spyder as it is quite challenging to have these >> features requiring user terminal interaction in a GUI. >> > > Actually it works in Spyder too (in the external console which is > executed in a another process). > ;-) > > -Pierre > Two screenshots to prove it :-) Running an example script including "pdb.set_trace()" in the external console: http://spyderlib.googlegroups.com/web/pdb_test.png Executing the same script from a Python interpreter within the external console: http://spyderlib.googlegroups.com/web/pdb_test2.png -Pierre |
|
From: JackD <web...@we...> - 2010-02-07 01:23:24
|
Hi there! I need to know how to close a figure/chart in matplot. The problem is: I am developing a program that calculates >5 figures and needs some minutes to calculate one. So it would be great if I could close the figure if the next figure is ready cause then I am able to show both figures and so on..... Does anyone know how it works and could you explain on the below example? import matplotlib.pyplot as plt import time fig = plt.figure(1) ax = fig.add_subplot(111) ax.plot((1, 3, 1)) plt.draw() fig = plt.figure(2) ax = fig.add_subplot(111) ax.plot((4, 1, 0)) plt.show() time.sleep(10) plt.close(1) -- View this message in context: http://old.nabble.com/Python-Matplotlib%3A-How-to-close-a-plot--tp27485059p27485059.html Sent from the matplotlib - users mailing list archive at Nabble.com. |