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
(10) |
2
(12) |
3
(6) |
4
(5) |
5
(6) |
6
(2) |
|
7
(1) |
8
(20) |
9
(11) |
10
(3) |
11
(6) |
12
(3) |
13
(1) |
|
14
(2) |
15
(1) |
16
(5) |
17
(9) |
18
(17) |
19
(7) |
20
|
|
21
(1) |
22
(1) |
23
(1) |
24
|
25
(4) |
26
(4) |
27
|
|
28
(2) |
29
(2) |
30
(6) |
31
(5) |
|
|
|
|
From: Al S. <a.d...@wo...> - 2004-03-09 22:18:24
|
There is a minor bug in the object_picker.py example. On the 2nd and
subsequent times a line is "picked", if the marker style had been
changed previously, the original marker choice "None" no longer appears
as a choice in the marker menu. I.e. there is no way to turn off a
previously selected marker.
Below is a (one line) patch that fixes this.
-Al
--
Al Schapira <a.d...@wo...>
*** /usr/local/matplotlib-0.51/examples/object_picker.py
2004-02-26 15:22:58.000000000 -0500
--- object_picker.py 2004-03-09 16:50:36.000000000 -0500
***************
*** 151,157 ****
marker = line.get_marker()
if marker is None: marker = 'None'
styles = [marker]
! for key in lineMarkers.keys():
if key == marker: continue
styles.append(key)
--- 151,157 ----
marker = line.get_marker()
if marker is None: marker = 'None'
styles = [marker]
! for key in keys:
if key == marker: continue
styles.append(key)
|
|
From: John H. <jdh...@ac...> - 2004-03-09 20:59:49
|
>>>>> "Trevor" == Trevor Blackwell <tl...@an...> writes:
Trevor> In backend_gtk.py, it does some antialiased rendering by
Trevor> direct manipulation of pixel values which is only correct
Trevor> for 24-bit TrueColor X11 visuals. I'm running a 16-bit (5
Trevor> red, 6 green, 5 blue) visual, so this produces visual
Trevor> junk.
Trevor> I think the right way to do it is with a Pixbuf, which
Trevor> handles alpha rendering. The code is much simpler and
Trevor> faster too. Here is a patch:
Nice!! Where did you learn that trick? pb.pixel_array is not
documented at
http://www.gnome.org/~james/pygtk-docs/class-gdkpixbuf.html.
This is great to know because I can use the same approach to port
image handling to gtk once I get that up and running.
FYI, your patch was line wrapped but it was simple enough to apply "by
eye".
JDH
|
|
From: Trevor B. <tl...@an...> - 2004-03-09 20:24:12
|
In backend_gtk.py, it does some antialiased rendering by direct
manipulation of pixel values which is only correct for 24-bit TrueColor
X11 visuals. I'm running a 16-bit (5 red, 6 green, 5 blue) visual, so
this produces visual junk.
I think the right way to do it is with a Pixbuf, which handles alpha
rendering. The code is much simpler and faster too. Here is a patch:
(This is from matplotlib-0.51.)
--- backends/backend_gtk.py~ Wed Mar 3 09:31:39 2004
+++ backends/backend_gtk.py Tue Mar 9 12:00:37 2004
@@ -350,47 +351,20 @@
xox = int(x+ox)
yoy = int(y+oy)
-
-
imw = min(imw, self.width-xox)
imh = min(imh, yoy)
- #print imw, imh, xox, yoy, self.width, self.height
- image = self.gdkDrawable.get_image(xox, self.height-yoy, imw,
imh)
- #return
-
-
- tr = int(rgb[0]*255) # text red
- tg = int(rgb[1]*255) # text green
- tb = int(rgb[2]*255) # text blue
-
- ind = indices(Xs.shape)
- numRows, numCols = Xs.shape
- ind.shape = 2, numRows*numCols
- Xs.shape = numRows*numCols,
- visible = nonzero(Xs>0)
- Xs.shape = numRows,numCols
- for thisInd in visible:
- j,i = ind[:,thisInd]
- if i >= imw: continue
- if j >= imh: continue
- pixel = image.get_pixel(i, j)
- br = (pixel >> 16) & 0xff # background red
- bg = (pixel >> 8 ) & 0xff
- bb = (pixel >> 0) & 0xff
- #print br, bg, bb, Xs[j,i]
-
- alpha = int((255-Xs[j,i])*255)
-
- nr = (((br - tr) * alpha) + (tr << 16)) >> 16
- ng = (((bg - tg) * alpha) + (tg << 16)) >> 16
- nb = (((bb - tb) * alpha) + (tb << 16)) >> 16
- newpixel = (nr<<16) + (ng<<8) + (nb)
-
- image.put_pixel(i, j, newpixel)
- self.gdkDrawable.draw_image(gc.gdkGC, image, 0, 0,
- xox, self.height-yoy, imw, imh)
+ pb=gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB,
+ has_alpha=1, bits_per_sample=8, width=imw,
height=imh)
+ pbpix=pb.pixel_array
+ pbpix[:,:,3]=Xs
+ pbpix[:,:,0]=int(rgb[0]*255)
+ pbpix[:,:,1]=int(rgb[1]*255)
+ pbpix[:,:,2]=int(rgb[2]*255)
+ pb.render_to_drawable(self.gdkDrawable, gc.gdkGC, 0, 0, xox,
self.height-yoy, imw, imh,
+ gdk.RGB_DITHER_NONE, 0, 0)
+
if 0:
self.gdkDrawable.draw_rectangle(
gc.gdkGC, 0, xox,
--
Trevor Blackwell tl...@an... (650) 210-9272
|
|
From: John H. <jdh...@ac...> - 2004-03-09 17:41:19
|
>>>>> "Kuzminski," == Kuzminski, Stefan R <SKu...@fa...> writes:
Stephan> The GD output looks good when printed, maybe I will
Stephan> switch between the 2 ( Agg for display, GD for
Stephan> printing ). The Agg un-aliased lines don't come out
Stephan> quite as well, they seem to render more of the pixels
Stephan> for each point on the line. Nice to have the
Stephan> different backend options.
This has to do with how agg handles subpixel positioning - I've
emailed the agg list and gotten some advice but haven't come up with a
good system to make the lines appear the same thickness in the aliased
and antialiased cases. I'm still working on it.
In the meantime, here is a little backend magic that will make it
easier for you to print to your backend of choice. This example
displays the image in the default GUI (GTKAgg for me) and prints
with GD.
from matplotlib.backends.backend_gd import FigureCanvasGD
from matplotlib.matlab import *
plot([1,2,3])
manager = get_current_fig_manager()
canvasgd = manager.canvas.switch_backends(FigureCanvasGD)
canvasgd.print_figure('gdfig')
show()
print_figure takes the same args as savefig.
gd has a pesky color allocation bug that I haven't figured out that
you may bump into.
JDH
|
|
From: Kuzminski, S. R <SKu...@fa...> - 2004-03-09 17:23:43
|
The GD output looks good when printed, maybe I will switch between the 2
( Agg for display, GD for printing ). The Agg un-aliased lines don't
come out quite as well, they seem to render more of the pixels for each
point on the line. Nice to have the different backend options.
S =20
-----Original Message-----
From: John Hunter [mailto:jdh...@ni...]=20
Sent: Monday, March 08, 2004 8:37 AM
To: Kuzminski, Stefan R
Cc: mat...@li...
Subject: Re: [Matplotlib-users] simple api question
>>>>> "Kuzminski," =3D=3D Kuzminski, Stefan R <SKu...@fa...>
writes:
Kuzminski> Thanks, that worked for the line being plotted,
Kuzminski> although the legend box and axis are still aliased.
Kuzminski> Part of my requirements include supporting
Kuzminski> presentation quality printing. I would like to just
Kuzminski> use Agg as GD has dependency issues and keeps popping
Kuzminski> up other problems ( not to mention how great the Agg
Kuzminski> output looks ). But that great looking anti-aliasing
Kuzminski> doesn't print well, so ideally there would be a
Kuzminski> 'global' level flag that controls aliasing ( or not )
Kuzminski> for everything drawn. I know when the image is being
Kuzminski> created for viewing or for printing and so can set the
Kuzminski> flag accordingly.
I'll work on getting the rest of the objects to respect the
antialiased flag. You can control antialiasing for all lines globally
with rcParams
http://matplotlib.sourceforge.net/faq.html#CUSTOM
JDH
|
|
From: John H. <jdh...@ac...> - 2004-03-09 14:00:33
|
>>>>> "Flavio" == Flavio Codeco Coelho <fcc...@ci...> writes:
Flavio> I cant install matplotlib because it cant find some files
Flavio> in the Font tools tree.
Note if you just want wx, set all the BUILD_* flags in setup.py to 0
and distutils won't compile anything; wx doesn't depend on any of the
extension code. If you do want to build the extensions from CVS, read
on.
CVS doesn't have a complete version of the FontTools* and ttfquery
that are needed to build the extensions. An increasing number of
matplotlib backends need font-finding capabilities which FontTools and
ttfquery provide. However, they are a pain to install and Paul
Barrett has been working on a replacement. At one point I added them
to CVS since I was distributing them with matplotlib but thought twice
about it and tried to remove them. However despite multiple attempts
I have not been able to get them out of CVS. No in a nutshell there
is an incomplete version of FontTools and ttfquery in CVS, and I'm not
too inclined to add them since they will be purged in short order in
any case with the new fontfinder.
If you want to build from CVS, copy the agg, FontTools* and ttfquery
dirs/files from the 0.51 src distro into the CVS tree and build from
there. This will all be cleared up soon.
JDH
|
|
From: Flavio C. C. <fcc...@ci...> - 2004-03-09 13:34:54
|
errata of my last message: I meant to say that: these folders did not come with cvs update -d Summarizing, I cant install matplotlib because it cant find some files in the Font tools tree. |
|
From: Flavio C. C. <fcc...@fi...> - 2004-03-09 13:29:43
|
hi, I am trying to install the latest CVS and I am getting the following error message: root@iprocc1-164 matplotlib]# python setup.py install running install running build running build_py package init file 'ttfquery/__init__.py' not found (or not a regular file) package init file 'FontTools/__init__.py' not found (or not a regular file) package init file 'FontTools/fontTools/__init__.py' not found (or not a regular file) package init file 'FontTools/fontTools/encodings/__init__.py' not found (or not a regular file) error: package directory 'FontTools/fontTools/misc' does not exist [root@iprocc1-164 matplotlib]# python setup.py install running install running build running build_py package init file 'ttfquery/__init__.py' not found (or not a regular file) package init file 'FontTools/__init__.py' not found (or not a regular file) package init file 'FontTools/fontTools/__init__.py' not found (or not a regular file) package init file 'FontTools/fontTools/encodings/__init__.py' not found (or not a regular file) error: package directory 'FontTools/fontTools/misc' does not exist these folder did come with cvs update -d what wrong here? thanks for any help... FLavio |
|
From: Flavio C. C. <fcc...@fi...> - 2004-03-09 12:26:32
|
HI everybody, I dont know if any of you is aware of the boa-constructor python IDE and wx gui builder. I use it and subscribe to its mailing list. Recently, there was this discussion about having some scientific plotting controls added to Boa. I include below, a message from Boa's main developer, Ryaan Booysen, where he gives some pointers to anyone that might be interested in adding plotting controls to Boa. They are talking about Chaco, but as far as I know, Chaco development is stalled and Matplotlib is far superior (IMHO). I believe that if anyone is interested in doing that should contact Ryaan. He is a very nice guy. I also believe that it would greatly improve the visibility of matplotlib since Boa has a very large user base. Well, its just an idea. have fun Flavio -----Forwarded Message----- From: Riaan Booysen <riaan@e.co.za> To: Ricardo Henriques <pax...@sa...> Cc: boa...@li... <boa...@li...> Subject: Re: [Boa Constr] Fw: Any Chaco plugins? Date: Tue, 09 Mar 2004 13:33:00 +0200 Hi Ricardo, Ricardo Henriques wrote: > Hi... > I sucessfully used Boa to help me build scientific applications. I normally > use wxPyPlot to plot graphics witch has a plug-in for Boa, it is quite > alright, but sometimes I nead a plotting library with more features like > Chaco found at www.scipy.org . Anyone knows any plug-in for this plotting > library or any other than wxPyPlot? > Where can I get some information about how to build a plug-in for Boa? > Tks... You may look at the examples for adding a control in Plug-ins/UserCompanions.py I suggest you first try to use the Custom Classes feature to use a Chaco Plot window in the Designer. See Docs/boa/apphelp/MixingSource.html This might be a simpler option. Cheers, Riaan. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Boa-constructor-users mailing list Boa...@li... https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
|
From: John H. <jdh...@ac...> - 2004-03-09 11:53:31
|
>>>>> "Vincent" == Vincent BOYER <bo...@cl...> writes:
Vincent> Is there a way to do that in Matplotlib? Does the Matlab
Vincent> command "hold" have a equivalent in Matplotlib? I didn't
Vincent> find it, and if it exists, then I could plot the lines of
Vincent> the matrix Y one by one.
Hold is on by default. So you can do
for y in Y:
plot(x,y)
To clear the axes between plot commands, use gca.
Hope this helps,
JDH
|
|
From: Vincent B. <bo...@cl...> - 2004-03-09 11:18:40
|
Hi.
I'm trying to plot a matrice against a vector using Matplotlib.
Something like we can do with Matlab :
plot(x,Y)
where
x is an Numeric.array of shape (n,)
Yis an Numeric.array of shape (m,n)
Is there a way to do that in Matplotlib?
Does the Matlab command "hold" have a equivalent in Matplotlib? I didn't
find it, and if it exists, then I could plot the lines of the matrix Y
one by one.
Thank you for any information.
Vincent
|