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




Showing 9 results of 9

From: Eric F. <ef...@ha...> - 2007年07月26日 23:40:15
3D plotting in mpl should be considered, at best, to be experimental and 
unsupported. Some interesting and fairly extensive capabilities were 
added but have not been consistently maintained. Mpl is at heart 2D.
Eric
Lorenzo Isella wrote:
> Dear All,
> I would like to try out matplotlib for some basic 3D plotting.
> First of all, is matplotlib suitable for that? I am asking since I read 
> on the website that matplotlib's selling point is 2D plotting.
> What I would like to plot should be relatively easy: say that I have a 
> distribution (e.g. think of a Gaussian) whose features evolve as time 
> goes on.
> I aim at a 3D plot where time is the z coordinate, x is the independent 
> variable of my distribution at t fixed and y=f(x) is my Gaussian 
> distribution.
> The data I would like to plot are in the following form:
> 
> f(t_1,x_1),f(t_1,x_2)...f(t_1,x_n)
> f(t_2,x_1),f(t_2,x_2)...f(t_2,x_n)
> .
> .
> .
> f(t_m,x_1),f(t_m,x_2)...f(t_m,x_n)
> 
> and I know both the time sequence {t_1,t_2...t_m} and the x sequence 
> {x_1,x_2,x_n}.
> I got something roughly similar to what I had in mind using R, but I do 
> not think it is the right tool for that.
> Should I resort to Gnuplot by necessity or is Matplotlib up to the task?
> Judging from what I see on:
> http://www.scipy.org/Cookbook/Matplotlib/mplot3D
> that would seem the case.
> I have been trying to modify the last example with some artificially 
> generated data, but so far unsuccessfully.
> Any suggestions? I suppose I am not the first one to come across this!
> Many thanks
> 
> Lorenzo
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Lorenzo I. <lor...@gm...> - 2007年07月26日 23:24:21
Dear All,
I would like to try out matplotlib for some basic 3D plotting.
First of all, is matplotlib suitable for that? I am asking since I read 
on the website that matplotlib's selling point is 2D plotting.
What I would like to plot should be relatively easy: say that I have a 
distribution (e.g. think of a Gaussian) whose features evolve as time 
goes on.
I aim at a 3D plot where time is the z coordinate, x is the independent 
variable of my distribution at t fixed and y=f(x) is my Gaussian 
distribution.
The data I would like to plot are in the following form:
f(t_1,x_1),f(t_1,x_2)...f(t_1,x_n)
f(t_2,x_1),f(t_2,x_2)...f(t_2,x_n)
.
.
.
f(t_m,x_1),f(t_m,x_2)...f(t_m,x_n)
and I know both the time sequence {t_1,t_2...t_m} and the x sequence 
{x_1,x_2,x_n}.
I got something roughly similar to what I had in mind using R, but I do 
not think it is the right tool for that.
Should I resort to Gnuplot by necessity or is Matplotlib up to the task?
Judging from what I see on:
http://www.scipy.org/Cookbook/Matplotlib/mplot3D
that would seem the case.
I have been trying to modify the last example with some artificially 
generated data, but so far unsuccessfully.
Any suggestions? I suppose I am not the first one to come across this!
Many thanks
Lorenzo
From: <jk...@ik...> - 2007年07月26日 21:28:15
John T Whelan <joh...@li...> writes:
> Shouldn't
> r"some label text ($\mu V$)"
> work?
It doesn't work in any released version, but it seems that Michael
Droettboom's recent mathtext improvements include this (and much more).
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: <jk...@ik...> - 2007年07月26日 20:55:07
"Jonathan Makem" <jma...@qu...>
writes:
> However, if I try:
> savefig('name.pdf')
> The program crashes. Is there anyway of solving this problem?
You'll need to provide more information than "the program crashes", but
if you're seeing the cp1252 bug, you'll need to use the bleeding-edge
svn version or apply the patch at
http://thread.gmane.org/gmane.comp.python.matplotlib.general/9792/focus=9796
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: <jk...@ik...> - 2007年07月26日 20:50:34
Brian Blais <bb...@br...> writes:
> and it works with pylab. But, if I use matplotlib.Figure directly in
> an app, and then call:
> myfig.savefig('blah.pdf') it saves it as 'blah.pdf.jpg', a jpeg file.
Sounds like you are using a backend other than the pdf one. Can you
write up a complete example of code that behaves like you describe?
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Berit H. <be...@to...> - 2007年07月26日 15:07:06
<html><body>
<p>Hi,<br>
<br>
I am installing matplotlib on a RedHat x86_64 machine, running Python 2=
.3.4. I could not find any binary for it on sourceforge and thus I have=
 to compile it. Has somebody tried this and are there some pitfalls? <b=
r>
Also, what does the setup utility peak do? Has anybody gotten it to wor=
k with 64bit under Python 2.3.4 (I'd like to avoid upgrading if possibl=
e).<br>
<br>
Any pointers are appreciated. Thanks a lot!<br>
<br>
Best regards,<br>
Berit<br>
<br>
<br>
-----------------------------------------------------------------------=
-----------<br>
This e-mail message (including attachments, if any) is confidential and=
 may be privileged. It is intended only for the addressee. Any unauthor=
ised distribution or disclosure is prohibited. Disclosure to anyone oth=
er than the intended recipient does not constitute waiver of privilege.=
<br>
If you have received this e-mail in error, please notify the sender by =
e-mail and delete it and any attachments from your computer system and =
records.<br>
HALDOR TOPS=D8E A/S (www.haldortopsoe.com)<br>
-----------------------------------------------------------------------=
-----------</body></html>=
From: Jonathan M. <jma...@qu...> - 2007年07月26日 14:58:20
Hi,
 I'm havind difficulty plotting saving pylab images in pdf format. At =
the moment, they are saved as .png files by default using:=20
savefig('name',dpi=3D300)
However, if I try:
savefig('name.pdf')
The program crashes. Is there anyway of solving this problem?
Regards,
Jony
From: J M. <j....@nt...> - 2007年07月26日 14:20:31
Hi,
 I'm havind difficulty plotting saving pylab images in pdf format. At =
the moment, they are saved as .png files by default using:=20
savefig('name',dpi=3D300)
However, if I try:
savefig('name.pdf')
The program crashes. Is there anyway of solving this problem?
Regards,
Jony
From: Brian B. <bb...@br...> - 2007年07月26日 13:30:31
Hello
I am having trouble saving a figure to pdf on Mac OS X (matplotlib 
version 0.90.1). I applied the patch for pylab, here:
http://www.mail-archive.com/mat...@li.../ 
msg00940.html
and it works with pylab. But, if I use matplotlib.Figure directly in 
an app, and then call:
myfig.savefig('blah.pdf') it saves it as 'blah.pdf.jpg', a jpeg file.
any ideas? I can try to throw together some example, in case someone 
needs to repeat it.
		thanks,
			Brian Blais
-- 
Brian Blais
bb...@br...
http://web.bryant.edu/~bblais

Showing 9 results of 9

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