SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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
(8)
2
(11)
3
(4)
4
(6)
5
(13)
6
(30)
7
(21)
8
(9)
9
(19)
10
(4)
11
(5)
12
(14)
13
(19)
14
(22)
15
(12)
16
(15)
17
(14)
18
(1)
19
(1)
20
(11)
21
(9)
22
(18)
23
(39)
24
(12)
25
(7)
26
(13)
27
(18)
28
(3)
29
(5)
30
(12)
31
(10)

Showing 11 results of 11

From: Haibao T. <tan...@gm...> - 2008年10月15日 20:11:09
Dear folks,
I wrote an ad-hoc script to generate buttons that have the 'glossy' effect.
The implementation is fairly straightforward and did work -- the buttons
themselves are rectangles with rounded corners so I call a polygon patch.
The light is simulated using a white, transparent ellipse. But there is one
problem though, the ellipse would mask anything that's above the buttons as
well.
Any people interested to take a look and suggest a solution?
Haibao
-------------------------------------------------------------------------------------------------------------
from pylab import *
from matplotlib.patches import *
fig = figure(1,(8,8))
root = fig.add_axes([0,0,1,1])
def plot_cap(center, t, r):
 x, y = center
 return zip(x+r*cos(t), y+r*sin(t))
def round_rect(ax, xy, width, height, shrink=.33, label=None, **kwargs):
 shrink *= height
 x,y=xy
 pts = []
 # plot the four rounded cap one by one
 pts += plot_cap((x+width-shrink, y+height-shrink), array([radians(j) for
j in range(0,90)]), shrink)
 pts += [[x+width-shrink, y+height], [x+shrink, y+height]]
 pts += plot_cap((x+shrink, y+height-shrink), array([radians(j) for j in
range(90,180)]), shrink)
 pts += [[x, y+height-shrink], [x, y+shrink]]
 pts += plot_cap((x+shrink, y+shrink), array([radians(j) for j in
range(180,270)]), shrink)
 pts += [[x+shrink, y], [x+width-shrink, y]]
 pts += plot_cap((x+width-shrink, y+shrink), array([radians(j) for j in
range(270,360)]), shrink)
 pts += [[x+width, y+shrink], [x+width, y+height-shrink]]
 ax.add_patch(Polygon(pts, **kwargs))
 # add a white transparency ellipse filter
 # CAUTION -- things immediately above the button will be masked too!!!
ax.add_patch(Ellipse((x+width/2.,y+height),1.6*width,height*.8,fc='w',alpha=.3,lw=0))
 if label:
