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

Showing results of 356

1 2 3 .. 15 > >> (Page 1 of 15)
From: Matthieu B. <mat...@gm...> - 2008年02月29日 23:55:35
>
> I'm trying to explore new options, and learn new skills. My favorite
> programming languages are C/C++ and Python. I use Python for small
> scripts and applications, and C/C++ for everything else. I've started a
> smallish/medium size open source app in python+pygtk+matplotlib+numpy
> (laserfoam.sf.net) but I think a large application might be more
> maintainable in C++. Also, I think C++ is easier to "sell" to the powers
> that be.
I was C++ everywhere before, now I'm C++ only where it matters.
Write your application with Python, there is not scale issue with Python
(ILM use it, Google, ...), profile it and port what is needed to C or C++
and you will write an efficient and big application in "no" time.
Matthieu
-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
From: João L. S. <js...@fc...> - 2008年02月29日 23:31:57
Christopher Barker wrote:
> João Luis Silva wrote:
>> So do you know any free open source library for plotting, that can be
>> embedded in a GUI (such as wxWidgets or GTK), and usable from C/C++?
> 
> If you're not committed to a particular GUI, check out QT -- I think 
> there are some plotting tools for QT out there:
> 
I've heard good things about QT, and, while this program will be open 
source, I'm doing doing it to learn new technologies that can be applied 
to big scale commercial applications. I don't like the QT pricing for 
commercial applications, so it's not an option.
> 
> VTK ios worth a look-see too -- it's big and complicated, but very powerful:
> 
> http://www.vtk.org/
> 
I've used VTK once, from python. It's big and complicated, and the 
available documentation is scarce. In the end, it's not what I need.
> 
>> Matplotlib may well be a killer application for me in the sense that it
>> might be easier to just program the whole thing in Python.
> 
> It's probably easier to program the whole thing in python anyway. It's 
> certainly easier to program wx in python, so what do you have left? your 
> computational code may be able to be written in numpy successfully, and 
> if not, write the core in C or C++, and access it from python with 
> ctypes, SWIG or pyrex, or...
> 
I'm trying to explore new options, and learn new skills. My favorite 
programming languages are C/C++ and Python. I use Python for small 
scripts and applications, and C/C++ for everything else. I've started a 
smallish/medium size open source app in python+pygtk+matplotlib+numpy 
(laserfoam.sf.net) but I think a large application might be more 
maintainable in C++. Also, I think C++ is easier to "sell" to the powers 
that be.
I'm still undecided. As you and John suggest, I may write the GUI in 
python+wxPython, and everything else in C++, but I was trying to drive 
the app from C++. The need for python only remains due to its superior 
plotting tools. Also, I'm trying to keep things simple, so that they 
just work, on both Linux and Windows.
I guess I have to think this over a bit more. Any further comments or 
sugestions would be appreciated.
Best Regards,
João Silva
From: Christopher B. <Chr...@no...> - 2008年02月29日 22:38:09
Samuel M. Smith wrote:
> I finally bit the bullet and decided to upgrade to Leopard.
> The MatPlotLib 0.91.2 egg fails to install.
> 
> 
> Configuration:
> 	MacBook Pro
> 	OS X 10.5.2
> 	
> 	Python 2.5.2 from http://www.pythonmac.org/packages/py25-fat/dmg/ 
> python-2.5-macosx.dmg
> 0.9.1.2 egg from http://downloads.sourceforge.net/matplotlib/ 
> matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg? 
> modtime=1200067054&big_mirror=0
This works fine for me on OS-X 10.4 (other stuff the same as you)
> When I use easy_install on the egg I get a bunch of errors and the 
> install fails.
Are you sure you're using the easy_install for the MacPython you 
installed, rather than the one that installs into Apple's Python? Try:
$ which easy_install
I get:
/Library/Frameworks/Python.framework/Versions/Current/bin/easy_install
> What's the recommended approach for installing on 10.5?
It seems most folks are using the Apple-supplied Python2.5, rather than 
the MacPython one -- you might want to try that.
> Processing matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
> Copying matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg to /Library/ 
> Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
hmmm -- that looks right.
> Processing dependencies for matplotlib==0.91.2
> Searching for matplotlib==0.91.2
> Reading http://pypi.python.org/simple/matplotlib/
> Reading http://matplotlib.sourceforge.net
> Reading http://sourceforge.net/project/showfiles.php? 
> group_id=80706&package_id=82474
> Reading http://sourceforge.net/project/showfiles.php?group_id=80706
> Best match: matplotlib 0.91.2
> Downloading http://downloads.sourceforge.net/matplotlib/ 
> matplotlib-0.91.2.tar.gz?modtime=1199627250&big_mirror=0
> Processing matplotlib-0.91.2.tar.gz
here's your problem -- it isn't recognizing the egg as one that will 
work on 10.5, so it's downloading the tarball to try to build a new one 
for you -- that's apparently failing.
Someone did some trickery that is beyond me for the 0.91.1 egg, so that 
it was recognized as being acceptable on 10.4 and 10.5. You might search 
this list for discussion of that.
eggs sure seem like a good idea, but this does get messy!
By the way, on my system (10.4), the binary egg on sourceforge installed 
fine, but easy_install didn't fine it for me -- should it be able to do 
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...> - 2008年02月29日 22:26:27
João Luis Silva wrote:
> So do you know any free open source library for plotting, that can be
> embedded in a GUI (such as wxWidgets or GTK), and usable from C/C++?
If you're not committed to a particular GUI, check out QT -- I think 
there are some plotting tools for QT out there:
http://qwt.sourceforge.net/
I sure wish there was something like that for wxWidgets!
VTK ios worth a look-see too -- it's big and complicated, but very powerful:
http://www.vtk.org/
it can be used with wx, qt, etc, etc...
> Matplotlib may well be a killer application for me in the sense that it
> might be easier to just program the whole thing in Python.
It's probably easier to program the whole thing in python anyway. It's 
certainly easier to program wx in python, so what do you have left? your 
computational code may be able to be written in numpy successfully, and 
if not, write the core in C or C++, and access it from python with 
ctypes, SWIG or pyrex, or...
-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: David H. <dav...@gm...> - 2008年02月29日 20:36:05
Have you tried pdfcrop ? It computes margin automatically, you could then
transfer the file back to eps.
David
PDFCROP 1.5, 2004年06月24日 - Copyright (c) 2002, 2004 by Heiko Oberdiek.
Syntax: pdfcrop [options] <input[.pdf]> [output file]
Function: Margins are calculated and removed for each page in the file.
Options: (defaults:)
 --help print usage
 --(no)verbose verbose printing (false)
 --(no)debug debug informations (false)
 --gscmd <name> call of ghostscript (gs)
 --pdftexcmd <name> call of pdfTeX (pdftex)
 --margins "<left> <top> <right> <bottom>" (0 0 0 0)
 add extra margins, unit is bp. If only one number is
 given, then it is used for all margins, in the case
 of two numbers they are also used for right and
bottom.
 --(no)clip clipping support, if margins are set (false)
 --(no)hires using `%%HiResBoundingBox' (false)
 instead of `%%BoundingBox'
 --papersize <foo> parameter for gs's -sPAPERSIZE=<foo>,
 use only with older gs versions <7.32 ()
Examples:
 pdfcrop --margins 10 input.pdf output.pdf
 pdfcrop --margins '5 10 5 20' --clip input.pdf output.pdf
2008年2月29日, Alan G Isaac <ai...@am...>:
>
> On 2008年2月29日, Michael Hearne apparently wrote:
> > I gave this a shot, and eps2eps seems not to have any effect on the
> > bounding box. I've done some experiments where I reduce the bounding
> > box by hand, which works really well - the only problem is I need a
> > way to determine where the edge of my plot really is.
>
>
> Hmmm. That is just what eps2eps should do.
> Perhaps there is something drawn outside what
> you believe your picture is?
>
> Here are more possibilities:
> http://www.physics.ohio-state.edu/cgi-bin/fom?_recurse=1&file=103#file_105
>
> Some Python code to exploit this GS ability is here:
> http://citadel.tistory.com/130
>
>
> Cheers,
> Alan Isaac
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Samuel M. S. <sm...@sa...> - 2008年02月29日 18:46:39
I finally bit the bullet and decided to upgrade to Leopard.
The MatPlotLib 0.91.2 egg fails to install.
Configuration:
	MacBook Pro
	OS X 10.5.2
	
	Python 2.5.2 from http://www.python.org/ftp/python/2.5.2/ 
python-2.5.2-macosx.dmg
	NumPy 1.04 from http://www.pythonmac.org/packages/py25-fat/dmg/
numpy-1.0.4-py2.5-macosx10.4-2007年11月07日.dmg
	WxPython 2.8.7.1 wxPython2.8-osx-unicode-2.8.7.1-universal-py2.5.dmg
0.9.1.2 egg from http://downloads.sourceforge.net/matplotlib/
matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg?
modtime=1200067054&big_mirror=0
When I use easy_install on the egg I get a bunch of errors and the
install fails.
(see bottom of this email)
What's the recommended approach for installing on 10.5?
Should I Install from source?
 I noticed on the scipy wiki http://ipython.scipy.org/moin/
MatplotlibOSXBuildNotes
the the directions are for 10.4. Namely these instructions are 10.4
specific
quaternion:mpl-build cmoad$ export MACOSX_DEPLOYMENT_TARGET=10.4
quaternion:mpl-build cmoad$ export CFLAGS="-arch i386 -arch ppc -
isysroot /Developer/SDKs/MacOSX10.4u.sdk"
quaternion:mpl-build cmoad$ export LDFLAGS="-arch i386 -arch ppc -
syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
Will changing 10.4 to 10.5 work above? or is there something else
needed for 10.5?
--------
$ sudo easy_install /Volumes/Aux/Install/Python/MacPython/
Python2.5.x/archive/matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
Password:
Processing matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
Copying matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg to /Library/
Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
Adding matplotlib 0.91.2 to easy-install.pth file
Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
Processing dependencies for matplotlib==0.91.2
Searching for matplotlib==0.91.2
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?
group_id=80706&package_id=82474
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Best match: matplotlib 0.91.2
Downloading http://downloads.sourceforge.net/matplotlib/
matplotlib-0.91.2.tar.gz?modtime=1199627250&big_mirror=0
Processing matplotlib-0.91.2.tar.gz
Running matplotlib-0.91.2/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-tT3TDi/matplotlib-0.91.2/egg-dist-tmp-244PY0
========================================================================
====
BUILDING MATPLOTLIB
 matplotlib: 0.91.2
 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) 
[GCC
 4.0.1 (Apple Computer, Inc. build 5363)]
 platform: darwin
REQUIRED DEPENDENCIES
 numpy: 1.0.4
 freetype2: 9.16.3
OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.2.25
 Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
 wxPython: 2.8.7.1
 * 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
 Qt: no
 Qt4: no
 Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
 datetime: present, version unknown
 dateutil: 1.4
 pytz: 2007k
OPTIONAL USETEX DEPENDENCIES
 dvipng: 1.9
 ghostscript: 8.61
 latex: 3.141592
 pdftops: 3.02
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
 configobj: matplotlib will provide
 enthought.traits: matplotlib will provide
[Edit setup.cfg to suppress the above messages]
========================================================================
====
warning: no files found matching 'NUMARRAY_ISSUES'
warning: no files found matching 'MANIFEST'
warning: no files found matching 'matplotlibrc'
warning: no files found matching 'lib/matplotlib/toolkits'
no previously-included directories found matching 'examples/_tmp_*'
In file included from /usr/include/math.h:26,
 from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/pyport.h:231,
 from /Library/Frameworks/Python.framework/Versions/
2.5/include/python2.5/Python.h:57,
 from ./CXX/WrapPython.h:47,
 from CXX/cxxextensions.c:38:
/usr/include/architecture/ppc/math.h:675: warning: conflicting types
for built-in function ‘scalb’
ld: warning in /opt/local/lib/libfreetype.dylib, file is not of
required architecture
ld: warning in /opt/local/lib/libz.dylib, file is not of required
architecture
ld: in /opt/local/lib/libJPEG.dylib, file is not of required
architecture for architecture ppc
collect2: ld returned 1 exit status
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file: /var/tmp//ccoco5Kx.out (No such file or
directory)
ld: warning in /opt/local/lib/libfreetype.dylib, file is not of
required architecture
ld: warning in /opt/local/lib/libz.dylib, file is not of required
architecture
ld: in /opt/local/lib/libJPEG.dylib, file is not of required
architecture for architecture ppc
collect2: ld returned 1 exit status
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file: /var/tmp//ccoco5Kx.out (No such file or
directory)
error: Setup script exited with error: Command "g++ -arch i386 -arch
ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined
dynamic_lookup build/temp.macosx-10.3-i386-2.5/src/ft2font.o build/
temp.macosx-10.3-i386-2.5/src/mplutils.o build/temp.macosx-10.3-
i386-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-i386-2.5/CXX/
cxxsupport.o build/temp.macosx-10.3-i386-2.5/CXX/
IndirectPythonInterface.o build/temp.macosx-10.3-i386-2.5/CXX/
cxxextensions.o -L/opt/local/lib -L/usr/local/lib -L/usr/lib -L/usr/
X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-
i386-2.5/matplotlib/ft2font.so -Wl,-framework,CoreServices,-
framework,ApplicationServices" failed with exit status 1
Exception exceptions.OSError: (2, 'No such file or directory', 'src/
image.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x1b8c620>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/
transforms.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x1b83eb8>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/
backend_agg.cpp') in <bound method CleanUpFile.__del__ of
<setupext.CleanUpFile instance at 0x1b8c238>> ignored
leopardguid:admin$
**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************
------------------------------------------------------------------------ 
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Samuel M. S. <sm...@sa...> - 2008年02月29日 18:45:46
Installed MatPlotLib 0.91.1 on OS X 10.5 Leopard (intel)
When saving plot files to formats .png or .svg I get the following 
error.
Matplotlib backend_wx_error cannot return std::string from Unicode 
object
This errors occurs with both wxpython 2.8.30 and 2.8.7.1
.ps .eps and .pdf works fine. Anyone seen this error?
I tried to install 0.91.2 but it failed (see other post)
My Configuration:
http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg
http://www.pythonmac.org/packages/py25-fat/dmg/matplotlib-0.91.1- 
py2.5-macosx10.4-2007年12月04日.dmg
http://www.pythonmac.org/packages/py25-fat/dmg/numpy-1.0.4-py2.5- 
macosx10.4-2007年11月07日.dmg
http://www.pythonmac.org/packages/py25-fat/dmg/wxPython2.8-osx- 
unicode-2.8.3.0-universal10.4-py2.5.dmg
or
http://downloads.sourceforge.net/wxpython/wxPython2.8-osx- 
unicode-2.8.7.1-universal-py2.5.dmg
**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************
From: Samuel M. S. <sm...@sa...> - 2008年02月29日 18:34:23
I finally bit the bullet and decided to upgrade to Leopard.
The MatPlotLib 0.91.2 egg fails to install.
Configuration:
	MacBook Pro
	OS X 10.5.2
	
	Python 2.5.2 from http://www.pythonmac.org/packages/py25-fat/dmg/ 
python-2.5-macosx.dmg
	NumPy 1.04 from http://www.pythonmac.org/packages/py25-fat/dmg/ 
numpy-1.0.4-py2.5-macosx10.4-2007年11月07日.dmg
	WxPython 2.8.7.1 wxPython2.8-osx-unicode-2.8.7.1-universal-py2.5.dmg
0.9.1.2 egg from http://downloads.sourceforge.net/matplotlib/ 
matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg? 
modtime=1200067054&big_mirror=0
When I use easy_install on the egg I get a bunch of errors and the 
install fails.
(see bottom of this email)
What's the recommended approach for installing on 10.5?
Should I Install from source?
 I noticed on the scipy wiki http://ipython.scipy.org/moin/ 
MatplotlibOSXBuildNotes
the the directions are for 10.4. Namely these instructions are 10.4 
specific
quaternion:mpl-build cmoad$ export MACOSX_DEPLOYMENT_TARGET=10.4
quaternion:mpl-build cmoad$ export CFLAGS="-arch i386 -arch ppc - 
isysroot /Developer/SDKs/MacOSX10.4u.sdk"
quaternion:mpl-build cmoad$ export LDFLAGS="-arch i386 -arch ppc - 
syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"
Will changing 10.4 to 10.5 work above? or is there something else 
needed for 10.5?
--------
$ sudo easy_install /Volumes/Aux/Install/Python/MacPython/ 
Python2.5.x/archive/matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
Password:
Processing matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
Copying matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg to /Library/ 
Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
Adding matplotlib 0.91.2 to easy-install.pth file
Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
Processing dependencies for matplotlib==0.91.2
Searching for matplotlib==0.91.2
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php? 
group_id=80706&package_id=82474
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Best match: matplotlib 0.91.2
Downloading http://downloads.sourceforge.net/matplotlib/ 
matplotlib-0.91.2.tar.gz?modtime=1199627250&big_mirror=0
Processing matplotlib-0.91.2.tar.gz
Running matplotlib-0.91.2/setup.py -q bdist_egg --dist-dir /tmp/ 
easy_install-tT3TDi/matplotlib-0.91.2/egg-dist-tmp-244PY0
======================================================================== 
====
BUILDING MATPLOTLIB
 matplotlib: 0.91.2
 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC
 4.0.1 (Apple Computer, Inc. build 5363)]
 platform: darwin
REQUIRED DEPENDENCIES
 numpy: 1.0.4
 freetype2: 9.16.3
OPTIONAL BACKEND DEPENDENCIES
 libpng: 1.2.25
 Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
 wxPython: 2.8.7.1
 * 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
 Qt: no
 Qt4: no
 Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
 datetime: present, version unknown
 dateutil: 1.4
 pytz: 2007k
OPTIONAL USETEX DEPENDENCIES
 dvipng: 1.9
 ghostscript: 8.61
 latex: 3.141592
 pdftops: 3.02
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
 configobj: matplotlib will provide
 enthought.traits: matplotlib will provide
[Edit setup.cfg to suppress the above messages]
======================================================================== 
====
warning: no files found matching 'NUMARRAY_ISSUES'
warning: no files found matching 'MANIFEST'
warning: no files found matching 'matplotlibrc'
warning: no files found matching 'lib/matplotlib/toolkits'
no previously-included directories found matching 'examples/_tmp_*'
In file included from /usr/include/math.h:26,
 from /Library/Frameworks/Python.framework/Versions/ 
