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





Showing results of 313

<< < 1 2 3 4 5 6 .. 13 > >> (Page 4 of 13)
From: Chris F. <fon...@gm...> - 2006年07月24日 17:21:18
And by the way, trying to build matplotlib myself with the numpy
binary installed, fails. It appears to be related to tkagg:
src/_tkagg.cpp:28:18: tk.h: No such file or directory
src/_tkagg.cpp:36: syntax error before `*' token
src/_tkagg.cpp:40: `ClientData' was not declared in this scope
src/_tkagg.cpp:40: parse error before `,' token
src/_tkagg.cpp: In function `int PyAggImagePhoto(...)':
src/_tkagg.cpp:43: `Tk_PhotoHandle' undeclared (first use this function)
src/_tkagg.cpp:43: (Each undeclared identifier is reported only once for each
 function it appears in.)
src/_tkagg.cpp:43: parse error before `;' token
src/_tkagg.cpp:44: `Tk_PhotoImageBlock' undeclared (first use this function)
src/_tkagg.cpp:56: `argc' undeclared (first use this function)
src/_tkagg.cpp:57: `interp' undeclared (first use this function)
src/_tkagg.cpp:57: `argv' undeclared (first use this function)
src/_tkagg.cpp:58: `Tcl_AppendResult' undeclared (first use this function)
src/_tkagg.cpp:59: `TCL_ERROR' undeclared (first use this function)
src/_tkagg.cpp:63: `photo' undeclared (first use this function)
src/_tkagg.cpp:63: `Tk_FindPhoto' undeclared (first use this function)
src/_tkagg.cpp:117: `block' undeclared (first use this function)
src/_tkagg.cpp:143: `Tk_PhotoPutBlock' undeclared (first use this function)
src/_tkagg.cpp:153: `Tk_PhotoBlank' undeclared (first use this function)
src/_tkagg.cpp:158: `TCL_OK' undeclared (first use this function)
src/_tkagg.cpp: In function `PyObject* _tkinit(PyObject*, PyObject*)':
src/_tkagg.cpp:174: `Tcl_Interp' undeclared (first use this function)
src/_tkagg.cpp:183: parse error before `)' token
src/_tkagg.cpp:188: `struct TkappObject' has no member named `interp'
src/_tkagg.cpp:194: `Tcl_CmdProc' undeclared (first use this function)
src/_tkagg.cpp:194: parse error before `)' token
C:/MinGW/include/c++/3.2.3/bits/basic_string.tcc: At top level:
src/_tkagg.cpp:42: warning: `int PyAggImagePhoto(...)' defined but not used
error: Command "g++ -O2 -Wall -Iwin32_static/include/tcl84 -I. -Isrc -Iswig -Iag
g23/include -I. -I. -Iwin32_static/include/tcl84\freetype2 -I.\freetype2 -Isrc\f
reetype2 -Iswig\freetype2 -Iagg23/include\freetype2 -I.\freetype2 -I.\freetype2
-IC:\Python24\lib\site-packages\numpy\core\include -IC:\Python24\include -IC:\Py
thon24\PC -c src/_tkagg.cpp -o build\temp.win32-2.4\Release\src\_tkagg.o" failed
 with exit status 1
However, I have Tk installed, as it comes bundled with ActiveState python.
-- 
Chris Fonnesbeck + Atlanta, GA + http://trichech.us
From: Charlie M. <cw...@gm...> - 2006年07月24日 16:59:11
I am guessing you installed numpy1.0b1. You need to use 0.9.8.
On 7/24/06, massimo sandal <mas...@un...> wrote:
> Hi,
> I'm trying to install a matplotlib+wxmpl app I wrote on Linux on a
> Windows XP machine.
>
> It crashes starting with the following error:
> -----
> C:\Documents and Settings\Principale\Desktop\Python\Hooke>python hooke.py
> Traceback (most recent call last):
> File "hooke.py", line 12, in ?
> import wxmpl
> File "C:\Programmi\Python23\Lib\site-packages\wxmpl.py", line 26, in ?
> from matplotlib.axes import PolarAxes, _process_plot_var_args
> File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\axes.py",
> line 23, in
> ?
> from contour import ContourSet
> File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\contour.py",
> line 18,
> in ?
> import _contour
> File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\_contour.py",
> line 17,
> in ?
> from matplotlib._ns_cntr import *
> RuntimeError: module compiled against version 90709 of C-API but this
> version of numpy is 1000000
> -----
>
> I installed the latest sourceforge stable (not CVS/SVN) versions of
> matplotlib, numpy and wxmpl as of today.
>
> I'm quite puzzled, I guess I understand what the error is (different gcc
> versions?), but how can I get around it? Do I need to recompile
> numpy/matplotlib?
>
> m.
>
> --
> Massimo Sandal
> University of Bologna
> Department of Biochemistry "G.Moruzzi"
>
> snail mail:
> Via Irnerio 48, 40126 Bologna, Italy
>
> email:
> mas...@un...
>
> tel: +39-051-2094388
> fax: +39-051-2094387
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
>
From: Charlie M. <cw...@gm...> - 2006年07月24日 16:50:01
On 7/24/06, Christopher Barker <Chr...@no...> wrote:
> msvcr71.dll is a dll required for virtually every application built with
> MSVC7.1. For example, py2exe distributes it by default when it builds
> exes. However, it is so common, most systems already have it, installed
> by some other app.
>
> I'm guessing in this case, you're working with a new Windows box that
> hasn't had much installed on it yet. I don't have it booted up now, but
> I don't have much installed on my Windows box, and I have at least a
> half a dozen copies of it on my system, a few in standard system
> directories.
Not really. I am using Visual Studio for the build in which I have
never seen or heard of this error occuring. This was a mingw problem,
and the fix I mentioned was what we did when the builds were done with
mingw.
> For completeness, I guess that dll should be included in the egg. In the
> meantime, search your system for it, I bet you have at least one copy.
> If not, I'll bet you can get it from MS's web site.
We got this error no matter what. I had the file all over the place
and the mingw builds still complained.
From: John H. <jdh...@ac...> - 2006年07月24日 16:43:15
>>>>> "Christopher" == Christopher Barker <Chr...@no...> writes:
 Christopher> msvcr71.dll is a dll required for virtually every
 Christopher> application built with MSVC7.1. For example, py2exe
 Christopher> distributes it by default when it builds
 Christopher> exes. However, it is so common, most systems already
 Christopher> have it, installed by some other app.
The missing DLL in this case is
 "This application has failed to start because MSVCP71.dll was not found."
 ^
which I believe is the C++ runtime.
JDH
From: Christopher B. <Chr...@no...> - 2006年07月24日 16:39:40
msvcr71.dll is a dll required for virtually every application built with 
MSVC7.1. For example, py2exe distributes it by default when it builds 
exes. However, it is so common, most systems already have it, installed 
by some other app.
I'm guessing in this case, you're working with a new Windows box that 
hasn't had much installed on it yet. I don't have it booted up now, but 
I don't have much installed on my Windows box, and I have at least a 
half a dozen copies of it on my system, a few in standard system 
directories.
For completeness, I guess that dll should be included in the egg. In the 
 meantime, search your system for it, I bet you have at least one copy. 
If not, I'll bet you can get it from MS's web site.
Now that I think about it, I'm surprised it isn't distributed with 
Python in the first place. Someone with a Windows box should do a search 
and see where they are, and if there is one with Python.
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
 		
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: massimo s. <mas...@un...> - 2006年07月24日 16:15:41
Attachments: massimo.sandal.vcf
Hi,
I'm trying to install a matplotlib+wxmpl app I wrote on Linux on a 
Windows XP machine.
It crashes starting with the following error:
-----
C:\Documents and Settings\Principale\Desktop\Python\Hooke>python hooke.py
Traceback (most recent call last):
 File "hooke.py", line 12, in ?
 import wxmpl
 File "C:\Programmi\Python23\Lib\site-packages\wxmpl.py", line 26, in ?
 from matplotlib.axes import PolarAxes, _process_plot_var_args
 File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\axes.py", 
line 23, in
?
 from contour import ContourSet
 File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\contour.py", 
line 18,
in ?
 import _contour
 File "C:\PROGRA~1\Python23\Lib\site-packages\matplotlib\_contour.py", 
line 17,
 in ?
 from matplotlib._ns_cntr import *
RuntimeError: module compiled against version 90709 of C-API but this 
version of numpy is 1000000
-----
I installed the latest sourceforge stable (not CVS/SVN) versions of 
matplotlib, numpy and wxmpl as of today.
I'm quite puzzled, I guess I understand what the error is (different gcc 
versions?), but how can I get around it? Do I need to recompile 
numpy/matplotlib?
m.
-- 
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"
snail mail:
Via Irnerio 48, 40126 Bologna, Italy
email:
mas...@un...
tel: +39-051-2094388
fax: +39-051-2094387
From: leau2001 <lea...@fr...> - 2006年07月24日 14:07:15
Hi all,
I write a little python program with some lib as :Tkinter, matplotlib 
etc...
Citation:
from Tkinter import *
import marshal
import win32clipboard as w
import win32con,re
import string
import time
import MySQLdb
from pylab import *
import os
from ftplib import FTP
Now i want to make an exe, and i use py2exe
I do all what i found here :
http://python.developpez.com/faq/?page=Py2exe
And run... all is ok on the dos screen, but when i want to run my exe i 
got a Bug
Here the log file :
Citation:
Traceback (most recent call last):
File "scan_ally.py", line 8, in ?
File "pylab.pyc", line 1, in ?
File "matplotlib\__init__.pyc", line 720, in ?
File "matplotlib\__init__.pyc", line 273, in wrapper
File "matplotlib\__init__.pyc", line 360, in _get_data_path
RuntimeError: Could not find the matplotlib data files
Then i try to find some doc on the net and found : 
http://starship.python.net/crew/thel...cgi/MatPlotLib 
<http://starship.python.net/crew/theller/moin.cgi/MatPlotLib>
I used the second script bellow and try again, but Bug again on the DOs 
screen now
Citation:
running py2exe
*** searching for required modules ***
*** parsing results ***
creating python loader for extension 'matplotlib._na_image'
creating python loader for extension 'lapack_lite'
creating python loader for extension 'numarray.libnumeric'
creating python loader for extension 'numarray._ufuncUInt32'
creating python loader for extension 'numarray._ufuncFloat32'
creating python loader for extension 'FFT.fftpack'
creating python loader for extension 'select'
creating python loader for extension 'matplotlib.backends._nc_backend_gdk'
creating python loader for extension 'numarray._ufuncBool'
creating python loader for extension 'matplotlib.backends._gtkagg'
creating python loader for extension 'unicodedata'
creating python loader for extension 'numarray._chararray'
creating python loader for extension 'numarray._ufuncUInt64'
creating python loader for extension 'wx._controls_'
creating python loader for extension 'numarray._ufuncInt16'
creating python loader for extension 'matplotlib.backends._na_backend_agg'
creating python loader for extension '_numpy'
creating python loader for extension 'numarray.convolve._correlate'
creating python loader for extension 'numarray.libnumarray'
creating python loader for extension '_tkinter'
creating python loader for extension 'matplotlib.ft2font'
creating python loader for extension 'ranlib'
creating python loader for extension 'numarray._numarray'
creating python loader for extension 'matplotlib._nc_image'
creating python loader for extension 'numarray._ufuncInt8'
creating python loader for extension 'numarray.linear_algebra.lapack_lite2
creating python loader for extension 'matplotlib._na_transforms'
creating python loader for extension 'numarray._ufuncComplex32'
creating python loader for extension 'wx._windows_'
creating python loader for extension 'wx._core_'
creating python loader for extension '_mysql'
creating python loader for extension 'bz2'
creating python loader for extension 'numarray.random_array.ranlib2'
creating python loader for extension '_ssl'
creating python loader for extension 'numarray._ufuncFloat64'
creating python loader for extension 'matplotlib.backends._tkagg'
creating python loader for extension 'matplotlib._ns_transforms'
creating python loader for extension 'wx._misc_'
creating python loader for extension 'qt'
creating python loader for extension 'matplotlib._isnan'
creating python loader for extension 'numarray.fft.fftpack'
creating python loader for extension 'matplotlib._nc_transforms'
creating python loader for extension 'numarray._converter'
creating python loader for extension 'umath'
creating python loader for extension 'numarray._ufuncComplex64'
creating python loader for extension 'numarray._numerictype'
creating python loader for extension 'numarray._objectarray'
creating python loader for extension 'matplotlib._ns_image'
creating python loader for extension 'numarray._ufuncInt64'
creating python loader for extension 'multiarray'
creating python loader for extension 'zlib'
creating python loader for extension 'matplotlib._nc_cntr'
creating python loader for extension 'matplotlib.backends._ns_backend_agg'
creating python loader for extension 'wx._gdi_'
creating python loader for extension 'numarray._ufuncUInt16'
creating python loader for extension 'numarray._operator'
creating python loader for extension 'numarray._bytes'
creating python loader for extension 'numarray._ufuncInt32'
creating python loader for extension 'numarray._ufuncUInt8'
creating python loader for extension 'matplotlib.enthought.traits.ctraits'
creating python loader for extension 'numarray._conv'
creating python loader for extension 'matplotlib._na_cntr'
creating python loader for extension 'matplotlib._ns_cntr'
creating python loader for extension 'numarray.memory'
creating python loader for extension '_imaging'
creating python loader for extension 'matplotlib.backends._nc_backend_agg'
creating python loader for extension 'numarray._sort'
creating python loader for extension 'numarray._ufunc'
creating python loader for extension 'numarray._ndarray'
creating python loader for extension 'matplotlib.backends._wxagg'
creating python loader for extension 'matplotlib._agg'
creating python loader for extension '_socket'
creating python loader for extension 'matplotlib.backends._ns_backend_gdk'
creating python loader for extension 'matplotlib._windowing'
creating python loader for extension 'win32clipboard'
creating python loader for extension 'matplotlib.backends._na_backend_gdk'
*** finding dlls needed ***
error: wxmsw26uh_vc.dll: No such file or directory
Then what the good deal to succed to make an exe with matplotlib ?
Thx for help
lo
From: Tommy G. <tg...@ma...> - 2006年07月24日 13:12:26
This is the same behavior that I see. The window resizes horisontally 
when
the pointer is inside the window, although the window behaves 
erratically as
it resizes. Moving the pointer to the right will cause the window to 
grow then
reduce size as you go further right. As soon as the pointer leaves 
the window
the resizing stops. And it only happens while the window is in focus.
Tommy
On Jul 22, 2006, at 8:59 PM, Gary Ruben wrote:
> I see weird behaviour like this in Windows too. In my case, the
> horizontal size of the plot window increases as the pointer is moved
> inside a plot region. i.e. the aspect ratio of the window changes
> erratically, I think between two sizes. Sometimes it remains at the
> incorrect shape when the mouse pointer is shifted outside the plot 
> area
> and sometimes it pops back to the correct shape. Is this the behaviour
> you see? I don't know how to avoid it. I noticed that shifting the
> pointer out of the plot area by moving through the bottom of the 
> window
> seems to avoid the possibility of the window remaining with the
> incorrect aspect. I seem to remember seeing this behaviour on an old
> version of matplotlib. I thought it disappeared and has perhaps
> returned. My memory is hazy on this.
>
> Gary R.
>
> Tommy Grav wrote:
>> I am using matplotlib to display a couple of fits-images and then use
>> the mouse to select a source in the image. However, when I click on
>> the window containing the image to get it into focus the window 
>> starts
>> resizing itself based on the movement of the mouse. I am on a mac
>> with OS 10.4 and are using TkAgg. Has anyone seen this before and
>> know how to avoid it from happening?
>>
>> Cheers
>> Tommy
>>
>> --------------------------------------------------------------------- 
>> ----
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to 
>> share your
>> opinions on IT & business topics through brief surveys -- and earn 
>> cash
>> http://www.techsay.com/default.php? 
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to 
> share your
> opinions on IT & business topics through brief surveys -- and earn 
> cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Tommy
tg...@ma...
http://homepage.mac.com/tgrav/
"Any intelligent fool can make things bigger,
more complex, and more violent. It takes a
touch of genious -- and a lot of courage --
to move in the opposite direction"
 -- Albert Einstein
From: Chris F. <fon...@gm...> - 2006年07月24日 12:34:40
On 7/23/06, Charlie Moad <cw...@gm...> wrote:
> The mingw/2.4 build still works. There are instructions at the top of
> the setupext.py file. The dll linking error you are getting is
> something we ran into a lot. If you have numpy installed distutils
> will use the numpy\distutils\mingw32ccompiler.py file. In the
> Mingw32CCompiler class remove all links to "msvcr71". In my version
> of numpy just comment out the whole if block at line 127.
>
I tried commenting out that very block, but then numpy will not build
-- it does not see the mingw32 compiler without those lines, it
appears. I used the --compiler switch on the build, but to no avail.
I'm a bit stuck here, as matplotlib does not build, and the binary
does not seem to work. I'm trying to put together a package that
contains numpy, matplotlib and scipy to distribute to some of my
users.
Thanks,
-- 
Chris Fonnesbeck + Atlanta, GA + http://trichech.us
From: Rodrigues, J. <jor...@sf...> - 2006年07月24日 11:25:00
Thank you very much, you are a lifesaver. I took your advice and found
a working example on the internet
http://www.scipy.org/Cookbook/Matplotlib/Plotting_values_with_masked_arr
ays (saves an image as png when run)
Made some minor modifications and it worked perfectly.
Thank you very much.
Joseph
-----Original Message-----
From: Richard Albright [mailto:ral...@in...]=20
Sent: Sunday, July 23, 2006 12:46 PM
To: Rodrigues, Joseph
Cc: mat...@li...
Subject: Re: [Matplotlib-users] iregular data set
You want to use matplotlib.numerix and use a masked array
On Fri, 2006年07月21日 at 14:24 -0400, Rodrigues, Joseph wrote:
> I have a question (new user here): I have datasets of irregular time
> spaced data and am having a problem with Matplot lib.
>=20
> =20
>=20
> I am plotting two datasets: one is continuous time series data (simple
> line chart) and the other irregular time series data.
>=20
> =20
>=20
> The problem I have is: MatPlotLib is interpolating data for the
> irregular data where there is no data.
>=20
> =20
>=20
> So if I have data from 1985 - 1989 then no data for 1990 - 1994,
> matplotlib is drawing a line connecting the missing data.
>=20
> =20
>=20
> How does one plot irregular spaced time series data?
>=20
> Thanks
>=20
> Joseph
>=20
> =20
>=20
> p.s.: if this is the wrong forum, could you let me know where to post?
>=20
>=20
>
------------------------------------------------------------------------
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
share your
> opinions on IT & business topics through brief surveys -- and earn
cash
>
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
> _______________________________________________ Matplotlib-users
mailing list Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
--=20
Rick Albright
Senior Quantitvative Analyst
Indie Research, LLC
254 Witherspoon Street
Princeton, NJ 08542
(609)497-1030
ral...@in...
From: Charlie M. <cw...@gm...> - 2006年07月23日 19:23:40
The mingw/2.4 build still works. There are instructions at the top of
the setupext.py file. The dll linking error you are getting is
something we ran into a lot. If you have numpy installed distutils
will use the numpy\distutils\mingw32ccompiler.py file. In the
Mingw32CCompiler class remove all links to "msvcr71". In my version
of numpy just comment out the whole if block at line 127.
- Charlie
On 7/23/06, Chris Fonnesbeck <fon...@gm...> wrote:
> On 7/23/06, Charlie Moad <cw...@gm...> wrote:
> > This error used to come up with mingw and python2.4 builds, but now we
> > use Visual Studio for python2.4. I am surprised no one else has
> > reported this error though? I see you used the egg binary? Has
> > anyone else use the python2.4 windows egg with success.
> >
>
> Thanks, Charlie. I tried the egg binary and the exe, both with the
> same result. Does it have something to do with the numpy build that I
> am using? I definitely need to use an open source compiler, so it
> would be great to get this running.
>
> C.
>
> --
> Chris Fonnesbeck + Atlanta, GA + http://trichech.us
>
From: Charlie M. <cw...@gm...> - 2006年07月23日 16:57:38
This error used to come up with mingw and python2.4 builds, but now we
use Visual Studio for python2.4. I am surprised no one else has
reported this error though? I see you used the egg binary? Has
anyone else use the python2.4 windows egg with success.
- Charlie
On 7/22/06, Chris Fonnesbeck <fon...@gm...> wrote:
> I am trying to run Matplotlib 0.87.4 on WinXP after having installed from
> the binaries posted on sourceforge. Unfortunately, when I try importing from
> pylab, I get a popup declaring:
>
> "This application has failed to start because MSVCP71.dll was not found."
>
> I usually work on Mac/Linux, so I have no idea what this means. Here is the
> traceback.
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\pylab.py
> ", line 1, in ?
> from matplotlib.pylab import *
> File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
> ib\pylab.py", line 200, in ?
> from axes import Axes, PolarAxes
> File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
> ib\axes.py", line 14, in ?
> from artist import Artist, setp
> File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
> ib\artist.py", line 4, in ?
> from transforms import identity_transform
> File "c:\python24\lib\site-packages\matplotlib-
> 0.87.4-py2.4-win32.egg\matplotl
> ib\transforms.py", line 215, in ?
> from _transforms import Value, Point, Interval, Bbox, Affine
> File
> "c:\python24\lib\site-packages\matplotlib-0.87.4-py2.4-win32.egg\matplotl
> ib\_transforms.py", line 17, in ?
> from matplotlib._ns_transforms import *
> ImportError: DLL load failed: The specified module could not be found.
>
> I have tried building matplotlib myself using mingw32, but with no success.
> Any help is most appreciated.
> --
> Chris Fonnesbeck + Atlanta, GA + http://trichech.us
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
From: Richard A. <ral...@in...> - 2006年07月23日 16:46:41
You want to use matplotlib.numerix and use a masked array
On Fri, 2006年07月21日 at 14:24 -0400, Rodrigues, Joseph wrote:
> I have a question (new user here): I have datasets of irregular time
> spaced data and am having a problem with Matplot lib.
>=20
> =20
>=20
> I am plotting two datasets: one is continuous time series data (simple
> line chart) and the other irregular time series data.
>=20
> =20
>=20
> The problem I have is: MatPlotLib is interpolating data for the
> irregular data where there is no data.
>=20
> =20
>=20
> So if I have data from 1985 =E2=80=93 1989 then no data for 1990 =E2=80=
=93 1994,
> matplotlib is drawing a line connecting the missing data.
>=20
> =20
>=20
> How does one plot irregular spaced time series data?
>=20
> Thanks
>=20
> Joseph
>=20
> =20
>=20
> p.s.: if this is the wrong forum, could you let me know where to post?
>=20
>=20
> -----------------------------------------------------------------------=
--
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share=
 your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
> _______________________________________________ Matplotlib-users mailin=
g list Mat...@li... https://lists.sourceforge.n=
et/lists/listinfo/matplotlib-users
--=20
Rick Albright
Senior Quantitvative Analyst
Indie Research, LLC
254 Witherspoon Street
Princeton, NJ 08542
(609)497-1030
ral...@in...
From: Gary R. <gr...@bi...> - 2006年07月23日 03:31:35
More information on this bug: on my WinXP laptop, it seems to only 
manifest under some circumstances. When running the script from inside 
SciTE or ipython, it seems more or less repeatable (sometimes it won't 
show on the first run but does from then on), but if the .py file is run 
directly from the windows explorer, it doesn't show up. On my win98 
desktop, however, it shows up regardless.
Gary Ruben wrote:
> Note: I just verified that this was introduced into 0.87.4.
> 0.87.3 doesn't exhibit the problem. See attachment.
> 
> Gary R.
> 
> gr...@bi... wrote:
>> The following minimal script reveals a rendering problem with 
>> displaying a histogram on a log vertical axis.
>> I'm using matplotlib0.87.4 in WinXP with python 2.3.5 Enthon.
>>
>> from pylab import *
>> hist(rand(100), 20, bottom=1)
>> setp(gca(), yscale="log")
>> show()
>>
>>
>> Gary R.
From: Darren D. <dd...@co...> - 2006年07月23日 03:08:46
I also see this behavior in the qtagg and qt4agg backends.
Darren
On Saturday 22 July 2006 8:59 pm, Gary Ruben wrote:
> I see weird behaviour like this in Windows too. In my case, the
> horizontal size of the plot window increases as the pointer is moved
> inside a plot region. i.e. the aspect ratio of the window changes
> erratically, I think between two sizes. Sometimes it remains at the
> incorrect shape when the mouse pointer is shifted outside the plot area
> and sometimes it pops back to the correct shape. Is this the behaviour
> you see? I don't know how to avoid it. I noticed that shifting the
> pointer out of the plot area by moving through the bottom of the window
> seems to avoid the possibility of the window remaining with the
> incorrect aspect. I seem to remember seeing this behaviour on an old
> version of matplotlib. I thought it disappeared and has perhaps
> returned. My memory is hazy on this.
>
> Gary R.
>
> Tommy Grav wrote:
> > I am using matplotlib to display a couple of fits-images and then use
> > the mouse to select a source in the image. However, when I click on
> > the window containing the image to get it into focus the window starts
> > resizing itself based on the movement of the mouse. I am on a mac
> > with OS 10.4 and are using TkAgg. Has anyone seen this before and
> > know how to avoid it from happening?
> >
> > Cheers
> > Tommy
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your opinions on IT & business topics through brief surveys -- and earn
> > cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys -- and earn
> cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
-- 
Darren S. Dale, Ph.D.
dd...@co...
From: Gary R. <gr...@bi...> - 2006年07月23日 00:59:26
I see weird behaviour like this in Windows too. In my case, the 
horizontal size of the plot window increases as the pointer is moved 
inside a plot region. i.e. the aspect ratio of the window changes 
erratically, I think between two sizes. Sometimes it remains at the 
incorrect shape when the mouse pointer is shifted outside the plot area 
and sometimes it pops back to the correct shape. Is this the behaviour 
you see? I don't know how to avoid it. I noticed that shifting the 
pointer out of the plot area by moving through the bottom of the window 
seems to avoid the possibility of the window remaining with the 
incorrect aspect. I seem to remember seeing this behaviour on an old 
version of matplotlib. I thought it disappeared and has perhaps 
returned. My memory is hazy on this.
Gary R.
Tommy Grav wrote:
> I am using matplotlib to display a couple of fits-images and then use
> the mouse to select a source in the image. However, when I click on
> the window containing the image to get it into focus the window starts
> resizing itself based on the movement of the mouse. I am on a mac
> with OS 10.4 and are using TkAgg. Has anyone seen this before and
> know how to avoid it from happening?
> 
> Cheers
> Tommy
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
From: Chris F. <fon...@gm...> - 2006年07月22日 22:52:46
I am trying to run Matplotlib 0.87.4 on WinXP after having installed from
the binaries posted on sourceforge. Unfortunately, when I try importing from
pylab, I get a popup declaring:
"This application has failed to start because MSVCP71.dll was not found."
I usually work on Mac/Linux, so I have no idea what this means. Here is the
traceback.
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "c:\python24\lib\site-packages\matplotlib-
0.87.4-py2.4-win32.egg\pylab.py
", line 1, in ?
 from matplotlib.pylab import *
 File "c:\python24\lib\site-packages\matplotlib-
0.87.4-py2.4-win32.egg\matplotl
ib\pylab.py", line 200, in ?
 from axes import Axes, PolarAxes
 File "c:\python24\lib\site-packages\matplotlib-
0.87.4-py2.4-win32.egg\matplotl
ib\axes.py", line 14, in ?
 from artist import Artist, setp
 File "c:\python24\lib\site-packages\matplotlib-
0.87.4-py2.4-win32.egg\matplotl
ib\artist.py", line 4, in ?
 from transforms import identity_transform
 File "c:\python24\lib\site-packages\matplotlib-
0.87.4-py2.4-win32.egg\matplotl
ib\transforms.py", line 215, in ?
 from _transforms import Value, Point, Interval, Bbox, Affine
 File "c:\python24\lib\site-packages\matplotlib-
0.87.4-py2.4-win32.egg\matplotl
ib\_transforms.py", line 17, in ?
 from matplotlib._ns_transforms import *
ImportError: DLL load failed: The specified module could not be found.
I have tried building matplotlib myself using mingw32, but with no success.
Any help is most appreciated.
-- 
Chris Fonnesbeck + Atlanta, GA + http://trichech.us
From: Tommy G. <tg...@ma...> - 2006年07月22日 16:29:48
I am using matplotlib to display a couple of fits-images and then use
the mouse to select a source in the image. However, when I click on
the window containing the image to get it into focus the window starts
resizing itself based on the movement of the mouse. I am on a mac
with OS 10.4 and are using TkAgg. Has anyone seen this before and
know how to avoid it from happening?
Cheers
 Tommy
From: PGM <pgm...@gm...> - 2006年07月21日 20:25:57
Joseph,
I'm a big fan of masked arrays in numpy. Your problem is typically what masked 
days are for: you can find an example here:
http://www.scipy.org/Cookbook/Matplotlib/Plotting_values_with_masked_arrays
From: Louis P. <pe...@an...> - 2006年07月21日 19:48:41
Rodrigues, Joseph wrote:
> Made a boo boo, the image is not showing so here it is again
>
>
> -----Original Message-----
> From: mat...@li...
> [mailto:mat...@li...] On Behalf Of
> Bill Dandreta
> Sent: Friday, July 21, 2006 3:09 PM
> To: mat...@li...
> Subject: Re: [Matplotlib-users] iregular data set
>
> Rodrigues, Joseph wrote:
> 
>> I have a question (new user here): I have datasets of irregular time
>> spaced data and am having a problem with Matplot lib.
>>
>> I am plotting two datasets: one is continuous time series data (simple
>> line chart) and the other irregular time series data.
>>
>> The problem I have is: MatPlotLib is interpolating data for the
>> irregular data where there is no data.
>>
>> So if I have data from 1985 - 1989 then no data for 1990 - 1994,
>> matplotlib is drawing a line connecting the missing data.
>>
>> How does one plot irregular spaced time series data?
>>
>> 
 From what I see matplotlib is just connecting points. Just because 
your x values have what you think are gaps, matplotlib doesn't know 
that. I assume your two calls to plot use the x and y values for each 
plot. Matplotlib will connect points that are sequential no matter what 
the x values are. There may be ways to assign the y values as NANs for 
those "missing" x values.
-- 
Cheers,
Lou Pecora
Code 6362
Naval Research Lab
Washington, DC 20375
USA
Ph: +202-767-6002
email: pe...@an...
From: Rodrigues, J. <jor...@sf...> - 2006年07月21日 19:40:16
Attachments: image001.gif image002.gif
Made a boo boo, the image is not showing so here it is again
-----Original Message-----
From: mat...@li...
[mailto:mat...@li...] On Behalf Of
Bill Dandreta
Sent: Friday, July 21, 2006 3:09 PM
To: mat...@li...
Subject: Re: [Matplotlib-users] iregular data set
Rodrigues, Joseph wrote:
>
> I have a question (new user here): I have datasets of irregular time
> spaced data and am having a problem with Matplot lib.
>
> I am plotting two datasets: one is continuous time series data (simple
> line chart) and the other irregular time series data.
>
> The problem I have is: MatPlotLib is interpolating data for the
> irregular data where there is no data.
>
> So if I have data from 1985 - 1989 then no data for 1990 - 1994,
> matplotlib is drawing a line connecting the missing data.
>
> How does one plot irregular spaced time series data?
>
The way I do that is index the time data and plot against the index.
1985--0
1986--1
.
.
.
1989--4
1995--5
etc.
Bill
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
_______________________________________________
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Rodrigues, J. <jor...@sf...> - 2006年07月21日 19:38:29
Attachments: Book1.htm
Thanks to all who replied.
I am not sure if I get this or if I am not clear on what I want. So I
am attaching a simple web page of what I want vs. what I get from
matplotlib.
Thanks again,
Joseph
-----Original Message-----
From: mat...@li...
[mailto:mat...@li...] On Behalf Of
Bill Dandreta
Sent: Friday, July 21, 2006 3:09 PM
To: mat...@li...
Subject: Re: [Matplotlib-users] iregular data set
Rodrigues, Joseph wrote:
>
> I have a question (new user here): I have datasets of irregular time
> spaced data and am having a problem with Matplot lib.
>
> I am plotting two datasets: one is continuous time series data (simple
> line chart) and the other irregular time series data.
>
> The problem I have is: MatPlotLib is interpolating data for the
> irregular data where there is no data.
>
> So if I have data from 1985 - 1989 then no data for 1990 - 1994,
> matplotlib is drawing a line connecting the missing data.
>
> How does one plot irregular spaced time series data?
>
The way I do that is index the time data and plot against the index.
1985--0
1986--1
.
.
.
1989--4
1995--5
etc.
Bill
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
_______________________________________________
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Bill D. <wjd...@at...> - 2006年07月21日 19:09:01
Rodrigues, Joseph wrote:
>
> I have a question (new user here): I have datasets of irregular time
> spaced data and am having a problem with Matplot lib.
>
> I am plotting two datasets: one is continuous time series data (simple
> line chart) and the other irregular time series data.
>
> The problem I have is: MatPlotLib is interpolating data for the
> irregular data where there is no data.
>
> So if I have data from 1985 – 1989 then no data for 1990 – 1994,
> matplotlib is drawing a line connecting the missing data.
>
> How does one plot irregular spaced time series data?
>
The way I do that is index the time data and plot against the index.
1985--0
1986--1
.
.
.
1989--4
1995--5
etc.
Bill
From: John H. <jdh...@ac...> - 2006年07月21日 19:06:51
>>>>> "Rodrigues," == Rodrigues, Joseph <jor...@sf...> writes:
 Rodrigues> Yes, I am plotting two lines and am using two plots,
 Rodrigues> the two lines plots just fine in different colors,
 Rodrigues> however, one line is continuous from 1983 - 1995 and
 Rodrigues> the other dataset has irregular data points along the
 Rodrigues> same period of time. So I should see a continuous
 Rodrigues> line for the first data set and I should see a broken
 Rodrigues> line only where there is data for the second.
 Rodrigues> Matplotlib is joining the broken points and forces
 Rodrigues> both datasets to appear as continuous.
matplotlib doesn't make any assumptions about whether data is
continuous or not. It only knows about points and line styles. If
you want a set of points to be connected, use a linestyle like '-'
(solid line) or '--' (dashed line)
 plot(x, y, '-')
if you don't want the points to be connected, use a marker like 'o'
for circles and 's' for squares
 plot(x, y, 's')
You will need to extract the subsets of the data that you want
connected yourself. 
JDH
From: Rodrigues, J. <jor...@sf...> - 2006年07月21日 19:03:10
Yes,
I am plotting two lines and am using two plots, the two lines plots just
fine in different colors, however, one line is continuous from 1983 -
1995 and the other dataset has irregular data points along the same
period of time. So I should see a continuous line for the first data
set and I should see a broken line only where there is data for the
second. Matplotlib is joining the broken points and forces both
datasets to appear as continuous.
=20
What do you think is the solution?
Thanks
Joseph
=20
 _____ =20
From: Michael Schwager [mailto:hw...@cy...]=20
Sent: Friday, July 21, 2006 2:33 PM
To: Rodrigues, Joseph; mat...@li...
Subject: RE: [Matplotlib-users] iregular data set
=20
Hi, I'm also new to matplotlib, but this sounds like a general type of
problem you might in find in matlab too. I think you are trying to plot
two separate lines, one for the first set of time and one for the second
set of time. If you don't want them connected then you must issue two
plot() commands, which means you have to split the data into the
sections that you want connected.
=20
Michael
=20
 _____ =20
From: mat...@li...
[mailto:mat...@li...] On Behalf Of
Rodrigues, Joseph
Sent: Friday, July 21, 2006 11:25 AM
To: mat...@li...
Subject: [Matplotlib-users] iregular data set
=20
I have a question (new user here): I have datasets of irregular time
spaced data and am having a problem with Matplot lib.
=20
I am plotting two datasets: one is continuous time series data (simple
line chart) and the other irregular time series data.
=20
The problem I have is: MatPlotLib is interpolating data for the
irregular data where there is no data.
=20
So if I have data from 1985 - 1989 then no data for 1990 - 1994,
matplotlib is drawing a line connecting the missing data.
=20
How does one plot irregular spaced time series data?
Thanks
Joseph
=20
p.s.: if this is the wrong forum, could you let me know where to post?
3 messages has been excluded from this view by a project administrator.

Showing results of 313

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