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





Showing 12 results of 12

>Can you set "verbose.level" to "debug-annoying" in your matplotlibrc and=
=20
>send us the output? That may help provide an explanation as to why the=20
>text is not appearing. Also, for good measure, can you provide your=20
>matplotlibrc file, and information about the platform and versions of=20
>Python that you are using? =20
See the attachments. Their platform is RedHat Linux and python 2.4.3
>Do you get different results when you run at=20
>the commandline vs. from an http request? It could be that incorrect=20
>permissions (as user "apache", for instance) are causing the problems.
>
>Cheers,
>Mike
I'd like to run it from the command line, but I haven't done it before
(and not sure how to do it); the web hosting server is in a land far
far away. :-) I am just running the script from a http request. I
can probably have them run it if need to.
Thanks,
>
>Tim Lewis wrote:
>> I'm using the code from=20
>> =
http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script=
=20
>> to generate plots from my web server. The plot shows up fine (w/o =
text)=20
>> but when I use xlabel("x-axis"), ylabel("y-axis"), or title("A =
Chart");=20
>> no text shows up on the plot. Everything seems fine with the install=20
>> and I don't get any errors when I run the script. It seems that that=20
>> matplotlib is unable to find the font's and just simply ignores them =
--=20
>> I really dunno.
>>=20
>> Any suggestions?
>>=20
>>=20
>> =
------------------------------------------------------------------------
>>=20
>> =
-------------------------------------------------------------------------
>> SF.Net email is sponsored by:=20
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>>=20
>>=20
>> =
------------------------------------------------------------------------
>>=20
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: adamski246 <a...@go...> - 2007年12月07日 16:38:10
I am part of a team trying to create interactive GUI scientific
visualisations and would like some advice regarding the best way to proceed. 
We are trying to output mathematical functions (Fourier transforms, ray
tracing etc.) in graphical form and have been very impressed with the ease
Matplotlib can do this. However, all attempts to control or modify input to
Matplotlib from a GUI (Tkinter, Wx, Jython, PyGTK etc.) have proved
fruitless due to seeming incompatibility between these modules, particularly
when one distributes any finished product to another platform.
I am an experienced Java programmer who needs the portability and free
technologies provided by Java (or Python) to distribute our applications and
would like to know of the best way to mesh Matplotlib to a GUI creating
system. We have experimented with the GUI creation possibilities of
Matplotlib itself but these are inadequate for our needs.
Does anyone know of (or has examples of) Matplotlib applications controlled
by a GUI or must I return to my Java roots where I can easily solve all GUI
problems but do not have access to a powerful maths library such as
Matplotlib.
Thanks
adam 
-- 
View this message in context: http://www.nabble.com/Scientific-visualisation-techniques-tf4963066.html#a14215824
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Darren D. <dar...@co...> - 2007年12月07日 14:57:47
This list is for matplotlib, please try asking at the scipy mailing list.
On Thursday 06 December 2007 10:20:30 am Samuel GARCIA wrote:
> Hi all,
>
> I found something strange in scipy.stats.percentileofscore
>
> In [1]: from scipy import *
>
> In [2]: a = rand(10000)
>
> In [3]: stats.percentileofscore(a,.2)
> Out[3]: 20.0157565073
> This OK.
>
>
> In [4]: stats.percentileofscore(a,.0002)
> Out[4]: 102.898311442
> This is strange !!!!!
>
> In [5]: stats.percentileofscore(a,1.4)
> ---------------------------------------------------------------------------
> <type 'exceptions.IndexError'> Traceback (most recent call last)
>
> /home/sgarcia/<ipython console> in <module>()
>
> /usr/lib/python2.5/site-packages/scipy/stats/stats.py in
> percentileofscore(a, score, histbins, defaultlimits)
> 942 cumhist = np.cumsum(h*1, axis=0)
> 943 i = int((score - lrl)/float(binsize))
> --> 944 pct =
> (cumhist[i-1]+((score-(lrl+binsize*i))/float(binsize))*h[i])/float(len(a))
> * 100
> 945 return pct
> 946
>
> <type 'exceptions.IndexError'>: index out of bounds
>
> This does work...
>
>
> Any idea.
>
> Sam
-- 
Darren S. Dale, Ph.D.
Staff Scientist
Cornell High Energy Synchrotron Source
Cornell University
275 Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dar...@co...
office: (607) 255-3819
fax: (607) 255-9001
http://www.chess.cornell.edu
From: Adam M. <ram...@gm...> - 2007年12月07日 14:57:05
On Dec 7, 2007 9:09 AM, Michael Droettboom <md...@st...> wrote:
> You could try setting your backend to simply "Agg" to rule out some Tk
> usage/installation problem as the culprit.
Thanks, the problem goes away if I use the Agg backend.
Cheers
Adam
From: Michael D. <md...@st...> - 2007年12月07日 14:09:21
Unfortunately, I'm not able to reproduce this bug on RHEL 4. Valgrind 
(a memory checking tool) doesn't come up with any clues.
You could try setting your backend to simply "Agg" to rule out some Tk 
usage/installation problem as the culprit.
Other than that, I'm stumped, but maybe one of the Leopard users on this 
list has more insight.
Cheers,
Mike
Adam Mercer wrote:
> On Dec 7, 2007 8:21 AM, Michael Droettboom <md...@st...> wrote:
> 
>> Can you also please attach your data -- or point to some acceptable data
>> online? What platform and backend are you using?
> 
> I've attached an example data file. I'm using the TKAgg backend on
> Mac OS X Leopard.
> 
> Cheers
> 
> Adam
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Adam M. <ram...@gm...> - 2007年12月07日 13:53:29
Attachments: data.dat
On Dec 7, 2007 8:21 AM, Michael Droettboom <md...@st...> wrote:
> Can you also please attach your data -- or point to some acceptable data
> online? What platform and backend are you using?
I've attached an example data file. I'm using the TKAgg backend on
Mac OS X Leopard.
Cheers
Adam
From: Michael D. <md...@st...> - 2007年12月07日 13:30:05
Can you set "verbose.level" to "debug-annoying" in your matplotlibrc and 
send us the output? That may help provide an explanation as to why the 
text is not appearing. Also, for good measure, can you provide your 
matplotlibrc file, and information about the platform and versions of 
Python that you are using? Do you get different results when you run at 
the commandline vs. from an http request? It could be that incorrect 
permissions (as user "apache", for instance) are causing the problems.
Cheers,
Mike
Tim Lewis wrote:
> I'm using the code from 
> http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script 
> to generate plots from my web server. The plot shows up fine (w/o text) 
> but when I use xlabel("x-axis"), ylabel("y-axis"), or title("A Chart"); 
> no text shows up on the plot. Everything seems fine with the install 
> and I don't get any errors when I run the script. It seems that that 
> matplotlib is unable to find the font's and just simply ignores them -- 
> I really dunno.
> 
> Any suggestions?
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: 
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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...> - 2007年12月07日 13:21:25
Can you also please attach your data -- or point to some acceptable data 
online? What platform and backend are you using?
Cheers,
Mike
Adam Mercer wrote:
> Hi
> 
> Since updating to 0.91.1 one of my scripts, attached, has stopped
> working. I get the following error when trying to run it
> 
> $ ./plot.py data.dat plot.png
> alloc: invalid block: 0x1c15fa4: 40 1 0
> 
> Abort trap
> $
> 
> Any ideas what could be causing this?
> 
> Cheers
> 
> Adam
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: 
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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: Darren D. <dar...@co...> - 2007年12月07日 12:25:04
On Friday 07 December 2007 7:19:04 am Jos=E9 G=F3mez-Dans wrote:
> Hi,
>
> On Thursday 06 December 2007 19:39:59 Venkat Ramanan wrote:
> > I'm looking for something analogous to Matlab's ginput() and roipoly().
>
> I'm no expert on this, but have a look at the lasso_demo.py example, which
> shows something akin to roipoly(), and pick_event_demo.py and
> pick_even_demo2.py, which show something like ginput() (although I think =
no
> cross hairs :D).
Check out cursor_demo.py and matplotlib.widgets.Cursor for cross hairs.
From: <jgo...@gm...> - 2007年12月07日 12:19:11
Hi,
On Thursday 06 December 2007 19:39:59 Venkat Ramanan wrote:
> I'm looking for something analogous to Matlab's ginput() and roipoly().
I'm no expert on this, but have a look at the lasso_demo.py example, which 
shows something akin to roipoly(), and pick_event_demo.py and 
pick_even_demo2.py, which show something like ginput() (although I think no 
cross hairs :D).
I hope that's useful to you,
Jose 
From: Vincent S. <sc...@sa...> - 2007年12月07日 09:18:53
Michael Droettboom wrote:
> Thanks, that helps a lot.
> 
> It seems to be working now -- I've committed this in r4643.
> 
> Cheers,
> Mike
Mike, thanks a lot for the rapid action! Bugs squashed.
Cheers,
Vincent.
From: Tim L. <ti...@gm...> - 2007年12月07日 00:00:30
I'm using the code from
http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script to
generate plots from my web server. The plot shows up fine (w/o text) but
when I use xlabel("x-axis"), ylabel("y-axis"), or title("A Chart"); no text
shows up on the plot. Everything seems fine with the install and I don't
get any errors when I run the script. It seems that that matplotlib is
unable to find the font's and just simply ignores them -- I really dunno.
Any suggestions?

Showing 12 results of 12

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