2.5/include/python2.5/pyport.h:231,
 from /Library/Frameworks/Python.framework/Versions/ 
2.5/include/python2.5/Python.h:57,
 from ./CXX/WrapPython.h:47,
 from CXX/cxxextensions.c:38:
/usr/include/architecture/ppc/math.h:675: warning: conflicting types 
for built-in function ‘scalb’
ld: warning in /opt/local/lib/libfreetype.dylib, file is not of 
required architecture
ld: warning in /opt/local/lib/libz.dylib, file is not of required 
architecture
ld: in /opt/local/lib/libJPEG.dylib, file is not of required 
architecture for architecture ppc
collect2: ld returned 1 exit status
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file: /var/tmp//ccoco5Kx.out (No such file or 
directory)
ld: warning in /opt/local/lib/libfreetype.dylib, file is not of 
required architecture
ld: warning in /opt/local/lib/libz.dylib, file is not of required 
architecture
ld: in /opt/local/lib/libJPEG.dylib, file is not of required 
architecture for architecture ppc
collect2: ld returned 1 exit status
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file: /var/tmp//ccoco5Kx.out (No such file or 
directory)
error: Setup script exited with error: Command "g++ -arch i386 -arch 
ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined 
dynamic_lookup build/temp.macosx-10.3-i386-2.5/src/ft2font.o build/ 
temp.macosx-10.3-i386-2.5/src/mplutils.o build/temp.macosx-10.3- 
i386-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-i386-2.5/CXX/ 
cxxsupport.o build/temp.macosx-10.3-i386-2.5/CXX/ 
IndirectPythonInterface.o build/temp.macosx-10.3-i386-2.5/CXX/ 
cxxextensions.o -L/opt/local/lib -L/usr/local/lib -L/usr/lib -L/usr/ 
X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3- 
i386-2.5/matplotlib/ft2font.so -Wl,-framework,CoreServices,- 
framework,ApplicationServices" failed with exit status 1
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
image.cpp') in <bound method CleanUpFile.__del__ of 
<setupext.CleanUpFile instance at 0x1b8c620>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
transforms.cpp') in <bound method CleanUpFile.__del__ of 
<setupext.CleanUpFile instance at 0x1b83eb8>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
backend_agg.cpp') in <bound method CleanUpFile.__del__ of 
<setupext.CleanUpFile instance at 0x1b8c238>> ignored
leopardguid:admin$
**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************
From: John H. <jd...@gm...> - 2008年02月29日 17:19:53
On Fri, Feb 29, 2008 at 10:21 AM, Onno Broekmans
<mat...@on...> wrote:
> Thanks for your reply! I agree that under normal circumstances,
> downsampling would be a good thing to do. However, in this case, it's
> really about the tiny details in the trace, so I'd like to zoom in on
> a small part of the data, and then scroll through it. This is already
> possible with Matplotlib, but is very slow...
Note that with the clipped line approach I suggested, you can have the
best of both worlds. Downsampl when N>20000 or some appropriate
number, and plot the full data when you zoom.
JDH
From: Matthieu B. <mat...@gm...> - 2008年02月29日 16:36:59
>
> You might try checking what the existing values are:
>
> >>> rcParams['axes.formatter.limits']
> [-7, 7]
>
> and try:
>
> rcParams['axes.formatter.limits']=[-4,4]
>
Sorry, I didn't check the current values :|
It works like a charm now, thanks for all the helpfull answers :)
Matthieu
-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
From: Darren D. <dar...@co...> - 2008年02月29日 16:30:44
On Friday 29 February 2008 11:15:20 am Matthieu Brucher wrote:
> > You can either set your axes.formatter.limits rc setting to something
> > like 4,
> > or you can make your axes smaller in the figure, like
> > axes([0.25,0.125,0.7,0.85])
>
> Thanks for this. I tried the first one (I can't make the figure smaller
> ;)), but I got this result :
>
> File "images.py", line 14, in <module>
> pl.rcParams['axes.formatter.limits']=4
> File
> "/home/brucher/local/lib/python2.5/site-packages/matplotlib/__init__.py",
> line 552, in __setitem__
> cval = self.validate[key](val)
> File
> "/home/brucher/local/lib/python2.5/site-packages/matplotlib/rcsetup.py",
> line 119, in __call__
> assert type(s) in (list,tuple)
>
> with :
> >>> import pylab as pl
> >>> pl.rcParams['axes.formatter.limits']=4
You might try checking what the existing values are:
>>> rcParams['axes.formatter.limits']
[-7, 7]
and try:
rcParams['axes.formatter.limits']=[-4,4]
From: Onno B. <mat...@on...> - 2008年02月29日 16:21:33
Hi Alan,
>> I'm trying to plot a current trace from a physics 
>> experiment, containing about 300,000 data points. 
AGI> You may find this off topic, since you seem to mean by "plot
AGI> a current trace" something different than I'm familiar with.
AGI> [snip]
AGI> So perhaps your question is really about the appropriate way 
AGI> to radically down-sample your data?
Thanks for your reply! I agree that under normal circumstances,
downsampling would be a good thing to do. However, in this case, it's
really about the tiny details in the trace, so I'd like to zoom in on
a small part of the data, and then scroll through it. This is already
possible with Matplotlib, but is very slow...
Best regards,
-- 
Onno Broekmans
From: John H. <jd...@gm...> - 2008年02月29日 16:19:48
On Fri, Feb 29, 2008 at 9:40 AM, João Luis Silva <js...@fc...> wrote:
> So do you know any free open source library for plotting, that can be
> embedded in a GUI (such as wxWidgets or GTK), and usable from C/C++?
> Matplotlib may well be a killer application for me in the sense that it
> might be easier to just program the whole thing in Python.
Why not just do the parts you need in c++ and expose them to python,
and then use matplotlib, mayavi2, tvtk, etc, and build your app in
python.
JDH
From: Matthieu B. <mat...@gm...> - 2008年02月29日 16:16:00
>
> You can either set your axes.formatter.limits rc setting to something like
> 4,
> or you can make your axes smaller in the figure, like
> axes([0.25,0.125,0.7,0.85])
>
Thanks for this. I tried the first one (I can't make the figure smaller ;)),
but I got this result :
 File "images.py", line 14, in <module>
 pl.rcParams['axes.formatter.limits']=4
 File
"/home/brucher/local/lib/python2.5/site-packages/matplotlib/__init__.py",
line 552, in __setitem__
 cval = self.validate[key](val)
 File
"/home/brucher/local/lib/python2.5/site-packages/matplotlib/rcsetup.py",
line 119, in __call__
 assert type(s) in (list,tuple)
with :
>>> import pylab as pl
>>> pl.rcParams['axes.formatter.limits']=4
last stable Matplotlib
Matthieu
-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
From: Darren D. <dar...@co...> - 2008年02月29日 16:04:42
On Friday 29 February 2008 10:38:33 am Matthieu Brucher wrote:
> > Anyway, it is almost surely a bounding box problem.
> >
> > > I think you can use eps2eps to get a new bounding box.
> >
> > Thanks, I'll try this :)
>
> It doesn't change a thing :|
>
> Besides, even if it worked, there should be a way of changing the global
> scale (see the attached image for a example).
You can either set your axes.formatter.limits rc setting to something like 4, 
or you can make your axes smaller in the figure, like 
axes([0.25,0.125,0.7,0.85])
Darren
From: João L. S. <js...@fc...> - 2008年02月29日 15:45:16
Hello all,
I'm starting a new application, and I want to do it in C++. Previously, I've
coded similar things in Python and pygtk, using matplotlib for the
graphics. Now I want to create an application in C++ with a GUI that needs
to display simple plots and hidden surface 3D plots and that runs on Linux
and Windows.
 Part of the problem is that I've been spoiled by matplotlib's
quality :-) I just can't get myself to use plplot, and AFAIK Gnuplot does
not allow embedding the graphics in the GUI.
 I'm thinking of using wxWidgets because it has more widgets and features
