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
|
From: Stephen W. <ste...@cs...> - 2004-09-04 16:25:19
|
On Thu, 2004-09-02 at 01:33, Jean-Michel Philippe wrote: > ste...@cs... wrote: > > Zooming is available via the widgets at the bottom of the plot menu by > > default. >=20 > Ok but I would like to activate zooming for users within the program.=20 You want the initial graph to come up already zoomed in, is that it? --=20 Stephen Walton <ste...@cs...> Dept. of Physics & Astronomy, CSU Northridge |
From: Faust, M. <Mar...@sp...> - 2004-09-03 08:40:50
|
Thanks John, but it doesn't work the way I would like it. I changed the script a little bit and added a hold, but there is a problem with the focus (with matplotlib-0.62.4.win32-py2.3.exe). from matplotlib.matlab import * import EasyDialogs from numarray import * x =3D arange(400.)*0.01+1. y =3D x**2*exp(x) for i in range(3): clf() figure(i+1, figsize=3D(11.0,7.5)) lines=3Dsemilogy(x, abs(y), 'r-') set(lines, 'linewidth', 2.0) title('test') xlabel('x') ylabel('y') grid('on') draw() fname =3D 'test' + str(i) +'.png' savefig(fname, dpi=3D250) hold(True) resp =3D EasyDialogs.AskYesNoCancel("Next ?", default=3D1) if resp =3D=3D 1: hold(False) else: hold(False) show() Anybody can help? With matplotlib-0.61.0-numarray0.9-win32-py2.3 I have the desired behaviour with the following script, although show is called several times: from numarray import * from matplotlib.matlab import * x =3D3D arange(400.)*0.01+1. y =3D3D x**2*exp(x) for i in range(3): clf() Figure(figsize=3D3D(11.0,7.5)) lines=3D3Dsemilogy(x, abs(y), 'r-') set(lines, 'linewidth', 2.0) title('test') xlabel('x') ylabel('y') grid('on') fname =3D3D 'test' + str(i) +'.png' savefig(fname, dpi=3D3D250) show() I want the possibility to have a look on each of the figures, e.g. zoom, after they have been created. Markus |
From: Darren D. <dd...@co...> - 2004-09-02 18:09:18
|
> >Possible soln: > http://sourceforge.net/mailarchive/forum.php?thread_id=5360593&forum_id=33405 > > That's embarressing. I am 100% certain that I made that change the day I originally read the post, but for some reason I had to do it again today. It's fixed. Thanks. Darren |
From: Alan G I. <ai...@am...> - 2004-09-02 17:50:20
|
On Thu, 02 Sep 2004, Darren Dale apparently wrote: > On XP, using MPL 0.61, I created an eps file, and tried to open it with > GSview 4.6. I get a long message, the end of it is reproduced below. > Strangely, Adobe Illustrator is able to load the same file, and if I > save it as an eps from Illustrator, I can then open it with GSview. I > dont have much experience in this area, and I can work around it, but I > thought I should report the behavior. Possible soln: http://sourceforge.net/mailarchive/forum.php?thread_id=5360593&forum_id=33405 hth, Alan Isaac |
From: Darren D. <dd...@co...> - 2004-09-02 17:35:46
|
On XP, using MPL 0.61, I created an eps file, and tried to open it with GSview 4.6. I get a long message, the end of it is reproduced below. Strangely, Adobe Illustrator is able to load the same file, and if I save it as an eps from Illustrator, I can then open it with GSview. I dont have much experience in this area, and I can work around it, but I thought I should report the behavior. Darren --- Begin offending input --- ve 870 def /uhookabove 871 def /Uhornacute 872 def /uhornacute 873 def /Uhorngrave 874 def /uhorngrave 875 def /Uhornhookabove 876 def /uhornhookabove 877 def /Uhorntilde 878 def /uhorntilde 879 def /Uhorndotbelow 880 def /uhorndotbelow 881 def /glyph882 882 def /glyph883 883 def /Ydotbelow 884 def /ydotbelow 885 def /Yhookabove 886 def /yhookabove 887 def /Ytilde 888 def /ytilde 889 def /dong 890 def /tildecomb 891 def /currency 892 def end readonly def FontName currentdict end definefont pop %EndFont 18.000 36.000 translate 0 rotate /figure_clip {0 0 576.000 720.000 clipbox} def figure_clip gsave newpath [ [ 0 0 ] [ 0 720 ] [ 576 720 ] [ 576 0 ] ] make-polygon 1.000 1.000 1.000 setrgbcolor 1.00000 setlinewidth 0 setlinejoin 2 setlinecap gsr 1.000 1.000 1.000 setrgbcolor fill grestore gsave newpath [ [ 72 72 ] [ 72 367.200 ] [ 532.800 367.200 ] [ 532.800 72 ] ] make-polygon 0.000 0.000 0.000 setrgbcolor 1.00000 setlinewidth 0 setlinejoin 2 setlinecap gsr 1.000 1.000 --- End offending input --- file offset = 22661 gsapi_run_string_continue returns -101 |
From: HotPop <pa...@ho...> - 2004-09-02 15:03:40
|
Platform: using XP, python 2.3.4, wx 2.5.1.5, matplotlib 0.61.0 Does anyone know how to set the frame size in example embedding_in_wx2.py ? Apparently the FigureCanvas is overiding my attempt to set the dimensions in the CanvasFrame's __init__. Ray Pasco |
From: HotPop <pa...@ho...> - 2004-09-02 14:27:15
|
Does anyone know how to set the frame size in example embedding_in_wx2.py ? Apparently the FigureCanvas is overiding my attempt to set the dimensions in the CanvasFrame's __init__. Ray Pasco |
From: Jean-Michel P. <jea...@ir...> - 2004-09-02 08:34:29
|
ste...@cs... wrote: > Zooming is available via the widgets at the bottom of the plot menu by > default. Ok but I would like to activate zooming for users within the program. The purpose is to display all the figures with the zoom activated by default because in this (small) application users always have to zoom. JM. |
From: John H. <jdh...@ac...> - 2004-09-01 19:32:44
|
>>>>> "Gary" == Gary <pa...@in...> writes: Gary> In revisiting an old project, I tried the example Gary> anim_tk.py. On two different WinXP machines, a "ghost" Gary> window appears (can see right through it) and the following: Gary> ------------------------------------ Gary> C:\Python23\Lib\site-packages\matplotlib\examples>python Gary> anim_tk.py elapsed 10.7944733008 Fatal Python error: Gary> PyEval_RestoreThread: NULL tstate Gary> This application has requested the Runtime to terminate it Gary> in an unusual way. Please contact the application's support Gary> team for more information. Gary> ------------------------------------- Gary> please embarrass me by pointing out that I've forgotten to Gary> install something obvious. I'll have to take a look at this next week since I don't have access to a win32 platform right now. It seems to be running fine on linux. Gary> BTW, It's not possible to say thank you enough times. Gary> matplotlab/ipython/scipy is just a dream for scientific Gary> work. I also add Maxima and Vpython (and TeX/LaTeX/ConTeXt) Gary> to my soup, fwiw. Thanks, it's great to hear encouraging words. Fernando and I will be meeting tonight with some of the numarray and scipy folks, and so hopefully we can come up with some more fruitful areas to make this a great platform. Now if only people could learn spell matplotlib <wink> JDH |
From: John H. <jdh...@ac...> - 2004-09-01 19:26:14
|
>>>>> "Faust," == Faust, Markus <Mar...@sp...> writes: Faust,> Hi, I'm trying to plot a series of graphs Faust,> #!/usr/bin/python # -*- coding: UTF-8 -*- Faust,> # Dr. Markus Faust # Faust,> markus.faust@+>>no-spam<<+space.eads.net Faust,> from numarray import * from matplotlib.matlab import * Faust,> x = arange(400.)*0.01+1. y = x**2*exp(x) Faust,> for i in range(3): clf() Figure(figsize=(11.0,7.5)) Faust,> lines=semilogy(x, abs(y), 'r-') set(lines, 'linewidth', Faust,> 2.0) title('test') xlabel('x') ylabel('y') grid('on') Faust,> fname = 'test' + str(i) +'.png' savefig(fname, dpi=250) Faust,> show() Faust,> With matplotlib-0.61.0-numarray0.9-win32-py2.3 this works Faust,> as it should. One plot windows occurs, I click it away Faust,> and the next occurs. Faust,> But with matplotlib-0.62.4.win32-py2.3.exe the program Faust,> behaves strange. The first windows occurs and I can click Faust,> it away but the next windows can not be controlled Faust,> anymore. Is that anticipated? Faust,> I'm working on a Windows XP Prof. PC with Python 2.3.4 and Faust,> numarray 0.9. show should be called only once per script -- see http://matplotlib.sourceforge.net/faq.html#SLOW. Try replacing the call to Figure(figsize=(11.0,7.5)) with figure(i+1, figsize=(11.0,7.5)) Figure is an API call and figure is a matplotlib interface call. It is dangerous and unpredictable to mix the 2. Other comments: you don't need to import numarray if your matplotlib numerix rc setting is 'numarray' the matplotlib.matlab import will do this for you I've attached a modified (untested script below). I'm on the road en route to the SciPy conference, so will be mostly out of touch for a few days. Hope this helps, JDH from matplotlib.matlab import * x = arange(400.)*0.01+1. y = x**2*exp(x) for i in range(3): clf() figure(i+1, figsize=(11.0,7.5)) lines=semilogy(x, abs(y), 'r-') set(lines, 'linewidth', 2.0) title('test') xlabel('x') ylabel('y') grid('on') fname = 'test' + str(i) +'.png' savefig(fname, dpi=250) show() |
From: John H. <jdh...@ac...> - 2004-09-01 19:21:04
|
>>>>> "HotPop" == HotPop <pa...@ho...> writes: HotPop> Python 2.3.4 on XP , latest matplotlib The use 'WX' HotPop> command is being ignored and the examples always come up HotPop> in Tkinter. Funny thing is, before the latest XP install HotPop> it used to work as advertized (same versions of HotPop> everything). Also, matplotlib.get_backend() reports HotPop> correctly before and after the use command (tkagg before, HotPop> wx after), and the commandline -dWX works, though HotPop> sometimes incredibly slowly (for "tale of two subplots"). HotPop> I've tried the wxpython embedding program using 2 splitter HotPop> windows in a recent mail thread, and that works, too. HotPop> Any ideas or ways to debug this ? I assume you are using use *before* you import matplotlib.matlab? Eg import matplotlib matplotlib.use('WX') import matplotlib.matlab ... ANd you are running your script from the shell. In an IDE, if matplotlib.matlab has already been imported, and you rerun your script from the IDE, your 'use' calls will be w/o effect. Thus it's important to test from a shell (tough on win32, I know), or double click the script to insure a new python interpreter. I'm on the road en route to the SciPy conference, so will be mostly out of touch for a few days.... Hope this helps, JDH |
From: Stephen W. <ste...@cs...> - 2004-09-01 16:11:37
|
On Wed, 2004-09-01 at 05:36, Jean-Michel Philippe wrote: > I would like to activate the zoom tool on a figure after a plot, http://matplotlib.sourceforge.net/tutorial.html#toolbar2 Zooming is available via the widgets at the bottom of the plot menu by default. -- Stephen Walton <ste...@cs...> Dept. of Physics & Astronomy, Cal State Northridge |
From: Gary <pa...@in...> - 2004-09-01 12:55:15
|
In revisiting an old project, I tried the example anim_tk.py. On two different WinXP machines, a "ghost" window appears (can see right through it) and the following: ------------------------------------ C:\Python23\Lib\site-packages\matplotlib\examples>python anim_tk.py elapsed 10.7944733008 Fatal Python error: PyEval_RestoreThread: NULL tstate This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. ------------------------------------- please embarrass me by pointing out that I've forgotten to install something obvious. BTW, It's not possible to say thank you enough times. matplotlab/ipython/scipy is just a dream for scientific work. I also add Maxima and Vpython (and TeX/LaTeX/ConTeXt) to my soup, fwiw. -gary |
From: Jean-Michel P. <jea...@ir...> - 2004-09-01 12:36:27
|
Hello, I would like to activate the zoom tool on a figure after a plot, like 'zoom on' does in Matlab. I guess it should be quite easy but I didn't find how to do. I saw a 'zoom' method for the 'NavigationToolbar2' class that seems to be what I am looking for but I don't how to use this... Has someone already achieved this? JM. Philippe |
From: Faust, M. <Mar...@sp...> - 2004-09-01 08:30:31
|
Hi, I'm trying to plot a series of graphs #!/usr/bin/python # -*- coding: UTF-8 -*- # Dr. Markus Faust # markus.faust@+>>no-spam<<+space.eads.net from numarray import * from matplotlib.matlab import * x =3D arange(400.)*0.01+1. y =3D x**2*exp(x) for i in range(3): clf() Figure(figsize=3D(11.0,7.5)) lines=3Dsemilogy(x, abs(y), 'r-') set(lines, 'linewidth', 2.0) title('test') xlabel('x') ylabel('y') grid('on') fname =3D 'test' + str(i) +'.png' savefig(fname, dpi=3D250) show() With matplotlib-0.61.0-numarray0.9-win32-py2.3 this works as it should. One plot windows occurs, I click it away and the next occurs.=20 But with matplotlib-0.62.4.win32-py2.3.exe the program behaves strange. The first windows occurs and I can click it away but the next windows can not be controlled anymore. Is that anticipated? I'm working on a Windows XP Prof. PC with Python 2.3.4 and numarray 0.9. Regards Markus |
From: HotPop <pa...@ho...> - 2004-09-01 03:52:37
|
Python 2.3.4 on XP , latest matplotlib The use 'WX' command is being ignored and the examples always come up in Tkinter. Funny thing is, before the latest XP install it used to work as advertized (same versions of everything). Also, matplotlib.get_backend() reports correctly before and after the use command (tkagg before, wx after), and the commandline -dWX works, though sometimes incredibly slowly (for "tale of two subplots"). I've tried the wxpython embedding program using 2 splitter windows in a recent mail thread, and that works, too. Any ideas or ways to debug this ? Ray Pasco |
From: Todd M. <jm...@st...> - 2004-08-31 21:51:11
|
Release Name: matplotlib-0.62.4 Notes: What's new in matplotlib-0.62 -=20 You can read this in html with hyperlinks at http://matplotlib.sf.net/whats.new.html. * interactive support in ipython http://ipython.scipy.org with ipython -pylab, which detects your backend and loads the appropriate interactive, threaded shell, as well as all of matplotlib.matlab and numerix. Requires ipython-0.6.3. Backend status summary: linux (all backends working), OSX (tkagg and gtk* work), win32 (tkagg only). Thanks Fernando Perez! * Excellent improvements in log ticking and formatting. You can now do log plots in any base with major and minor tick support. You can easily customize the location of the minor ticks with the subs arguments. Mathtext exponential labeling for log plots. Thanks Darren Dale and Gregory Lielens. See the new screenshot and example - http://matplotlib.sf.net/screenshots.html#log_shot and help for the semilogx, semilogy and loglog. # base 16 semilog x plot with minor ticks on the 2s, 4s and 8s semilogx(x,y, basex=3D16, subsx=3D[2,4,8]) * Mathtext now more than 5x faster. Thanks to Paul Mcguire for optimizations in both pyparsing and the matplotlib grammar! Warning, mathtext broken on python2.2. We hope to fix this soon. * fltkagg backend - alpha. Gregory Lielens submitted an fltkagg backend which requires CVS pyfltk. Feedback please! * Bug fixes: fixed some image edge effects, a ttf read problem in backend_ps on win32, several errorbar problems, a HOME dir bug on win32, grid w/o args now toggle grid state, multiple imshows with different extents, markerface color as RGB tulple Downloads at http://sourceforge.net/projects/matplotlib -------------------------------------------------------------------------= ------- Changes: 2004-08-30 matplotlib 0.62.4 released 2004-08-30 Fixed a multiple images with different extent bug, Fixed markerfacecolor as RGB tuple 2004-08-27 Mathtext now more than 5x faster. Thanks to Paul Mcguire for fixes both to pyparsing and to the matplotlib grammar! mathtext broken on python2.2 2004-08-25 Exposed Darren's and Greg's log ticking and formatting options to semilogx and friends 2004-08-23 Fixed grid w/o args to toggle grid state - JDH 2004-08-11 Added Gregory's log patches for major and minor ticking 2004-08-18 Some pixel edge effects fixes for images 2004-08-18 Fixed TTF files reads in backend_ps on win32. =20 2004-08-18 Added base and subs properties for logscale plots, user modifiable using set_[x,y]scale('log',base=3Db,subs=3D[mt1,mt2,...]) - GL 2004-08-18 fixed a bug exposed by trying to find the HOME dir on win32 thanks to Alan Issac for pointing to the light - JDH 2004-08-18 fixed errorbar bug in setting ecolor - JDH 2004-08-12 Added Darren Dale's exponential ticking patch 2004-08-11 Added Gregory's fltkagg backend -------------------------------------------------------------------------= -------Special numarray Note:The windows installers for the numarray = version of=20 matplotlib will be unavailable until some time next=20 week due to the untimely death of Todd Miller's PC. |
From: Ray S. <rj...@bl...> - 2004-08-31 18:04:24
|
> I suggest you start with > <http://matplotlib.sourceforge.net/examples/embedding_in_wx2.py>http://matplotlib.sourceforge.net/examples/embedding_in_wx2.py and > perturb off of that. I can"t take a close look at your code right > now, but this should get you started. > > Cheers, > JDH Hi, and thanks for the reply. The code was stripped out of embedding_in_wx.py; the version I have did not have embedding_in_wx2.py included... I upgraded to matplotlib-0.61.0.win32-py2.2 This (mostly) Boa generated code now does work similarly (no toolbar): __________________________________________________________________ #Boa:Frame:wxFrame1 from wxPython.wx import * from matplotlib.numerix import arange, sin, pi import matplotlib matplotlib.use('WX') from matplotlib.backends.backend_wx import FigureCanvasWx as FigureCanvas #from matplotlib.backends.backend_wx import NavigationToolbar2Wx from matplotlib.figure import Figure from wxPython.wx import * def create(parent): return wxFrame1(parent) [wxID_WXFRAME1] = map(lambda _init_ctrls: wxNewId(), range(1)) class wxFrame1(wxFrame): def _init_ctrls(self, prnt): # generated method, don't edit wxFrame.__init__(self, id=wxID_WXFRAME1, name='', parent=prnt, pos=wxPoint(66, 66), size=wxSize(391, 312), style=wxDEFAULT_FRAME_STYLE, title='wxFrame1') self.SetClientSize(wxSize(383, 285)) def __init__(self, parent): self._init_ctrls(parent) self.SetBackgroundColour(wxNamedColor("WHITE")) self.figure = Figure() self.axes = self.figure.add_subplot(111) t = arange(0.0,3.0,0.01) s = sin(2*pi*t) self.axes.plot(t,s) self.canvas = FigureCanvas(self, -1, self.figure) self.sizer = wxBoxSizer(wxVERTICAL) self.sizer.Add(self.canvas, 1, wxLEFT | wxTOP | wxGROW) self.SetSizer(self.sizer) self.Fit() def OnPaint(self, event): self.canvas.draw() Ray http://rjs.org |
From: Vittorio P. <re...@em...> - 2004-08-31 12:58:39
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've packaged a new version of python-matplotlib and ipython, you can find my packages at this address: deb http://anakonda.altervista.org/debian packages/ deb-src http://anakonda.altervista.org/debian sources/ # apt-get install python-matplotlib python-matplotlib-doc ipython P.S. python-matplotlib-doc isn't complete because pydoc exits with a segfault when I build documentation, I'm investigating on this... - -- /Vittorio Palmisano/ Home Page: http://redclay.altervista.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBNHZjpT6bvDtyXOIRAmdSAKCeCdL+LKWEoZe86XqGXaKpyGQUzwCfSWz6 fZPWvFkHuv40FVbpXdUUveo= =mUTV -----END PGP SIGNATURE----- -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: E' iniziata l'era del fax virtuale! Si chiama EmailFax IN e significa: affidabilità, semplicità, qualità e risparmio. * Clicca per saperne di più Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1570&d=31-8 |
From: redclay <re...@em...> - 2004-08-31 12:01:09
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've packaged a new version of python-matplotlib and ipython, you can find my packages at this address: deb http://anakonda.altervista.org/debian packages/ deb-src http://anakonda.altervista.org/debian sources/ # apt-get install python-matplotlib python-matplotlib-doc ipython P.S. python-matplotlib-doc isn't complete because pydoc exits with a segfault when I build documentation, I'm investigating on this... - -- /Vittorio Palmisano/ Home Page: http://redclay.altervista.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBNFq/pT6bvDtyXOIRAqLtAKCvofM7S4LEBD6grWC0zAkghzsCaQCgoV3T q4+FEtMxwotTJ4MnW+JNrF0= =3fLp -----END PGP SIGNATURE----- |
From: John H. <jdh...@ac...> - 2004-08-31 04:20:29
|
>>>>> "Ray" == Ray Schumacher <rj...@bl...> writes: Ray> Hi all, I've been looking at matplotlib, as I'm using Ray> wxPyPlot and want a bit more... Ray> Q1: Has anyone used matplotlib with Boa, and, as a Plug-in? Ray> Q2: In the code below, (and with/from the example) I'm trying Ray> to simply display a plot, no toolbar, sizer etc. The canvas Ray> appears on the panel, but no plot appears. What am I missing? I suggest you start with http://matplotlib.sourceforge.net/examples/embedding_in_wx2.py and perturb off of that. I can't take a close look at your code right now, but this should get you started. Cheers, JDH |
From: John H. <jdh...@ac...> - 2004-08-31 04:19:02
|
>>>>> "GHubert" == Hubert Hickman <hu...@tc...> writes: GHubert> Hello, I am trying to construct a plot that is a barchart GHubert> with the X-axis being dates. I have used the plot_dates GHubert> to generated line plots that look great, however, other GHubert> than turning the dates into integers myself I cannot GHubert> figure out a way to do a barchart with dates as the GHubert> Xaxis. GHubert> Has anyone done one of these - I am using the wxPython GHubert> backend, if that matters. I suggest you use integer (epoch) dates on the x axis of the bar as provided by a datetime converter (see http://matplotlib.sourceforge.net/matplotlib.dates.html) and then use one of the many matplotlib datetime tick locators and formatters which know how to format these epoch dates. With any axes, you can set a custom tick locator and/or formatter. This is, in fact, what plot_date does; see also http://matplotlib.sourceforge.net/matplotlib.ticker.html and see the examples (from http//matplotlib.sf.net/examples or in the matplotlib src distribution in the examples subdir) custom_ticker1.py major_minor_demo1.py and major_minor_demo2.py and take a look at the src code of the plot_date function in matplotlib/axes.py for an example of using date tickers and formatters. Sorry I can't be of more help right now but I'm short on time; perhaps someone else can provide a concrete example. Cheers, JDH |
From: John H. <jdh...@ac...> - 2004-08-31 04:13:05
|
>>>>> "Xavier" == Xavier MERIAUX <Me...@mr...> writes: Xavier> Hi, I am a new user of matplotlib. I have already plot Xavier> some data whit it but, I can't find the way to control the Xavier> axis scales ... I know how to define the min/max number Xavier> for each axis. Is it possible to define the intermediate Xavier> scale values ?? For example , the x - axis marks are Xavier> (automatically) choosen :0 , 0.2 , 0.4 , 0.6 , 0.8 , 1.0 Xavier> Can I have instead the values 0, 0.5 , 1.0 written on the Xavier> axis ? You can set the xticks with the following. set(gca(), xticks=[0, 0.5 , 1.0]) If you haven't had a chance yet to read the tutorial at http://matplotlib.sourceforge.net/tutorial.html, it should help somewhat. See the section "Controlling axes properties" Cheers, John Hunter |
From: Ray S. <rj...@bl...> - 2004-08-30 22:09:28
|
Hi all, I've been looking at matplotlib, as I'm using wxPyPlot and want a bit more... Q1: Has anyone used matplotlib with Boa, and, as a Plug-in? Q2: In the code below, (and with/from the example) I'm trying to simply display a plot, no toolbar, sizer etc. The canvas appears on the panel, but no plot appears. What am I missing? Python 2.2 WX 2.4 Thanks, Ray wxFrame1.py: _____________________________________________________________ #Boa:Frame:wxFrame1 from wxPython.wx import * from wxPyPlot.wxPyPlot import PlotCanvas import numarray import matplotlib matplotlib.use('WX') from matplotlib.backends.backend_wx import FigureCanvasWx from matplotlib.figure import Figure from matplotlib.axes import Subplot def create(parent): return wxFrame1(parent) [wxID_WXFRAME1, wxID_WXFRAME1PANEL1, ] = map(lambda _init_ctrls: wxNewId(), range(2)) class wxFrame1(wxFrame): def _init_ctrls(self, prnt): # generated method, don't edit wxFrame.__init__(self, id=wxID_WXFRAME1, name='', parent=prnt, pos=wxPoint(0, 0), size=wxSize(406, 341), style=wxDEFAULT_FRAME_STYLE, title="Test embedded wxFigure") self.panel1 = wxPanel(id=wxID_WXFRAME1PANEL1, name='panel1', parent=self, pos=wxPoint(0, 0), size=wxSize(398, 314), style=wxTAB_TRAVERSAL) def __init__(self, parent): self._init_ctrls(parent) self.fig = Figure((5,4), 75) self.canvas = FigureCanvasWx(self.panel1, -1, self.fig) self.plot_data() def plot_data(self): a = Subplot(self.fig, 111) t = numarray.arange(0.0,3.0,0.01) s = numarray.sin(2*numarray.pi*t) c = numarray.cos(2*numarray.pi*t) a.plot(t,s) a.plot(t,c) |
From: Chris B. <Chr...@no...> - 2004-08-30 17:48:34
|
Gregory Lielens wrote: >>Except that z-order and a z coordinate really are different, so we >>shouldn't use z, it will make it harder, not easier to add 3-plots in >>the future! > > Are they? I think not, cause in 3D you can not control the order of > "painting", this is done so that elements which are in the background > are hidden by elements which are more close to the observer... sure, for data elements, but what about legends, error bars, etc? -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |