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

Showing 7 results of 7

From: <jas...@cr...> - 2009年01月23日 20:09:15
Hello all,
I am at a Sage days workshop and one of my goals is to update matplotlib 
in Sage. We want to pull from SVN since there are some (very *nice*) 
arrow-drawing features only in SVN. Is there any recent commit points 
that we want to avoid because of stability? If not, we'll probably 
update to the most recent svn version, which I'm pulling right now.
Thanks,
Jason
From: Michael H. <mh...@us...> - 2009年01月23日 20:06:29
I have discovered, from the mailing list, the easy way to draw a circle 
in linear space:
cx = 700
cy = 700
r = 1000
xmin = cx - r
xmax = cx + r
ymin = cy - r
ymax = cy + r
cir = Circle( (cx,cx), radius=r,facecolor='w',edgecolor='b')
a = gca()
a.add_patch(cir)
axis([xmin,xmax,ymin,ymax])
axis('equal')
However, when trying to overplot a circle on an existing log/log plot, I 
get a circle section:
e = 
[70,1,1,12,7,185,6,3,0,1015,6,222,500,0,661,105,0,8706,0,23,131,0,0,0,6,22,1,4,0]
o = 
[180,2,0,15,13,3,0,0,0,20,6,2000,9748,0,38,100,0,20023,0,2,0,0,0,0,1,0,0,0,1]
f1 = figure()
loglog(o,e,'b.')
hold('on')
cx = 700
cy = 700
r = 1000
xmin = cx - r
xmax = cx + r
ymin = cy - r
ymax = cy + r
cir = Circle( (cx,cx), radius=r,facecolor='w',edgecolor='b')
a = gca()
a.add_patch(cir)
axis([xmin,xmax,ymin,ymax])
axis('equal')
How can I plot a circle in log space?
As an additional aside, I've discovered that even if I define the points 
that make up a circle (in linear space), I cannot plot a smooth line 
through them using the plot() function:
def pol2cart(th,r):
 x = r*cos(th)
 y = r*sin(th)
 return (x,y)
 
def drawCircle(cx,cy,radius,np,style):
 theta = linspace(0,2*pi,np)
 rho = ones((1,np))*radius
 x,y = pol2cart(theta,rho)
 x = x + cx
 y = y + cy
 plot(x,y,style)
cx = 700
cy = 700
r = 1000
drawCircle(cx,cy,r,1000,'b')
When I look at the resulting plot, I see empty axes. If I change the 
plot style to 'b.', then I see the circle. Is this a bug or an 
undocumented feature?
Thanks,
Mike Hearne
From: mzs <ms...@Th...> - 2009年01月23日 19:10:43
Thank you. I finally upgraded my Ubuntu system, pretty easy, and now pylab
is available. Thank you to everyone on this thread for your input.
BTW, matplotlib is very nicely done, useful, and appreciated.
Marc
Sandro Tosi-4 wrote:
> 
> On Wed, Jan 21, 2009 at 15:01, mzs <ms...@th...> wrote:
>>
>> Thank you for the information. I figured out that using pylab works. I
>> would rather use a current version. I tried to find the version you
>> mentioned in a deb package for Ubuntu but it doesn't seem to exist. Do
>> you
>> know why or where can I get it?
> 
> Probably there are none for the version of Ubuntu you're using but
> there are newer packages in Ubuntu[1].
> 
> I'm not a Ubuntu guru, but you seem to be rather old in version, I
> suggest, given the short release period, to keep your system
> up-to-date to the current version (not 8.10 I think) and there there
> are newer binary packages too[2].
> 
> [1] https://launchpad.net/ubuntu/+source/matplotlib
> [2] http://packages.ubuntu.com/search?keywords=python-matplotlib
> 
> Regards,
> -- 
> Sandro Tosi (aka morph, morpheus, matrixhasu)
> My website: http://matrixhasu.altervista.org/
> Me at Debian: http://wiki.debian.org/SandroTosi
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
-- 
View this message in context: http://www.nabble.com/ImportError%3A-No-module-named-pyplot-tp21576482p21630876.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Ryan M. <rm...@gm...> - 2009年01月23日 16:41:48
kei...@bt... wrote:
> At _http://matplotlib.sourceforge.net/_, the "Show Source" link doesn't
> work.
This is because, unlike the other pages, there is no ReST source that is used to
generate the main page. John/Mike, any ideas what to do?
> At _http://matplotlib.sourceforge.net/_, the table of functions links
> "show" to
> _http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.show_,
> but there is no such function mentioned there.
This is because there is no docstring for show() in pyplot.py, because it gets
pulled in from the backend. Any idea how to fix this? Show() really needs to be
in this list, seeing as it's the most important line in any script.
I'll also add that pyplot.plotting() shows up on the pyplot.api page completely
busted. Seeing as this is a dummy function whose sole purpose is to hold a
docstring listing plotting functions, is there something better we could do here?
 Could we put the information in the plotting docstring as a pyplot module level
docstring and do away with plotting() all together?
> At _http://matplotlib.sourceforge.net/users/shell.html_, there are two
> typos: "opertation" and "on every plot commands".
> 
> At _http://matplotlib.sourceforge.net/users/shell.html_, the link
> :_file:matplotlibrc_ does not work (unless the user has a /matplotlibrc
> file).
Fix these two. Thanks for the reports!
Ryan
-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
From: <kei...@bt...> - 2009年01月23日 15:20:20
At http://matplotlib.sourceforge.net/, the "Show Source" link doesn't
work.
At http://matplotlib.sourceforge.net/, the table of functions links
"show" to
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.
show, but there is no such function mentioned there.
At http://matplotlib.sourceforge.net/users/shell.html, there are two
typos: "opertation" and "on every plot commands".
At http://matplotlib.sourceforge.net/users/shell.html, the link
:file:matplotlibrc does not work (unless the user has a /matplotlibrc
file).
Keith
From: Simone G. <sim...@gm...> - 2009年01月23日 14:48:13
that's nice!!! thank you...
anyway, I wanted to take advantage of the Traits implementation of my app...
simone
2009年1月23日 eliben <el...@gm...>:
>
>
>
> Simone Gabbriellini-3 wrote:
>>
>> Dear List,
>>
>> I have some variables I want to plot... the values of those variable
>> change in time... I would like to plot the result with a traditional
>> line plot
>>
>> those variables are traits of a class (don't know if this can make a
>> difference...)
>>
>> is there any example of this with matplotlib?
>>
>
> Hi Simone,
>
> I think you will find the following examples useful:
> http://eli.thegreenplace.net/2008/08/01/matplotlib-with-wxpython-guis/
>
> Both feature "dynamic" plotting of variables that change (either by the user
> or in time)
>
> Eli
>
>
> --
> View this message in context: http://www.nabble.com/plot-a-data-stream-with-matplotlib-tp21530559p21622559.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: eliben <el...@gm...> - 2009年01月23日 11:08:47
Simone Gabbriellini-3 wrote:
> 
> Dear List,
> 
> I have some variables I want to plot... the values of those variable
> change in time... I would like to plot the result with a traditional
> line plot
> 
> those variables are traits of a class (don't know if this can make a
> difference...)
> 
> is there any example of this with matplotlib?
> 
Hi Simone,
I think you will find the following examples useful:
http://eli.thegreenplace.net/2008/08/01/matplotlib-with-wxpython-guis/
Both feature "dynamic" plotting of variables that change (either by the user
or in time)
Eli
-- 
View this message in context: http://www.nabble.com/plot-a-data-stream-with-matplotlib-tp21530559p21622559.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Showing 7 results of 7

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