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
(19) |
2
(28) |
3
(8) |
|
4
(15) |
5
(20) |
6
(23) |
7
(12) |
8
(11) |
9
(13) |
10
(4) |
|
11
(9) |
12
(34) |
13
(33) |
14
(24) |
15
(15) |
16
(12) |
17
(8) |
|
18
(5) |
19
(5) |
20
(6) |
21
(10) |
22
(9) |
23
(18) |
24
(10) |
|
25
(7) |
26
(13) |
27
(18) |
28
(29) |
29
(4) |
30
(5) |
31
(2) |
|
From: Skip M. <sk...@po...> - 2009-10-24 19:34:23
|
> I only started using matplolib a few days ago, but I think I know how > to do what you want: ... Thanks. Once I figured out how to get the axes to operate on (gca() :confused:) I was able to easily adapt your solution to my needs. Skip |
|
From: Gökhan S. <gok...@gm...> - 2009-10-24 18:40:38
|
On Sat, Oct 24, 2009 at 1:02 PM, Dr. Phillip M. Feldman < pfe...@ve...> wrote: > > I'd like to create a plot showing motor current, efficiency, speed, and > output power versus input power, with all four curves on a single plot and > four y axes. I've looked at the example in > http://matplotlib.sourceforge.net/examples/api/two_scales.html, and also > at > the doc string for twinx. It looks as though twinx will let me create two y > axes, but in this case I need four. Can this be done with matplotlib? > -- > View this message in context: > http://www.nabble.com/Possible-to-get-four-y-axes-on-a-single-plot--tp26041500p26041500.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > Using axes_grid you can get multiple y-axes. See for example: http://matplotlib.sourceforge.net/examples/axes_grid/demo_parasite_axes2.html > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Gökhan |
|
From: Dr. P. M. F. <pfe...@ve...> - 2009-10-24 18:02:21
|
I'd like to create a plot showing motor current, efficiency, speed, and output power versus input power, with all four curves on a single plot and four y axes. I've looked at the example in http://matplotlib.sourceforge.net/examples/api/two_scales.html, and also at the doc string for twinx. It looks as though twinx will let me create two y axes, but in this case I need four. Can this be done with matplotlib? -- View this message in context: http://www.nabble.com/Possible-to-get-four-y-axes-on-a-single-plot--tp26041500p26041500.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Mike A. <mba...@wi...> - 2009-10-24 16:33:11
|
Hi,
> * The time ranges are large (one-second samples over a period of
> several days) and I find the x axis label formats are often
> inappropriate to the scale. How to I control the format of
> the x axis labels?
>
I only started using matplolib a few days ago, but I think I know how
to do what you want:
----------------------------------------
import matplotlib.dates as mdates # To read timestamps
...
xAxisTimeFormat = '%a\n%H:%M' # Format of time stamps on x-axis
hourLocator = mdates.HourLocator(interval=5) # Every 5 hours
minuteLocator = mdates.MinuteLocator(interval=30) # Every half hour
...
ax.xaxis.set_major_locator(hourLocator) # Set major tick marks
ax.xaxis.set_minor_locator(minuteLocator) # Set minor tick marks
ax.xaxis.set_major_formatter(mdates.DateFormatter(xAxisTimeFormat)) #
Format x-axis labels
----------------------------------------
I have a full example of plots that have a point every minute over the
course of days:
http://www.hep.wisc.edu/cms/comp/routerqMonitor/index.html
with a link to the full python script at the bottom.
Mike
|
|
From: Skip M. <sk...@po...> - 2009-10-24 15:45:21
|
I'm using matplotlib.pyplot.plot to plot values from CSV files where
the x axis data are datetime objects. This works well except for two
issues:
* The time ranges are large (one-second samples over a period of
several days) and I find the x axis label formats are often
inappropriate to the scale. How to I control the format of
the x axis labels?
* Samples are only collected for part of the time each day, say
from 01:00 to 15:00. How can I elide the gaps and perhaps
plot a vertical line to signify the elided gaps?
Thanks,
Skip Montanaro
|
|
From: Werner F. B. <wer...@fr...> - 2009-10-24 13:02:56
|
Werner F. Bruhin wrote: > Installed Py 2.6.3 and I don't see the issue there, but not all > libraries I use are on 2.6 yet. > > So, I thought lets install Python(x, y) and give this a try, but I can't > find a Python 2.5.x version of it - is this still available? > > Werner > > P.S. > Will totally de-install 2.5 again and try once more. > I got it working by adding "C:\Python25" to the path environment variable. Works but smells very much like a work around. Werner |
|
From: Laurent D. <lau...@gm...> - 2009-10-24 12:36:15
|
# For detailed comments on animation and the techniqes used here, see # the wiki entry http://www.scipy.org/Cookbook/Matplotlib/Animations import os import sys #import matplotlib #matplotlib.use('Qt4Agg') from matplotlib.figure import Figure from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas import matplotlib.transforms as mtransforms import matplotlib.cm as cm from PyQt4 import QtCore, QtGui ITERS = 100 import numpy as np import time class BlitQT(FigureCanvas): def __init__(self): FigureCanvas.__init__(self, Figure()) fig = self.figure self.ax = fig.add_axes([0.1,0.7,0.8,0.2]) self.ax.grid() self.draw() NUMBER_OF_DATA = 1024 self.x = np.arange(NUMBER_OF_DATA) self.ax2 = fig.add_axes([0.1,0.4,0.8,0.2]) self.ax2.grid() self.draw() self.old_size = self.ax.bbox.width, self.ax.bbox.height self.cnt = 0 # create the initial lines self.line, = self.ax.plot(self.x, self.x, 'r', animated=True, lw=.5) self.line2, = self.ax2.plot(self.x, self.getY(), animated=True, lw=.5) self.bbox = mtransforms.Bbox.from_bounds(32,24,608-32,407) self.bbox = mtransforms.Bbox.from_bounds(64,192,576-64,432-193) print self.ax.bbox.corners() print self.ax2.bbox.corners() self.background = self.copy_from_bbox(self.ax.bbox) self.background2 = self.copy_from_bbox(self.ax2.bbox) self.tstart = time.time() self.startTimer(0) def getY(self): return np.random.random_sample(1024) def timerEvent(self, evt): #if (self.cnt % 3) == 0: current_size = self.ax.bbox.width, self.ax.bbox.height if self.old_size != current_size: self.old_size = current_size self.ax.clear() self.ax.grid() self.ax2.clear() self.ax2.grid() self.draw() self.background = self.copy_from_bbox(self.ax.bbox) self.background2 = self.copy_from_bbox(self.ax2.bbox) # update the data self.line.set_ydata(self.x+(self.cnt%100)) self.line2.set_ydata(self.getY()) # restore the clean slate background self.restore_region(self.background) self.restore_region(self.background2) # just draw the animated artist self.ax.draw_artist(self.line) self.ax2.draw_artist(self.line2) # and blit the different zones self.blit(self.ax.bbox) self.repaint() self.blit(self.ax2.bbox) self.repaint() if self.cnt == 0: self.draw() if not (self.cnt%ITERS): # print the timing info and quit print 'FPS:' , ITERS/(time.time()-self.tstart) self.tstart = time.time() self.cnt += 1 app = QtGui.QApplication(sys.argv) widget = BlitQT() widget.show() app.exec_() |
|
From: Werner F. B. <wer...@fr...> - 2009-10-24 12:34:15
|
Deinstalled 2.5.4 and installed again, same issue. Deinstalled again
and installed 2.5.2, both times I also deleted python25 folder.
Running barchart_demo.py directly works (c:\python25\python.exe
pathto\barchart_demo.py).
Running it from within idle I get the same exception again:
Traceback (most recent call last):
File "D:\Dev\aaTests\matplotlib\barchart_demo.py", line 3, in <module>
import matplotlib.pyplot as plt
File "C:\Python25\Lib\site-packages\matplotlib\pyplot.py", line 6, in
<module>
from matplotlib.figure import Figure, figaspect
File "C:\Python25\Lib\site-packages\matplotlib\figure.py", line 16, in
<module>
import artist
File "C:\Python25\Lib\site-packages\matplotlib\artist.py", line 5, in
<module>
from transforms import Bbox, IdentityTransform, TransformedBbox,
TransformedPath
File "C:\Python25\Lib\site-packages\matplotlib\transforms.py", line
34, in <module>
from matplotlib._path import affine_transform
ImportError: DLL load failed: Le module spécifié est introuvable.
Noticed that msvcp71.dll is being installed by mpl (at least that is
what I see in matplotlib-wininst.log).
"cd" to the folder of the script and running it again directly with
Python I see the error again.
What could cause this? Maybe one of the msvcp71.dll is incompatible
with stuff already loaded by Python?
Will keep experimenting and see if I can get Boa to work with mpl
Werner
|
|
From: Laurent D. <lau...@gm...> - 2009-10-24 10:49:42
|
# For detailed comments on animation and the techniqes used here, see # the wiki entry http://www.scipy.org/Cookbook/Matplotlib/Animations import os import sys #import matplotlib #matplotlib.use('Qt4Agg') from matplotlib.figure import Figure from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas import matplotlib.transforms as mtransforms import matplotlib.cm as cm from PyQt4 import QtCore, QtGui ITERS = 100 import numpy as np import time class BlitQT(FigureCanvas): def __init__(self): FigureCanvas.__init__(self, Figure()) fig = self.figure self.ax = fig.add_axes([0.1,0.7,0.8,0.2])#(.05,.55,.9,.4)) self.ax.grid() self.draw() NUMBER_OF_DATA = 1024 self.x = np.arange(NUMBER_OF_DATA) self.ax2 = fig.add_axes([0.1,0.4,0.8,0.2])#(.05,.05,.9,.4)) self.ax2.grid() self.draw() self.old_size = self.ax.bbox.width, self.ax.bbox.height self.cnt = 0 #canvas = axe.figure.canvas # create the initial line #self.x = np.arange(0,2*np.pi,0.01) #line, = p.plot(x, npy.sin(x), animated=True, lw=2) self.line, = self.ax.plot(self.x, self.x, 'r', animated=True, lw=.5) self.line2, = self.ax2.plot(self.x, self.getY(), animated=True, lw=.5) #self.draw() self.bbox = mtransforms.Bbox.from_bounds(32,24,608-32,407) self.bbox = mtransforms.Bbox.from_bounds(64,192,576-64,432-193) print self.ax.bbox.corners() print self.ax2.bbox.corners() self.background = self.copy_from_bbox(self.ax.bbox) self.background2 = self.copy_from_bbox(self.ax2.bbox) self.tstart = time.time() self.startTimer(10) def getY(self): return np.random.random_sample(1024) def timerEvent(self, evt): if (self.cnt % 3) == 0: current_size = self.ax.bbox.width, self.ax.bbox.height if self.old_size != current_size: self.old_size = current_size self.ax.clear() self.ax.grid() self.ax2.clear() self.ax2.grid() self.draw() self.background = self.copy_from_bbox(self.ax.bbox) self.background2 = self.copy_from_bbox(self.ax2.bbox) # update the data self.line.set_ydata(self.x+(self.cnt%100)) self.line2.set_ydata(self.getY()) # restore the clean slate background self.restore_region(self.background) self.restore_region(self.background2) #self.draw() # just draw the animated artist self.ax.draw_artist(self.line) self.ax2.draw_artist(self.line2) if (self.cnt % 3) == 1: # just redraw the axes rectangle self.blit(self.ax.bbox) if (self.cnt % 3) == 2: self.blit(self.ax2.bbox) #self.blit(self.bbox) #self.blit(self.ax.get_figure().bbox) if self.cnt == 0: # TODO: this shouldn't be necessary, but if it is excluded the # canvas outside the axes is not initially painted. self.draw() pass if not (self.cnt%ITERS):#==ITERS: # print the timing info and quit print 'FPS:' , ITERS/(time.time()-self.tstart) self.tstart = time.time() # sys.exit() #else: self.cnt += 1 app = QtGui.QApplication(sys.argv) widget = BlitQT() widget.show() app.exec_() |
|
From: Werner F. B. <wer...@fr...> - 2009-10-24 10:22:59
|
Installed Py 2.6.3 and I don't see the issue there, but not all libraries I use are on 2.6 yet. So, I thought lets install Python(x, y) and give this a try, but I can't find a Python 2.5.x version of it - is this still available? Werner P.S. Will totally de-install 2.5 again and try once more. |