than GTK. Theoretically I could still use matplotlib by embedding python
(see a recent thread "Help with c++ embedding"), but I would rather not do
such things.
 So do you know any free open source library for plotting, that can be
embedded in a GUI (such as wxWidgets or GTK), and usable from C/C++?
Matplotlib may well be a killer application for me in the sense that it
might be easier to just program the whole thing in Python.
Regards,
João Silva
From: Alan G I. <ai...@am...> - 2008年02月29日 15:30:21
On 2008年2月29日, Michael Hearne apparently wrote:
> I gave this a shot, and eps2eps seems not to have any effect on the 
> bounding box. I've done some experiments where I reduce the bounding 
> box by hand, which works really well - the only problem is I need a 
> way to determine where the edge of my plot really is. 
Hmmm. That is just what eps2eps should do.
Perhaps there is something drawn outside what
you believe your picture is?
Here are more possibilities:
http://www.physics.ohio-state.edu/cgi-bin/fom?_recurse=1&file=103#file_105
Some Python code to exploit this GS ability is here:
http://citadel.tistory.com/130
Cheers,
Alan Isaac
From: John H. <jd...@gm...> - 2008年02月29日 15:24:36
On Fri, Feb 29, 2008 at 8:27 AM, <mat...@on...> wrote:
> Hi everyone,
>
> Quite recently I started out with learning Python, IPython, SciPy and
> Matplotlib, to try see if I could replace some data analysis software
> that was previously written in LabVIEW. Slowly I'm getting sort-of the
> hang of it, but I've run into a few problems, and I'm now looking
> around for some advice...
>
> Main issue is Matplotlib's performance. I'm trying to plot a current
> trace from a physics experiment, containing about 300,000 data points.
> In LabVIEW, one can easily browse through a data set like this, but I
> haven't been able yet to get such a good performance with
> IPython+Matplotlib. Especially scrolling/panning through the data is
> sluggish. (Anyone knows how to add a scrollbar for this instead of
> panning with the mouse, btw?)
>
http://matplotlib.sf.net/examples/embedding_in_gtk3.py shows an
example using a scrolled window.
You could also use the "clipped line" approach to pass in a custom
class that only plots the data in the current view limits defined by
timemin, timemax. See
http://matplotlib.sf.net/examples/clippedline.py. This example
changes the marker and line style depending on how many points are in
the view port, but you could expand on this idea to do downsampling
when the number of points is too large.
BTW, I wrote the EEG viewer you referred to (it currently lives as
pbrain in the nipy project), and it was a bit pokey, but with some
judicious use of custom classes like the one in clippedline.py you can
probably get acceptable performance. In earlier versions of mpl we
tried to build some of these smarts in (eg the data_clipped) but they
were rarely used and of questionable performance benefit so we pulled
them. We may want to revisit the issue...
Hope this helps,
JDH
From: Michael H. <mh...@us...> - 2008年02月29日 15:16:26
I gave this a shot, and eps2eps seems not to have any effect on the 
bounding box. I've done some experiments where I reduce the bounding 
box by hand, which works really well - the only problem is I need a 
way to determine where the edge of my plot really is.
In Basemap, there is a box drawn around my map. I'm pretty sure this 
is just the axis border, and I need to find a way to determine which 
of the many drawing commands in the postscript file represents this 
border.
Is there a way to set the color of this plot box in matplotlib, so 
that I can use that as a clue in the postscript?
Thanks,
Mike
On Feb 29, 2008, at 4:38 AM, Alan G Isaac wrote:
> I think I recall that eps2eps can reset your bounding box,
> if that's the problem.
> http://www.linuxcommand.org/man_pages/eps2eps1.html
>
> Cheers,
> Alan Isaac
>
>
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------
Michael Hearne
mh...@us...
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------
From: Alan G I. <ai...@am...> - 2008年02月29日 15:01:36
On 2008年2月29日, mat...@on... apparently wrote:
> I'm trying to plot a current trace from a physics 
> experiment, containing about 300,000 data points. 
You may find this off topic, since you seem to mean by "plot 
a current trace" something different than I'm familiar with.
Suppose I have a ×ばつ1028 monitor and I'm willing
to have really tiny 9-pixel points to represent an 
observation. Then I can display ×ばつ1028/9 distinct
points, about half as many as you want, and cover
the entire monitor.
So perhaps your question is really about the appropriate way 
to radically down-sample your data?
Cheers,
Alan Isaac
From: <mat...@on...> - 2008年02月29日 14:27:04
Hi everyone,
Quite recently I started out with learning Python, IPython, SciPy and
Matplotlib, to try see if I could replace some data analysis software
that was previously written in LabVIEW. Slowly I'm getting sort-of the
hang of it, but I've run into a few problems, and I'm now looking
around for some advice...
Main issue is Matplotlib's performance. I'm trying to plot a current
trace from a physics experiment, containing about 300,000 data points.
In LabVIEW, one can easily browse through a data set like this, but I
haven't been able yet to get such a good performance with
IPython+Matplotlib. Especially scrolling/panning through the data is
sluggish. (Anyone knows how to add a scrollbar for this instead of
panning with the mouse, btw?)
I know this is an extremely vague description of the problem, but
perhaps someone can give some general advice on improving performance?
I read something about data clipping, but this doesn't work in my
version of Matplotlib --- the Line2D object doesn't seem to have a
property "data_clippied" anymore.
Also, I read that someone had written an EEG display program (both in
the user's guide and on the examples page), which certainly looked
very good. So it must be possible... :)
In any case, some more details about my system: Windows XP SP2, 2.8
GHz dual core processor with 1 GB RAM; running Python 2.5.1, IPython
0.8.2, Matplotlib 0.90.1, NumPy 1.0.5, SciPy 0.6.0.0006.
Very much looking forward to a small discussion on the subject...
Thanks a lot in advance!
Best regards,
--
Onno Broekmans
From: Stephane R. <ste...@gm...> - 2008年02月29日 14:18:27
On Fri, Feb 29, 2008 at 2:52 PM, Michael Droettboom <md...@st...> wrote:
> Can you describe how you are changing the locale? It could be that Qt
> is reverting it to your system value every time a new figure window is
> created. Maybe you could set it somehow "deeper", like in an
> environment variable.
I simply perform a locale.setlocale(locale.LC_ALL, 'en_US.UTF-8').
A simple way to avoid this problem is to set the environement variable
at the same time :
os.environ['LANG'] = 'en_US.UTF-8'
but it's not a clean way.
I guess, a MPL solution would be to check if locale.getlocale()
returns something else than (None,None) at the beginning of
new_figure_manager() and to set it back at the end.
>
> Cheers,
> Mike
>
>
>
> Stephane Raynaud wrote:
> > Hi,
> >
> > when I set the locale to a value (let's say 'en_US.UTF-8' different
> > from my that of environement ('fr_FR'), it is automatically switched
> > back to 'fr_FR.UTF-8' after the first figure is created when the
> > backend is dervied from Qt (no problem with Agg only).
> >
> > Any idea how to prevent from that?
> >
>
> --
> Michael Droettboom
> Science Software Branch
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
-- 
Stephane Raynaud
From: Matthieu B. <mat...@gm...> - 2008年02月29日 14:05:16
2008年2月29日, Alan G Isaac <ai...@am...>:
>
> On 2008年2月29日, Matthieu Brucher apparently wrote:
> > Sorry to raise this issue again, but some has a clue ?
>
>
> Didn't see this earlier and you did not attach the picture
> this time,
Ooops...
but I've seen cut-off labels in some settings
> when there are negative coordinates in the EPS bounding box.
> (Not always honored.) Are there?
Only positive coordinates, but they are very long (1000000 for instance)
Anyway, it is almost surely a bounding box problem.
> I think you can use eps2eps to get a new bounding box.
Thanks, I'll try this :)
Matthieu
-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
From: Michael D. <md...@st...> - 2008年02月29日 14:05:12
Seems like a reasonable fix to me. I don't think the "classic" toolbars 
get as much testing as the new ones, which is probably how this fell 
through the cracks.
I have committed this in SVN r4991.
Cheers,
Mike
Jeff Peery wrote:
> Hello,
> I just upgraded to the most recent version of matplotlib. I'm using 
> wxagg backend for a wxapp. after upgrading my toolbar didn't work 
> anymore and I was getting an error in the method 'zoomx' in class 
> NavigationToolbarWx in backend_wx.py. I noticed that zoomx, zoomy, panx, 
> and pany all had the same error. the error is that the axes have no 
> attribute zoomx, zoomy, panx, pany. some quick digging around fixed the 
> problem. it appears this should be as shown below. this seems to work 
> well now. please let me know if this is incorrect.Thanks!
> 
> def panx(self, direction):
> DEBUG_MSG("panx()", 1, self)
> for a in self._active:
> a.xaxis.pan(direction)
> self.canvas.draw()
> self.canvas.Refresh(eraseBackground=False)
> def pany(self, direction):
> DEBUG_MSG("pany()", 1, self)
> for a in self._active:
> a.yaxis.pan(direction)
> self.canvas.draw()
> self.canvas.Refresh(eraseBackground=False)
> def zoomx(self, in_out):
> DEBUG_MSG("zoomx()", 1, self)
> for a in self._active:
> a.xaxis.zoom(in_out)
> self.canvas.draw()
> self.canvas.Refresh(eraseBackground=False)
> def zoomy(self, in_out):
> DEBUG_MSG("zoomy()", 1, self)
> for a in self._active:
> a.yaxis.zoom(in_out)
> self.canvas.draw()
> self.canvas.Refresh(eraseBackground=False)
> 
> Jeff
> 
> ------------------------------------------------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try 
> it now. 
> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
> >
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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年02月29日 13:56:33
I don't believe there is at present. There was a recent discussion 
about this on the list, and it's on the radar as something to add for a 
future release.
Cheers,
Mike
chombee wrote:
> I'm making some scatter plots which will probably end up getting printed
> in black and white. I'm actually drawing two scatter plots onto one
> axes. So to the distinguish between the two plots I've had them use
> different marker shapes and different shades of grey.
> 
> The problem is that the legend displays only a rectangular block
> indicating the color for each plot. Is there a way to get the marker
> shapes of scatter plots into the legend?
> 
> Thanks
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
3 messages has been excluded from this view by a project administrator.

Showing results of 356

1 2 3 .. 15 > >> (Page 1 of 15)
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 によって変換されたページ (->オリジナル) /