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




Showing 13 results of 13

From: Sajec, M. T. <ms...@tq...> - 2006年02月16日 22:03:32
I'm proposing to extend the boxplot functionality as described below.
If there aren't any objections, I will be submitting the changes. -M.
>>>>> "Sajec," =3D=3D Sajec, Mike TQO <ms...@tq...> writes:
 Sajec> I would like to propose modifying the boxplot function as
 Sajec> follows: Instead of only accepting an (mxn) matrix (x) and
 Sajec> creating (n) boxplots from the columns of (x), optionally
 Sajec> in place of the (mxn) matrix accept a list of numeric
 Sajec> arrays which can be any length, and create boxplots for
 Sajec> each of the arrays in the list.
JDH> Since I have never used boxplot I don't feel qualified to comment
on this, so I suggest you=20
JDH> bring it up on the user's list. If noone objects, and you send me
a patch against CVS, I'll=20
JDH> include it.
From: Robert K. <rob...@gm...> - 2006年02月16日 21:09:26
Lisa Hsu wrote:
> I believe your problem is because your Numeric and numarray packages are
> not in the same directory as your matplotlib. your matplotlib is in
> /usr/local/lib and your numeric packages are in /usr/lib/. 
Why do you think that? I know of no mechanism that would cause that behavior.
-- 
Robert Kern
rob...@gm...
"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
 -- Richard Harter
From: Lisa H. <hs...@ee...> - 2006年02月16日 21:05:31
I believe your problem is because your Numeric and numarray packages are no=
t
in the same directory as your matplotlib. your matplotlib is in
/usr/local/lib and your numeric packages are in /usr/lib/.
if you install your packages all the same place, either /usr/ or /usr/local=
,
then it should work. otherwise, there is some environment variable you can
set to tell everything where to look. or the ugly way is to just symlink
what you need into the appropriate directories.
good luck.
From: Lisa H. <hs...@ee...> - 2006年02月16日 20:54:50
i just installed matplotlib and all the requisite dependencies, and it seem=
s
to be running fine, except that show() is hanging and i'm not getting a GUI
plot.
I'm using the GTKAgg backend, which was automatically chosen by
setup.pywith the 'auto' flag. i am able to save figures and all that,
but show()
just hangs at gtk.main(). i'm not sure why. i ran the example
simple_plot.py with a --verbose-helpful flag and this is my output:
matplotlib data path
/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data
$HOME=3D/n/zed/z/hsul
CONFIGDIR=3D/n/zed/z/hsul/.matplotlib
loaded rc file /n/zed/z/hsul/.matplotlib/matplotlibrc
matplotlib version 0.86.2
verbose.level helpful
interactive is False
platform is linux2
numerix numpy 0.9.4
numerix numpy 0.9.4
font search path
['/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data']
loaded ttfcache file /n/zed/z/hsul/.matplotlib/ttffont.cache
font search path
['/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data']
loaded ttfcache file /n/zed/z/hsul/.matplotlib/ttffont.cache
Could not load matplotlib icon: Couldn't recognize the image file format fo=
r
file
'/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data/matplotlib.svg'
backend GTKAgg version 2.8.0
and it just hangs until i stop it. i'm not sure what is going on - can
anyone help?
thanks.
From: Rafael P. P. <rp...@fi...> - 2006年02月16日 18:53:30
Rafael Perez Pascual wrote:
>> 
>>
>>>I have a Debian Ubuntu 5.10 Breeze system in an amd64 machine with
>>>python2.4. I install numpy, scipy and matplotlib without troubles, but
>>>when I treat to import pylab I get a segmentation fault and python
>>>breaks.
>>>I treat lots of thinks but nothing works, some one have an idea about
>>>these?
>>>
>>>Thanks
>>>
>>>Rafael Perez
>>>
>>>
>>> 
>>>
>>>How did you install those packages? What versions? What code did you run that
>>>segfaulted? Can you isolate a small, self-contained example that segfaults so we
>>>can examine it? If it's a numpy or scipy problem (likely), we will be happy to
>>>answer your questions on the appropriate list to avoid cluttering the matplotlib
>>>list.
>>>
>>>--
>>>Robert Kern
>>>rob...@gm...
>>>
>>>"In the fields of hell where the grass grows high
>>>Are the graves of dreams allowed to die."
>>> -- Richard Harter
>>>
>>>
>>>
>>>
>>> 
>>>
>>I got scipy-0.4.4.tar.gz from the scipy site.
>>I got numpy-0.9.2.tar.gz from the numpy site.
>>I got matplotlib-0.86.2.tar.gz from the matplotlib site.
>>Python2.4 and all other libs from the ubuntu repository.
>>I did the usualy 'python setup.py build' and 'python setup.py
>>install' as root in the scipy-0.4.4 , numpy-0.9.2 and
>>matplotlib-0.86.2 directories.
>>
>> When I try to import pylab I get:
>>
>>rpp@rafael:~$ python
>>Python 2.4.2 (#2, Sep 30 2005, 22:19:27)
>>[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
>>Type "help", "copyright", "credits" or "license" for more information.
>> 
>>
>>>>>from numpy import *
>>>>>from scipy import *
>>>>> 
>>>>>
>>Overwriting fft=<function fft at 0x2aaaad8879b0> from
>>scipy.fftpack.basic (was <function fft at 0x2aaaad5f0758> from
>>numpy.dft.fftpack)
>>Overwriting ifft=<function ifft at 0x2aaaad887a28> from
>>scipy.fftpack.basic (was <function inverse_fft at 0x2aaaad5f07d0> from
>>numpy.dft.fftpack)
>> 
>>
>>>>>from matplotlib import *
>>>>>import pylab
>>>>> 
>>>>>
>>Segmentation fault
>>rpp@rafael:~$
>>
>>
>>Another try
>>
>>rpp@rafael:~$ python
>>Python 2.4.2 (#2, Sep 30 2005, 22:19:27)
>>[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
>>Type "help", "copyright", "credits" or "license" for more information.
>> 
>>
>>>>>import matplotlib
>>>>>import pylab
>>>>> 
>>>>>
>>Overwriting fft=<function fft at 0x2aaaaf186320> from
>>scipy.fftpack.basic (was <function fft at 0x2aaaad972ed8> from
>>numpy.dft.fftpack)
>>Overwriting ifft=<function ifft at 0x2aaaaf186398> from
>>scipy.fftpack.basic (was <function inverse_fft at 0x2aaaad972f50> from
>>numpy.dft.fftpack)
>>Segmentation fault
>>rpp@rafael:~$
>>
>>Scipy whithout ploting works fine and very fast, but allways I try to
>>import pylab I get the segmentation fault.
>>
>>Thak's a lot Robert
>>
>>Rafael perez
>> 
>>
I install matplotlib-0.86.1 instead of matplotlib-0.86.2 and it works.
Thanks
Rafael Perez
From: Alan G I. <ai...@am...> - 2006年02月16日 18:45:14
On 2006年2月16日, "Randewijk P-J " <pjr...@su...> apparently wrote: 
> To facilitate getting some overview it would be ideal to 
> be able to insert page breaks after each figure. Is this 
> somehow possible with matplotlib (using the pylab 
> interface)?
If you produce PDF you can concatenate them with pdftk.
Cheers,
Alan Isaac
From: Darren D. <dd...@co...> - 2006年02月16日 14:09:56
On Thursday 16 February 2006 08:19, Christian Meesters wrote:
> Hi,
>
> Currently I'm using matplotlib on a machine to quickly evaluate whether
> certain settings for a measurement are good or not - as you all know
> graphical output helps. Now, I would like to dump all output in a single
> post script (ps or eps) file and browse through it using ghost view.
>
> To facilitate getting some overview it would be ideal to be able to insert
> page breaks after each figure. Is this somehow possible with matplotlib
> (using the pylab interface)? (To be honest, I don't really expect this. But
> mpl had so many (for me) hidden features in the past, that I wouldn't be
> really surprised ;-). So I thought, I better ask, although I didn't find
> anything about it in the docs.)
At one time, someone included some support in backend_ps.print_figure for 
passing a file object rather than a file name. For a file object, 
print_figure just appends to the existing file. I dont know how to use this 
properly, passing a file object to savefig raises an error.
Darren
From: Christian M. <mee...@un...> - 2006年02月16日 13:32:27
Oh yes, this is an idea. Could have been mine ...
Bedankt,
Christian
On Thursday 16 February 2006 14:24, Randewijk P-J <pjr...@su...> wrote:
> If you have LaTeX on your machine, this could easily be done using
> python & LaTeX...
>
From: Randewijk P-J <pjr...@su...> - 2006年02月16日 13:24:51
If you have LaTeX on your machine, this could easily be done using
python & LaTeX...
PJR
> -----Original Message-----
> From: mat...@li...=20
> [mailto:mat...@li...] On=20
> Behalf Of Christian Meesters
> Sent: 16 February 2006 15:20
> To: mat...@li...
> Subject: [Matplotlib-users] new page with postscript output?
>=20
>=20
> Hi,
>=20
> Currently I'm using matplotlib on a machine to quickly=20
> evaluate whether=20
> certain settings for a measurement are good or not - as you all know=20
> graphical output helps. Now, I would like to dump all output=20
> in a single post=20
> script (ps or eps) file and browse through it using ghost view.
>=20
> To facilitate getting some overview it would be ideal to be=20
> able to insert=20
> page breaks after each figure. Is this somehow possible with=20
> matplotlib=20
> (using the pylab interface)? (To be honest, I don't really=20
> expect this. But=20
> mpl had so many (for me) hidden features in the past, that I=20
> wouldn't be=20
> really surprised ;-). So I thought, I better ask, although I=20
> didn't find=20
> anything about it in the docs.)
>=20
> TIA
> Christian
>=20
>=20
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep=20
> through log files for problems? Stop! Download the new AJAX=20
> search engine that makes searching your log files as easy as=20
> surfing the web. DOWNLOAD SPLUNK!=20
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&
dat=3D121642
_______________________________________________
Matplotlib-users mailing list Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Christian M. <mee...@un...> - 2006年02月16日 13:19:58
Hi,
Currently I'm using matplotlib on a machine to quickly evaluate whether 
certain settings for a measurement are good or not - as you all know 
graphical output helps. Now, I would like to dump all output in a single post 
script (ps or eps) file and browse through it using ghost view.
To facilitate getting some overview it would be ideal to be able to insert 
page breaks after each figure. Is this somehow possible with matplotlib 
(using the pylab interface)? (To be honest, I don't really expect this. But 
mpl had so many (for me) hidden features in the past, that I wouldn't be 
really surprised ;-). So I thought, I better ask, although I didn't find 
anything about it in the docs.)
TIA
Christian
From: Tobias H. <hil...@li...> - 2006年02月16日 11:21:47
Am Donnerstag, 16. Februar 2006 10:24 schrieb Tobias Hilbricht:
> got error messages. I have python2.3-numeric and python2.3-numarray
> installed
> under /usr/lib/python2.3/site-packages/Numeric
> and /usr/lib/python2.3/site-packages/numarray, respectively.
Hello Nils,
I found the reason for the error message - in Debian python2.3-numeric is not 
enough, python2.3-numeric-ext is also required for matplotlib to work.
Sorry for bothering you, thanks for trying to help me!
Yours sincerely
Tobias Hilbricht
-- 
Dr. Tobias Hilbricht
Linopus Satz und Grafik
www.linopus.de
From: Tobias H. <hil...@li...> - 2006年02月16日 09:15:46
Dear readers of this list,
I compiled and installed matplotlib-0.86.2 on a Debian Sarge GNU/Linux system. 
I can run some examples, e.g. agg_test.py or glyph_to_path.py, however, most 
examples end with an error message like this:
tobias@phoebus:~/matplotlib-0.86.2/examples$ python simple_plot.py
Traceback (most recent call last):
 File "simple_plot.py", line 6, in ?
 from pylab import *
 File "/usr/local/lib/python2.3/site-packages/pylab.py", line 1, in ?
 from matplotlib.pylab import *
 File "/usr/local/lib/python2.3/site-packages/matplotlib/pylab.py", line 195, 
in ?
 import cm
 File "/usr/local/lib/python2.3/site-packages/matplotlib/cm.py", line 5, in ?
 import colors
 File "/usr/local/lib/python2.3/site-packages/matplotlib/colors.py", line 33, 
in ?
 from numerix import array, arange, take, put, Float, Int, where, \
 File 
"/usr/local/lib/python2.3/site-packages/matplotlib/numerix/__init__.py", line 
62, in ?
 from Matrix import Matrix
ImportError: No module named Matrix
I reinstalled matplotlib according to the matplotlib-FAQ and tested again and 
got the same error message. I also changed in ~./matplotlib/matplotlibrc 
numerix from Numeric to numpy or numarray, but I got similar error messages.
I have python2.3-numeric and python2.3-numarray installed 
under /usr/lib/python2.3/site-packages/Numeric 
and /usr/lib/python2.3/site-packages/numarray, respectively.
What do I have to do to get matplotlib running?
Thanks for helpful hints in advance!
Yours sincerely
Tobias Hilbricht
-- 
Dr. Tobias Hilbricht
Linopus Satz und Grafik
www.linopus.de
From: Rafael P. P. <rp...@fi...> - 2006年02月16日 01:15:52
Rafael Perez Pascual wrote:
>I have a Debian Ubuntu 5.10 Breeze system in an amd64 machine with
>python2.4. I install numpy, scipy and matplotlib without troubles, but
>when I treat to import pylab I get a segmentation fault and python 
>breaks.
>I treat lots of thinks but nothing works, some one have an idea about
>these?
>
>Thanks
>
>Rafael Perez
> 
>
>How did you install those packages? What versions? What code did you run that
>segfaulted? Can you isolate a small, self-contained example that segfaults so we
>can examine it? If it's a numpy or scipy problem (likely), we will be happy to
>answer your questions on the appropriate list to avoid cluttering the matplotlib
>list.
>
>-- 
>Robert Kern
>rob...@gm...
>
>"In the fields of hell where the grass grows high
> Are the graves of dreams allowed to die."
> -- Richard Harter
>
>
> 
>
I got scipy-0.4.4.tar.gz from the scipy site.
I got numpy-0.9.2.tar.gz from the numpy site.
I got matplotlib-0.86.2.tar.gz from the matplotlib site.
Python2.4 and all other libs from the ubuntu repository.
I did the usualy 'python setup.py build' and 'python setup.py 
install' as root in the scipy-0.4.4 , numpy-0.9.2 and
matplotlib-0.86.2 directories.
 When I try to import pylab I get:
rpp@rafael:~$ python
Python 2.4.2 (#2, Sep 30 2005, 22:19:27)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from numpy import *
>>> from scipy import *
Overwriting fft=<function fft at 0x2aaaad8879b0> from
scipy.fftpack.basic (was <function fft at 0x2aaaad5f0758> from
numpy.dft.fftpack)
Overwriting ifft=<function ifft at 0x2aaaad887a28> from
scipy.fftpack.basic (was <function inverse_fft at 0x2aaaad5f07d0> from
numpy.dft.fftpack)
>>> from matplotlib import *
>>> import pylab
Segmentation fault
rpp@rafael:~$
Another try
rpp@rafael:~$ python
Python 2.4.2 (#2, Sep 30 2005, 22:19:27)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
>>> import pylab
Overwriting fft=<function fft at 0x2aaaaf186320> from
scipy.fftpack.basic (was <function fft at 0x2aaaad972ed8> from
numpy.dft.fftpack)
Overwriting ifft=<function ifft at 0x2aaaaf186398> from
scipy.fftpack.basic (was <function inverse_fft at 0x2aaaad972f50> from
numpy.dft.fftpack)
Segmentation fault
rpp@rafael:~$
 
Scipy whithout ploting works fine and very fast, but allways I try to
import pylab I get the segmentation fault.
Thak's a lot Robert
Rafael perez

Showing 13 results of 13

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 によって変換されたページ (->オリジナル) /