root.text(x+width/2.,y+height/2.,label,size=10,horizontalalignment="center",verticalalignment="center",color="w")
round_rect(root,(.45,.4),.1,.04,label="Button",lw=0,fc='k')
round_rect(root,(.15,.4),.2,.08,label="Download\nFirefox",lw=0,fc='r')
round_rect(root,(.65,.4),.2,.08,label="Google\nChrome",lw=0,fc='g')
root.set_xlim(0,1)
root.set_ylim(0,1)
root.set_axis_off()
savefig("glossy.pdf")
----------------------------------------------------------------------------------------------------------------------
From: Dan S. <da...@ho...> - 2008年10月15日 18:32:31
Yeap...
I also forgot to mention this in response to Charlie's question.
MPL + NumPy work seemlessly on Linux amd64, and have been so for at least
the two years I've been
using them.
Having said that, I have only used them with Python 2.5 amd64 and not with
2.6 on Linux.
I've compiled the packaged I linked to before on Vista x64 with VS 2008 SP1.
I've been able to reproduce the impaired visual effects on Vista x64 AND
Windows XP x64 so far.
So I would say that this definitely rules out 64-bit non-safety as a general
issue and this is either a problem with
the dependencies on x64 or MPL itself.
-----Original Message-----
From: Michael Droettboom [mailto:md...@st...] 
Sent: Wednesday, October 15, 2008 4:02 PM
To: Dan Shechter
Cc: 'Charlie Moad'; mat...@li...
Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6
An interesting data point would be if anyone is successfully running 
matplotlib on another amd64 platform...? (I'm running 32-bit Linux, so 
I can't help.) That might help rule our 64-bit non-safety in general 
vs. something specific to the Windows toolchain.
Mike
Dan Shechter wrote:
> Of course... I'll try to be as detailed as I can be...
>
> I'll start off by mentioning that I have created and uploaded and 
> archive with a snapshot of everything that I've got so far:
> http://rapidshare.com/files/154096953/py-64.7z.html
>
> The env. I'm using is:
> * VS9 (2008)
> * Python 2.6 for amd 64 (compiled with VS9 by the python.org folks)
>
> To compile Numpy I did this:
> 1. Extract Numpy 1.2
> 2. Start the Visual Studio 2008 Command prompt
> 3. Patch "numpy-1.2.0\numpy\core\src\umathmodule.c.src" according to the
> instructios here:
> 
>
http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037981.htm
> l
> 
>
http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037994.htm
> l
> 4. invoke python setup.py build bdist_wininst
> 5. Install the resulting installer
> 6. Run numpy.test()... (You'll need a installed nose unit-test framework,
> which is in the archive I've attached)
>
> For MPL:
> 1. Extract matplotlib-0.98.3
> 2. I downloaded the win32_static package so I can see the "recomended" 
> static dependencies and compiled the dependencies as best I could, 
> altering the provided ".sln"/".csproj" files as best I could to compile
> for x64 (none of them have pre-made x64 "builds")
> What I compiled out of the win32 packages was:
> libpng / zlib
> freetype
> 3. I restructures the headers / .lib files in a manner similar to how they
> were with
> the win32_static package, and placed it in a "win64" directory
> 4. Changed setupext.py to use "win64" instead of "win32_static"
> 5. Compiled with python setup.py build bdist_wininst, installed the
> resulting installer
> 6. Ran a few tests...
>
> That's it.
> I'm still "missing" on getting the wxPython headers/static libs compiled,
> but I assume this is not a 
> "critical" part of getting MPL working, but rather required for
completeness
> sake.
>
>
> From: Charlie Moad [mailto:cw...@gm...] 
> Sent: Wednesday, October 15, 2008 03:11
> To: Dan Shechter
> Cc: mat...@li...
> Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6
>
> Could you please describe your build environment? I am interested in what
> compiler you used and what OS you are running.
>
> - Charlie
> On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <da...@ho...> wrote:
> Hi,
> I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
> NumPy seems so pass most of the unit tests, except for a few minor ones
> where it seems nose (the unit testing harness) seems to have problems with
> python 2.6.
>
> After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!)
I
> do get a generally speaking working version but there seem to be quite a
few
> display issues... I have re-occuring cases of "missing data points", for a
> lack of a better name.
> Feel free to look at a screenshot:
> http://img101.imageshack.us/my.php?image=badsubloptswy1.png
>
> Is MPL supported on Win x64? I someone working on this?
>
> I would be happy to share my NumPy build and MPL dependencies + MPL build
> with anyone that perhaps knowing a bit more than me about MPL :)
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
> Build the coolest Linux based applications with Moblin SDK & win great
prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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: Michael D. <md...@st...> - 2008年10月15日 14:14:01
An interesting data point would be if anyone is successfully running 
matplotlib on another amd64 platform...? (I'm running 32-bit Linux, so 
I can't help.) That might help rule our 64-bit non-safety in general 
vs. something specific to the Windows toolchain.
Mike
Dan Shechter wrote:
> Of course... I'll try to be as detailed as I can be...
>
> I'll start off by mentioning that I have created and uploaded and 
> archive with a snapshot of everything that I've got so far:
> http://rapidshare.com/files/154096953/py-64.7z.html
>
> The env. I'm using is:
> * VS9 (2008)
> * Python 2.6 for amd 64 (compiled with VS9 by the python.org folks)
>
> To compile Numpy I did this:
> 1. Extract Numpy 1.2
> 2. Start the Visual Studio 2008 Command prompt
> 3. Patch "numpy-1.2.0\numpy\core\src\umathmodule.c.src" according to the
> instructios here:
> 
> http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037981.htm
> l
> 
> http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037994.htm
> l
> 4. invoke python setup.py build bdist_wininst
> 5. Install the resulting installer
> 6. Run numpy.test()... (You'll need a installed nose unit-test framework,
> which is in the archive I've attached)
>
> For MPL:
> 1. Extract matplotlib-0.98.3
> 2. I downloaded the win32_static package so I can see the "recomended" 
> static dependencies and compiled the dependencies as best I could, 
> altering the provided ".sln"/".csproj" files as best I could to compile 
> for x64 (none of them have pre-made x64 "builds")
> What I compiled out of the win32 packages was:
> libpng / zlib
> freetype
> 3. I restructures the headers / .lib files in a manner similar to how they
> were with
> the win32_static package, and placed it in a "win64" directory
> 4. Changed setupext.py to use "win64" instead of "win32_static"
> 5. Compiled with python setup.py build bdist_wininst, installed the
> resulting installer
> 6. Ran a few tests...
>
> That's it.
> I'm still "missing" on getting the wxPython headers/static libs compiled,
> but I assume this is not a 
> "critical" part of getting MPL working, but rather required for completeness
> sake.
>
>
> From: Charlie Moad [mailto:cw...@gm...] 
> Sent: Wednesday, October 15, 2008 03:11
> To: Dan Shechter
> Cc: mat...@li...
> Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6
>
> Could you please describe your build environment? I am interested in what
> compiler you used and what OS you are running.
>
> - Charlie
> On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <da...@ho...> wrote:
> Hi,
> I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
> NumPy seems so pass most of the unit tests, except for a few minor ones
> where it seems nose (the unit testing harness) seems to have problems with
> python 2.6.
>
> After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!) I
> do get a generally speaking working version but there seem to be quite a few
> display issues... I have re-occuring cases of "missing data points", for a
> lack of a better name.
> Feel free to look at a screenshot:
> http://img101.imageshack.us/my.php?image=badsubloptswy1.png
>
> Is MPL supported on Win x64? I someone working on this?
>
> I would be happy to share my NumPy build and MPL dependencies + MPL build
> with anyone that perhaps knowing a bit more than me about MPL :)
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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: Michael D. <md...@st...> - 2008年10月15日 13:04:31
I'm using Qt 4.3.0/PyQt 4.2, compiled from source on RHEL4 with no 
problems, so it's not necessarily that your version is too old.
Once you have a script to reproduce and (ideally) a gdb backtrace, that 
should help us narrow down on the root cause.
Mike
G Jones wrote:
> Hello,
> I'm trying to track down a segfault when a canvas.draw() call is made 
> in my GUI program using the Qt4Agg backend. I am running matplotlib 
> 0.98.3 and Qt 4.3.2. <http://4.3.2.> I know the Qt version is a bit 
> old, so I wanted to check if I should be suspicious of version 
> incompatibility. I am working on a script to demonstrate the segfault.
> Thanks,
> Glenn
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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: Michael D. <md...@st...> - 2008年10月15日 12:41:54
Nick Vaidyanathan wrote:
> Does not exist here: 
> http://matplotlib.sourceforge.net/doc/html/api/pyplot_api.html
> 
> Which is curious, because it's plainly shown (PUNZ!) here: 
> http://matplotlib.sourceforge.net/doc/html/users/pyplot_tutorial.html
> 
> Now here's t3h sex: given the documentation, I kind of expect this to 
> work:
> 
> ---Python Code---
> plotter.plot(xs,ys,'ro')
> plotter.grid(True)
> plotter.savefig('myresult.png')
> plotter.show()
> plotter.waitforbuttonpress(1)
> plotter.close()
> ---End Python Code---
> 
> I would expect that would keep my window open for a second, or until I 
> keyed a button, and then close it. No dice.
What, in fact, is happening for you? No window at all? Perhaps your 
backend is set to a non-GUI backend? Can you send us your matplotlibrc 
file?
Cheers,
Mike
> 
> ...actually, I got my matplotlib through enthought, which has an old 
> version of the package (.91)...but a simple google search for 
> "matplotlib 0.91 api" doesn't show that package's docs on the front 
> page...help?
> 
> 
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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: G J. <gle...@gm...> - 2008年10月15日 08:56:12
Hello,
I'm trying to track down a segfault when a canvas.draw() call is made in my
GUI program using the Qt4Agg backend. I am running matplotlib 0.98.3 and Qt
4.3.2. I know the Qt version is a bit old, so I wanted to check if I should
be suspicious of version incompatibility. I am working on a script to
demonstrate the segfault.
Thanks,
Glenn
From: Dan S. <da...@ho...> - 2008年10月15日 08:00:15
Of course... I'll try to be as detailed as I can be...
I'll start off by mentioning that I have created and uploaded and 
archive with a snapshot of everything that I've got so far:
http://rapidshare.com/files/154096953/py-64.7z.html
The env. I'm using is:
* VS9 (2008)
* Python 2.6 for amd 64 (compiled with VS9 by the python.org folks)
To compile Numpy I did this:
1. Extract Numpy 1.2
2. Start the Visual Studio 2008 Command prompt
3. Patch "numpy-1.2.0\numpy\core\src\umathmodule.c.src" according to the
instructios here:
 
http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037981.htm
l
 
http://projects.scipy.org/pipermail/numpy-discussion/2008-October/037994.htm
l
4. invoke python setup.py build bdist_wininst
5. Install the resulting installer
6. Run numpy.test()... (You'll need a installed nose unit-test framework,
which is in the archive I've attached)
For MPL:
1. Extract matplotlib-0.98.3
2. I downloaded the win32_static package so I can see the "recomended" 
 static dependencies and compiled the dependencies as best I could, 
 altering the provided ".sln"/".csproj" files as best I could to compile 
 for x64 (none of them have pre-made x64 "builds")
 What I compiled out of the win32 packages was:
 libpng / zlib
 freetype
3. I restructures the headers / .lib files in a manner similar to how they
were with
 the win32_static package, and placed it in a "win64" directory
4. Changed setupext.py to use "win64" instead of "win32_static"
5. Compiled with python setup.py build bdist_wininst, installed the
resulting installer
6. Ran a few tests...
That's it.
I'm still "missing" on getting the wxPython headers/static libs compiled,
but I assume this is not a 
"critical" part of getting MPL working, but rather required for completeness
sake.
From: Charlie Moad [mailto:cw...@gm...] 
Sent: Wednesday, October 15, 2008 03:11
To: Dan Shechter
Cc: mat...@li...
Subject: Re: [Matplotlib-users] MPL on Windows x64 with Python 2.6
Could you please describe your build environment? I am interested in what
compiler you used and what OS you are running.
- Charlie
On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <da...@ho...> wrote:
Hi,
I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
NumPy seems so pass most of the unit tests, except for a few minor ones
where it seems nose (the unit testing harness) seems to have problems with
python 2.6.
After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!) I
do get a generally speaking working version but there seem to be quite a few
display issues... I have re-occuring cases of "missing data points", for a
lack of a better name.
Feel free to look at a screenshot:
http://img101.imageshack.us/my.php?image=badsubloptswy1.png
Is MPL supported on Win x64? I someone working on this?
I would be happy to share my NumPy build and MPL dependencies + MPL build
with anyone that perhaps knowing a bit more than me about MPL :)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Stefan S. <ste...@go...> - 2008年10月15日 06:58:14
Hi,
you might want to look here:
http://matplotlib.sourceforge.net/tutorial.html
If I understand what you mean by cross-table and graph, then you are just
plotting two lines of data?
That would require:
pylab.plot(x, y1, 'ro', x, y2, 'bo')
or something like that. Look at the tutorials.
And you would need the data. A good idea is to write them in a simple ascii
file.
Please have a look at the following page:
http://www.scipy.org/Cookbook/InputOutput
This would require for example:
data = numpy.loadtxt('table.dat', unpack=True)
When I need to plot data from a file where the data is seperated by comma
(csv file), I do something like this:
import pylab
data = pylab.load(filename, delimiter=',',skiprows=1) # the first row is
often a table header
fig = pylab.figure()
ax = fig.add_subplot(111) # if you need more then one plot per figure, just
change here
ax.set_xlabel(cals['x units'])
ax.set_ylabel('y units')
ax.plot(data[::,0],data2[::,1]) # this plots col 0 against col 1, uses all
the rows
ax.autoscale_view()
ax.grid(True)
pylab.show()
Cheers,
Stefan
2008年10月15日 He Jibo <he...@gm...>
> Dear All,
>
> I am sorry for the bother, but could you please give me some help?
> I have some pilot data, which is too large to graph in excel, about 16MB.
> So I hope I can do the cross-tabulation and plot in matlab. How can I draw a
> cross-table and graph with matlab like the one in the attachment?
> Thank you so much for your time ! Good night!
>
>
> He Jibo
> he...@gm...
> ji...@cy...
>
>
> ---------------------------
> He Jibo
> Department of Psychology,
> Beckman Institute for Advanced Science and Technology
> University of Illinois, Urbana Champaign,
> 603 East Daniel St.,
> Champaign, IL 61820
> Tel: 217-244-4461(office)
> 217-244-6763(lab)
> Email: he...@gm...
> Helen Hayes - "Age is not important unless you're a cheese."
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
From: Nick V. <nt...@gm...> - 2008年10月15日 02:34:18
Does not exist here:
http://matplotlib.sourceforge.net/doc/html/api/pyplot_api.html
Which is curious, because it's plainly shown (PUNZ!) here:
http://matplotlib.sourceforge.net/doc/html/users/pyplot_tutorial.html
Now here's t3h sex: given the documentation, I kind of expect this to work:
---Python Code---
plotter.plot(xs,ys,'ro')
plotter.grid(True)
plotter.savefig('myresult.png')
plotter.show()
plotter.waitforbuttonpress(1)
plotter.close()
---End Python Code---
I would expect that would keep my window open for a second, or until I keyed
a button, and then close it. No dice.
...actually, I got my matplotlib through enthought, which has an old version
of the package (.91)...but a simple google search for "matplotlib 0.91 api"
doesn't show that package's docs on the front page...help?
From: Charlie M. <cw...@gm...> - 2008年10月15日 01:10:53
Could you please describe your build environment? I am interested in what
compiler you used and what OS you are running.
- Charlie
On Tue, Oct 14, 2008 at 8:23 PM, Dan Shechter <da...@ho...> wrote:
> Hi,
> I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
> NumPy seems so pass most of the unit tests, except for a few minor ones
> where it seems nose (the unit testing harness) seems to have problems with
> python 2.6.
>
> After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!) I
> do get a generally speaking working version but there seem to be quite a few
> display issues... I have re-occuring cases of "missing data points", for a
> lack of a better name.
> Feel free to look at a screenshot:
> http://img101.imageshack.us/my.php?image=badsubloptswy1.png
>
> Is MPL supported on Win x64? I someone working on this?
>
> I would be happy to share my NumPy build and MPL dependencies + MPL build
> with anyone that perhaps knowing a bit more than me about MPL :)
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
From: Dan S. <da...@ho...> - 2008年10月15日 00:50:43
Hi,
I've successfully compiled NumPy for Python 2.6 on Windows x64 (amd64).
NumPy seems so pass most of the unit tests, except for a few minor ones
where it seems nose (the unit testing harness) seems to have problems with
python 2.6.
After compiling MPL for 2.6 on x64 (which was a LENGTHY process... phew!) I
do get a generally speaking working version but there seem to be quite a few
display issues... I have re-occuring cases of "missing data points", for a
lack of a better name.
Feel free to look at a screenshot:
http://img101.imageshack.us/my.php?image=badsubloptswy1.png
Is MPL supported on Win x64? I someone working on this?
I would be happy to share my NumPy build and MPL dependencies + MPL build
with anyone that perhaps knowing a bit more than me about MPL :)
1 message has been excluded from this view by a project administrator.

Showing 11 results of 11

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /