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
(14) |
2
(11) |
|
3
(5) |
4
(17) |
5
(11) |
6
(37) |
7
(35) |
8
(9) |
9
(1) |
|
10
(9) |
11
(7) |
12
(22) |
13
(34) |
14
(24) |
15
(27) |
16
(13) |
|
17
(19) |
18
(43) |
19
(36) |
20
(12) |
21
(9) |
22
(21) |
23
(3) |
|
24
(5) |
25
(30) |
26
(14) |
27
(23) |
28
(19) |
29
(19) |
30
(10) |
|
31
(6) |
|
|
|
|
|
|
|
From: Ryan M. <rm...@gm...> - 2009-05-19 19:05:58
|
On Tue, May 19, 2009 at 1:33 PM, David Anderson <zer...@gm...>wrote: > Hi, I've seen some examples with it, but I couldn't find any docs about it, > Is there any? If not Where Can I get the source code for it to take a look? > Another thing, what about this example: > http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.htmlWhere can I get the csv files used on it ? > Thanks! Welcome! Not to be too blunt, but if you click on the "documentation" link on page you gave, you'd get a link here, which is the main documentation page: http://matplotlib.sourceforge.net/contents.html Also, you can take the page you gave and click on the "matplotlib home" link, you'd see you can get the source here: http://sourceforge.net/projects/matplotlib Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from Norman, Oklahoma, United States |
|
From: David A. <zer...@gm...> - 2009-05-19 18:33:54
|
Hi, I've seen some examples with it, but I couldn't find any docs about it, Is there any? If not Where Can I get the source code for it to take a look? Another thing, what about this example: http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.htmlWhere can I get the csv files used on it ? Thanks! -- David Anderson Lino de Sousa Undergraduate in Computer Science - http://ccc.ufcg.edu.br/index.php/Main_Page Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br Systems and Computing Department - http://www.dsc.ufcg.edu.br Federal University of Campina Grande - http://www.ufcg.edu.br |
|
From: Ryan M. <rm...@gm...> - 2009-05-19 17:44:47
|
On Tue, May 19, 2009 at 12:00 PM, Jae-Joon Lee <lee...@gm...> wrote: > I think there is no functionality difference between subplot2grid and > SM Window. And the syntax of the subplot2grid seems much more cleaner, > especially when you have large number of cells. So, I'm +1 for > subplot2grid in this regard. > > One thing I like about my option 3 is that it can have some benefit > from the array indexing. For example, > > > > > >> +-------+---+ > >> | | | > >> | ax1 |ax3| > >> | | | > >> +-------+---+ > >> | ax2 | > >> +-----------+ > > > > > ax2 = subplot(grid_spec(3,3)[2,:]) > > Any suggestions? I'll admit that I wasn't too sure about this when you first introduced it, but it's growing on me. I could foresee this usage: #Make grid ax_grid = grid_spec(3,3) ax1 = subplot(ax_grid[:2, :2]) #do plot 1 ax2 = subplot(ax_grid[2, :]) #do plot 2 ax3 = subplot(ax_grid[:2, 2]) #do plot3 What I like about this is that it uses fewer keyword arguments and doesn't add another function with overlapping functionality to the API, but adds functionality to the function that already handles subplots. I also like that it makes use of a syntax (slicing) that pretty much everyone has to be familiar with. I could also see that the grid_spec could cache some calculations (slight performance benefit) as well as (maybe?) handle what happens when overlapping axes are requested from the grid. My 0.02. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from Norman, Oklahoma, United States |
|
From: Christopher B. <Chr...@no...> - 2009-05-19 17:43:53
|
Jae-Joon Lee wrote: > I guess you're referring to mplsizer by Andrew Straw? > > http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/toolkits/mplsizer/ yup -- that's it. It looks like it hasn't been touched in a year or so. Maybe this is a good time to revive it? I think it's a great idea. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Jae-Joon L. <lee...@gm...> - 2009-05-19 17:16:50
|
On Tue, May 19, 2009 at 12:51 PM, Christopher Barker <Chr...@no...> wrote: > Alan G Isaac wrote: >> Using a location along with >> a rowspan and colspan is a >> very established convention. > > This is used by the wxPython GridBagSizer as well. > > Speaking of which, I recall a good while back someone was working on a > axes layout system modeled after wx Sizers -- anyone know what happened > to that? > I guess you're referring to mplsizer by Andrew Straw? http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/toolkits/mplsizer/ -JJ > -Chris > > -- > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > Chr...@no... > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Jae-Joon L. <lee...@gm...> - 2009-05-19 17:00:41
|
I think there is no functionality difference between subplot2grid and SM Window. And the syntax of the subplot2grid seems much more cleaner, especially when you have large number of cells. So, I'm +1 for subplot2grid in this regard. One thing I like about my option 3 is that it can have some benefit from the array indexing. For example, > >> +-------+---+ >> | | | >> | ax1 |ax3| >> | | | >> +-------+---+ >> | ax2 | >> +-----------+ > ax2 = subplot(grid_spec(3,3)[2,:]) Any suggestions? -JJ |
|
From: Christopher B. <Chr...@no...> - 2009-05-19 16:50:11
|
Alan G Isaac wrote: > Using a location along with > a rowspan and colspan is a > very established convention. This is used by the wxPython GridBagSizer as well. Speaking of which, I recall a good while back someone was working on a axes layout system modeled after wx Sizers -- anyone know what happened to that? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Christopher B. <Chr...@no...> - 2009-05-19 16:47:20
|
John Hunter wrote: > You cannot import pylab or pyplot is you are embedding mpl in wx > (totally unsupported and expected to fail) -- you need to follow the > patterns in > > http://matplotlib.sourceforge.net/examples/user_interfaces/index.html or use wxMPL: http://agni.phys.iit.edu/~kmcivor/wxmpl/ -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Christopher B. <Chr...@no...> - 2009-05-19 16:45:51
|
> On Tue, May 19, 2009 at 3:57 AM, Thomas Pfaff <ya...@gm...> wrote: >> I want to put graphs into a PowerPoint Presentation but there, anti-aliased >> png-graphics look blurry. I have had issues with alpha PNGs in PP, but I think if you play with the resolution, you should be able to get something that looks good, and it'll be easier than trying to turn anti-aliasing off everywhere. http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: John H. <jd...@gm...> - 2009-05-19 15:19:19
|
On Tue, May 19, 2009 at 10:10 AM, guillaume ranquet <gra...@wy...> wrote: > this bit of code: > > manager = pylab.get_current_fig_manager() > > segfaults when I'm using pylab embedded in Wx. > it works well with gtkAgg. > > I'm using it in an event handler, directly taken from the cookbook: > http://www.scipy.org/Cookbook/Matplotlib/Interactive_Plotting > > I wonder what I'm doing wrong? > should I access the toolbar states in another way when embedding in Wx? You cannot import pylab or pyplot is you are embedding mpl in wx (totally unsupported and expected to fail) -- you need to follow the patterns in http://matplotlib.sourceforge.net/examples/user_interfaces/index.html JDH |
|
From: Thomas P. <ya...@gm...> - 2009-05-19 15:18:49
|
Hi Sebastian, as far as I remember ImageMagick just puts a bitmap representation of the image into the EMF-file (as does IrfanView and many others). What I want to have is vectors, though. Bests, Thomas > -----Original Message----- > From: Sebastian Busch [mailto:web...@th...] > Sent: Tuesday, May 19, 2009 11:15 AM > To: mat...@li... > Subject: Re: [Matplotlib-users] EMF export doesn't work > > Thomas Pfaff wrote: > > ... EMF format. ... no converter on the market to properly > > convert any other vector format matplotlib can produce to EMF. ... > > hey thomas! > > what about convert from imagemagick? "convert test.ps test.emf" gives > some output -- if this is indeed a correct emf file i cannot tell. > > best, > sebastian. |
|
From: guillaume r. <gra...@wy...> - 2009-05-19 15:09:54
|
this bit of code: manager = pylab.get_current_fig_manager() segfaults when I'm using pylab embedded in Wx. it works well with gtkAgg. I'm using it in an event handler, directly taken from the cookbook: http://www.scipy.org/Cookbook/Matplotlib/Interactive_Plotting I wonder what I'm doing wrong? should I access the toolbar states in another way when embedding in Wx? ---- This message contains confidential information and may contain information that is legally privileged. If you have received this message by mistake, please immediately notify us and delete the original message. Thank you. Ce message contient des informations confidentielles. S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie. ---- |
|
From: guillaume r. <gra...@wy...> - 2009-05-19 14:52:13
|
guillaume ranquet wrote: >> On Mon, May 18, 2009 at 10:23 AM, guillaume ranquet <gra...@wy...> wrote: >>>> I'm trying to get approx 4k points plotted into 5 subplots which I would >>>> like interactive (ie: ability to zoom/pan ...). >>>> there's nothing special except that the subplots share axe x. >>>> >>>> >>>> It gets some seconds (3 to 5) on a p4 dual core @ 3Ghz to pan/zoom. It >>>> seems utterly slow to me: what do you think? normal "rate" or flawed code? >>>> I tried using various backend, embedding it into qt4 ... nothing helped >>>> much. >>>> >>>> the code is quite fat atm (500 lines or so). I'll try to cut through the >>>> code to get an example in a few lines if it's said my code is flawed and >>>> the plotting rate should be way faster! >> Instead of starting with your cod,e start from scratch and see if you >> can reproduce the problem. If not, figure out what is different and >> work your way up. Here is some test code -- note that Eric Firing >> made a contribution on the svn trunk that significantly speeds up this >> use case: >> >> import numpy as np >> import matplotlib.pyplot as plt >> fig = plt.figure() >> Nplots = 5 >> Npoints = 5000 >> for i in range(Nplots): >> if i==0: >> ax = ax1 = fig.add_subplot(Nplots,1,i+1) >> else: >> ax = fig.add_subplot(Nplots,1,i+1, sharex=ax1) >> >> ax.plot(np.random.rand(Npoints)) >> >> ax.set_xlim(100, 200) >> plt.show() > > > I think I put a finger on what breaks the performance, thx to your > snippet of code. > I forgot to mention that I'm using some axvlines here and there (500 per > subplot). (That's quite a lot...) > it goes from slow to _unacceptably_ slow with the axvlines. > Yes, it is generating a lot of draw events. > I'm using the axvlines to mark some events that I need to know about in > order to have an explanation of the variations of the curves. > any advice on what to use to replace those? Possibilities include a LineCollection, or a single line with markers. I suspect a single line with masked points used to break it up into vertical segments would also work, although I don't know how fast it would be. The markers approach would be fastest, I suspect. Eric > ---- > This message contains confidential information and may contain information that is legally privileged. If you have received this message by mistake, please immediately notify us and delete the original message. Thank you. > Ce message contient des informations confidentielles. S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie. > ---- > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users thanks for your help, I got it solved ! turning the axvline()s into a LineCollection gave a slight improvement ... but switching to wxPython gave a great boost of performance! I guess there's a performance problem with embedding in QT4? my problem is solved since Wx will do as go as QT. :) ---- This message contains confidential information and may contain information that is legally privileged. If you have received this message by mistake, please immediately notify us and delete the original message. Thank you. Ce message contient des informations confidentielles. S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie. ---- |
|
From: John H. <jd...@gm...> - 2009-05-19 14:51:18
|
On Tue, May 19, 2009 at 3:57 AM, Thomas Pfaff <ya...@gm...> wrote: > Hi all, > > > > Is there a way to completely turn of anti-aliasing when saving to png? > > > > I want to put graphs into a PowerPoint Presentation but there, anti-aliased > png-graphics look blurry. > > I found how to turn anti-aliasing off for lines, but texts and axes are > still anti-aliased. > > Is there a way to do that? You could use the findobj function to recursively find any object in the figure with an "antialiased" method (though the Text objects do not currently have such a method). This would at least get you the lines, rectangles and polygons http://matplotlib.sourceforge.net/examples/pylab_examples/findobj_demo.html http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.artist.Artist.findobj Eg:: def has_aa(x): return hasattr(x, 'set_antialiased') for o in fig.findobj(has_aa): o.set_antialiased(False) JDH |
|
From: John H. <jd...@gm...> - 2009-05-19 14:47:04
|
On Tue, May 19, 2009 at 3:50 AM, Thomas Pfaff <ya...@gm...> wrote: > Hello there, > > when I started with matplotlib I was really enthusiastic that I can throw > all those Excel, IDL, Matlab and whatever else I used until now overboard > and do everything from data processing to visualization in beloved Python. > > Now, here at work I have to use a Windows PC and PowerPoint and graphics > just look best in PowerPoint if they are in EMF format. > Funny enough there seems to be no converter on the market to properly > convert any other vector format matplotlib can produce to EMF. Even the way > via Inkscape fails even with simple plots. > > If I'm wrong about the converter, please tell me and bury EMF-support. > If not, what would you think would be the effort and the time needed to port > the emf-backend to the latest version of matplotlib? I might at least give > it a try. It would not be too much work to get a *mostly functional* backend working, but to get a fully functional backend (eg including mathtext) would be considerably harder. When Michael refactored the backends, he dramatically simplified the number of methods that are required. Starting with the template http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/backends/backend_template.py?view=log and having the old backend_emf around to guide you http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/backends/backend_emf.py?view=log you could probably get something drawing lines and rectangles and text in half a day's work. JDH |
|
From: John H. <jd...@gm...> - 2009-05-19 14:35:45
|
On Tue, May 19, 2009 at 2:21 AM, Jean-Christophe Penalva
<jea...@ci...> wrote:
> i'm trying to use matplotlib to draw some rectangles on one screen. Every
> rectangle has is own position (x,y) is own size, and each of them must have a
> fill color in a colormap.
> Is there an example somewhere ?
>
Easiest is to use a matplotlib.collections.PolyCollection, which is
already setup for colormapping::
import numpy as np
import matplotlib.collections as collections
import matplotlib.cm as cm
import matplotlib.pyplot as plt
N = 100
verts = [((x, y), (x, y+height), (x+width, y+height), (x+width,
y)) for (x,y,width,height) in np.random.rand(N,4)]
intensities = np.random.rand(N)
c = collections.PolyCollection(verts)
c.set_array(intensities)
c.set_cmap(cm.hot)
fig = plt.figure()
ax = fig.add_subplot(111)
ax.add_collection(c)
ax.set_xlim(-1,2)
ax.set_ylim(-1,2)
plt.show()
JDH
|
|
From: Jouni K. S. <jk...@ik...> - 2009-05-19 14:33:08
|
Michael Droettboom <md...@st...> writes: >> $ python setup.py build_ext --inplace >> $ python setupegg.py develop > I have no idea what the second line does either -- and I've always done > just fine without it ;) AFAIK, the second line does the same thing as the first one, and then makes a matplotlib.egg-link file in your site-packages directory, containing the directory in which your matplotlib sources live, so that "import matplotlib" finds that directory without any explicit hacking of the Python search path. If you already have such a file, or if you have otherwise managed to put the source directory on the search path, the first line should be enough. >> File "/System/Library/Frameworks/Python.framework/Versions/2.5/ >> Extras/lib/python/setuptools/command/build_ext.py", line 77, in >> swig_sources >> sources = _build_ext.swig_sources(self, sources) or sources >> TypeError: swig_sources() takes exactly 3 arguments (2 given) Sounds like a setuptools problem. Perhaps updating setuptools (easy_install -U setuptools) will help. -- Jouni K. Seppänen http://www.iki.fi/jks |
|
From: Tony S Yu <to...@MI...> - 2009-05-19 14:01:07
|
On May 19, 2009, at 8:33 AM, Michael Droettboom wrote: > I have no idea what the second line does either -- and I've always > done just fine without it ;) > > The error message is puzzling, since matplotlib does even use swig > currently. Sorry for the noise; I think you're right: this error doesn't appear to be matplotlib related. I tried reverting to old revisions of mpl and that didn't help. Which means, I probably screwed something else up on my system. I'll see how things work with ``python setupegg.py develop``. Thanks for your help! -Tony > Mike > > Tony S Yu wrote: >> Hi, >> >> I run mpl from the svn trunk, but I ran into a problem today after >> pulling the newest version (my last update was probably a week >> ago). The full build output is copied below. >> >> I build from trunk using the following commands: >> >> $ python setup.py build_ext --inplace >> $ python setupegg.py develop >> >> and my build failed on setupegg.py. To be honest, I'm not sure >> what the second line even does, but in the past, I've run into >> problems without it. >> >> Any help would be greatly appreciated. >> -Tony >> -- > Michael Droettboom > Science Software Branch > Operations and Engineering Division > Space Telescope Science Institute > Operated by AURA for NASA > |
|
From: Alan G I. <ala...@gm...> - 2009-05-19 13:18:25
|
On 5/19/2009 4:50 AM Thomas Pfaff apparently wrote: > Now, here at work I have to use a Windows PC and PowerPoint and graphics > just look best in PowerPoint if they are in EMF format. Can you explain this? Doesn't PDF work fine? Alan Isaac |
|
From: Michael D. <md...@st...> - 2009-05-19 12:35:08
|
I have no idea what the second line does either -- and I've always done
just fine without it ;)
The error message is puzzling, since matplotlib does even use swig
currently.
Mike
Tony S Yu wrote:
> Hi,
>
> I run mpl from the svn trunk, but I ran into a problem today after
> pulling the newest version (my last update was probably a week ago).
> The full build output is copied below.
>
> I build from trunk using the following commands:
>
> $ python setup.py build_ext --inplace
> $ python setupegg.py develop
>
> and my build failed on setupegg.py. To be honest, I'm not sure what
> the second line even does, but in the past, I've run into problems
> without it.
>
> Any help would be greatly appreciated.
> -Tony
>
> =
> =
> =
> =
> ========================================================================
> BUILDING MATPLOTLIB
> matplotlib: 0.98.6svn
> python: 2.5.1 (r251:54863, Feb 6 2009, 19:02:12) [GCC
> 4.0.1 (Apple Inc. build 5465)]
> platform: darwin
>
> REQUIRED DEPENDENCIES
> numpy: 1.3.0
> freetype2: 9.16.3
>
> OPTIONAL BACKEND DEPENDENCIES
> libpng: 1.2.29
> Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
> wxPython: 2.8.4.0
> * WxAgg extension not required for wxPython
> >= 2.8
> Gtk+: no
> * Building for Gtk+ requires pygtk; you must
> be able
> * to "import gtk" in your build/install
> environment
> Mac OS X native: yes
> Qt: no
> Qt4: Qt: 4.4.0, PyQt4: 4.4.2
> Cairo: 1.4.12
>
> OPTIONAL DATE/TIMEZONE DEPENDENCIES
> datetime: present, version unknown
> dateutil: matplotlib will provide
> pytz: 2008c
>
> OPTIONAL USETEX DEPENDENCIES
> dvipng: 1.9
> ghostscript: 8.57
> latex: 3.141592
>
> [Edit setup.cfg to suppress the above messages]
> =
> =
> =
> =
> ========================================================================
> pymods ['pylab']
> packages ['matplotlib', 'matplotlib.backends',
> 'matplotlib.projections', 'mpl_toolkits', 'mpl_toolkits.mplot3d',
> 'mpl_toolkits.axes_grid', 'matplotlib.sphinxext',
> 'matplotlib.numerix', 'matplotlib.numerix.mlab',
> 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
> 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
> 'matplotlib.delaunay', 'dateutil', 'dateutil/zoneinfo']
> running develop
> running egg_info
> writing lib/matplotlib.egg-info/PKG-INFO
> writing namespace_packages to lib/matplotlib.egg-info/
> namespace_packages.txt
> writing top-level names to lib/matplotlib.egg-info/top_level.txt
> writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'MANIFEST'
> warning: no files found matching 'lib/mpl_toolkits'
> writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
> running build_ext
> building 'matplotlib.ft2font' extension
> Traceback (most recent call last):
> File "setupegg.py", line 8, in <module>
> {'namespace_packages' : ['mpl_toolkits']}})
> File "setup.py", line 267, in <module>
> **additional_params
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/core.py", line 151, in setup
> dist.run_commands()
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/dist.py", line 974, in run_commands
> self.run_command(cmd)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/dist.py", line 994, in run_command
> cmd_obj.run()
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/develop.py", line 27, in run
> self.install_for_development()
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/develop.py", line 88, in
> install_for_development
> self.run_command('build_ext')
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/cmd.py", line 333, in run_command
> self.distribution.run_command(command)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/dist.py", line 994, in run_command
> cmd_obj.run()
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/build_ext.py", line 46, in run
> _build_ext.run(self)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/command/build_ext.py", line 290, in run
> self.build_extensions()
> File "/Library/Python/2.5/site-packages/Pyrex-0.9.8.5-py2.5.egg/
> Pyrex/Distutils/build_ext.py", line 82, in build_extensions
> self.build_extension(ext)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/build_ext.py", line 175, in
> build_extension
> _build_ext.build_extension(self,ext)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/command/build_ext.py", line 453, in build_extension
> sources = self.swig_sources(sources, ext)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/build_ext.py", line 77, in
> swig_sources
> sources = _build_ext.swig_sources(self, sources) or sources
> TypeError: swig_sources() takes exactly 3 arguments (2 given)
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
|
|
From: Armin M. <arm...@st...> - 2009-05-19 11:30:59
|
Sandro Tosi schrieb: > On Tue, May 19, 2009 at 12:54, <san...@tc...> wrote: >> Could you help me with plotting the columns of a matrix vs it's index in 1 >> figure. S if i have an m *n matrix i have to have n plots in 1 figure. > > simply issue multiple times "plot()" with the give information, then > call pyplot.show(); something like It is not that complicated. matplotlib plots every column of a matrix as separate line. y = arange(25) y.shape=(5,5) plot(y) # or with another x = arange(10,15) plot(x,y) show() hth Armin |
|
From: Abhinav V. <abh...@gm...> - 2009-05-19 11:24:48
|
you can use
---------
from pylab import plotfile, show
plotfile("filename", (0,1,2,3,4,5,6)) # for a 7 column data
show()
----------------------
cheers,
Abhi
On Tue, May 19, 2009 at 12:54 PM, <san...@tc...> wrote:
>
> Dear matplotLib Users,
>
> Could you help me with plotting the columns of a matrix vs it's index in 1
> figure. S if i have an m *n matrix i have to have n plots in 1 figure.
>
> Regards,
> Sandeep Prasad
> Tata Consultancy Services
> Plot No 1, Survey No. 64/2, Software Units Layout
> Serilingampally Mandal, Madhapur
> Hyderabad,Andhra Pradesh
> India
> Ph:- 04066673582
> Cell:- 9640795927
> Mailto: san...@tc...
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty. IT Services
> Business Solutions
> Outsourcing
> ____________________________________________
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
|
|
From: Sandro T. <mo...@de...> - 2009-05-19 11:18:01
|
On Tue, May 19, 2009 at 12:54, <san...@tc...> wrote:
> Could you help me with plotting the columns of a matrix vs it's index in 1
> figure. S if i have an m *n matrix i have to have n plots in 1 figure.
simply issue multiple times "plot()" with the give information, then
call pyplot.show(); something like
import matplotlib.pyplot as plt
for j in range(columns of matrix):
plt.plot(<here put the X>, <here put the Y>)
plt.show()
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
|
|
From: <san...@tc...> - 2009-05-19 10:54:36
|
Dear matplotLib Users, Could you help me with plotting the columns of a matrix vs it's index in 1 figure. S if i have an m *n matrix i have to have n plots in 1 figure. Regards, Sandeep Prasad Tata Consultancy Services Plot No 1, Survey No. 64/2, Software Units Layout Serilingampally Mandal, Madhapur Hyderabad,Andhra Pradesh India Ph:- 04066673582 Cell:- 9640795927 Mailto: san...@tc... Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
|
From: Sebastian B. <web...@th...> - 2009-05-19 09:15:02
|
Thomas Pfaff wrote: > ... EMF format. ... no converter on the market to properly > convert any other vector format matplotlib can produce to EMF. ... hey thomas! what about convert from imagemagick? "convert test.ps test.emf" gives some output -- if this is indeed a correct emf file i cannot tell. best, sebastian. |