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



Showing results of 165

<< < 1 .. 3 4 5 6 7 > >> (Page 5 of 7)
From: Jouni K S. <jk...@ik...> - 2006年05月17日 14:09:43
Eric Emsellem <ems...@ob...> writes:
> sorry to interfere here, but it seems that I cannot see any post on
> the forum after the 05/05/2006, including the ones that I am sending. 
FWIW, I saw your post just fine on Gmane
http://news.gmane.org/gmane.comp.python.matplotlib.general
so probably this is a problem with the Sourceforge forum thing.
-- 
Jouni
From: Eric E. <ems...@ob...> - 2006年05月17日 13:55:08
Hi
sorry to interfere here, but it seems that I cannot see any post on the 
forum after the 05/05/2006, including the ones that I am sending. Going 
to the forum on the web page I don't see them.
( http://sourceforge.net/mailarchive/forum.php?forum=matplotlib-users)
I only received a single digest on 16/05 in the last 2 weeks, but even 
these posts are not on the web. So it seems I am "disconnected" from the 
forum. Is there anything wrong with forum? or with my subscription?
Thanks for any help here and sorry for the inconvenience.
Eric
From: Albert S. <as...@di...> - 2006年05月17日 12:42:32
Matlab 's contour function returns the contour data as x- and y- =
coordinates in a contour matrix C:
[C,H] =3D CONTOUR(...)
pylab.contour(...) returns a ContourSet object that only seems to =
contain contour heights. How do I get the actual contour data? I need =
the (x,y) coordinates as given by matlab. In fact even the binary =
contour image that is displayed by contour() will be usefull.
albert
From: Eric E. <ems...@ob...> - 2006年05月17日 07:47:38
Hi,
I would like to be able to make a scatter plot using a new symbol which 
I would draw using whatever drawing software (so a sketched star, or a 
saturn like symbol...) and export in some proper format to be used by 
matplotlib.
Is there a way to do this?
thanks for any help here!
Cheers
Eric
From: John H. <jdh...@ac...> - 2006年05月16日 20:07:01
>>>>> "Christopher" == Christopher Barker <Chr...@no...> writes:
 Christopher> That I don't know. The Agg renderer certainly can do
 Christopher> a nice job with gradients, but I don't know if MPL
 Christopher> support that.
You can emulate gradients using matplotlib images -- either with colormaps or
defining your own rgba endpoints for the gradients. Here's an example
of an axes background gradient
 from pylab import figure, show, nx, cm
 fig = figure()
 xmin, xmax = xlim = 0,2
 ymin, ymax = ylim = -1,1
 ax = fig.add_subplot(111, xlim=xlim, ylim=ylim,
 autoscale_on=False)
 X = [[.6, .6],[.7,.7]]
 ax.imshow(X, interpolation='bicubic', cmap=cm.Blues,
 extent=(xmin, xmax, ymin, ymax), alpha=1)
 t = nx.arange(xmin, xmax,0.01)
 ax.plot(t, nx.sin(2*nx.pi*t), lw=2, color='black')
 show()
Likewise, you can make your own gradient bars charts:
 from pylab import figure, show, nx, cm
 def gbar(ax, x, y, width=0.5, bottom=0):
 X = [[.6, .6],[.7,.7]]
 for left,top in zip(x, y):
 right = left+width
 ax.imshow(X, interpolation='bicubic', cmap=cm.Blues,
 extent=(left, right, bottom, top), alpha=1)
 fig = figure()
 xmin, xmax = xlim = 0,10
 ymin, ymax = ylim = 0,1
 ax = fig.add_subplot(111, xlim=xlim, ylim=ylim,
 autoscale_on=False)
 X = [[.6, .6],[.7,.7]]
 ax.imshow(X, interpolation='bicubic', cmap=cm.copper,
 extent=(xmin, xmax, ymin, ymax), alpha=1)
 N = 10
 x = nx.arange(N)+0.25
 y = nx.mlab.rand(N)
 gbar(ax, x, y, width=0.7)
 ax.set_aspect('normal')
 show()
Viewer discretion is advised.
If you want to get clever, you can define patterns and fills this way
too. We should add an interface to expose this functionality more
readily...
JDH
From: Christopher B. <Chr...@no...> - 2006年05月16日 16:58:54
Bryan wrote:
> Hi all, I am working on a UI design, and I just found out about 
> matplotlib. I would like to learn if some of the following graphs are 
> possible using matplotlib with wxPython
If you want to use MPL with wxPython like that, be sure to check out wxmpl.
> http://www.geocities.com/belred1/image1.jpg
> 
> Does anyone know if matplotlib has rich charting functionality with 
> gradients and shading that could provide the same experience as the 
> performance charts on the right.
I don't think it has the nifty shading. Other than that, it can do it all.
> How difficult would this be to implement?
That I don't know. The Agg renderer certainly can do a nice job with 
gradients, but I don't know if MPL support that.
-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: Charlie M. <cw...@gm...> - 2006年05月16日 16:01:15
http://www.scipy.org/Cookbook/Matplotlib/Animations
You can get pretty good framerates using the blitting technique
described in the link above.
On 5/14/06, Allan Noriel Estrella <all...@gm...> wrote:
> Can I implement realtime plotting in matplotlib? The data will be coming
> from the serial port. The plotting will be similar to an oscilloscope. Ca=
n
> you suggest matplotlib modules I can use for this particular application.
> Thanks
>
From: John H. <jdh...@ac...> - 2006年05月16日 15:25:32
>>>>> "clovis" == clovis <cl...@pe...> writes:
 clovis> All, I followed up the 'memory leak' discussion in the
 clovis> sourceforge list and I know the Matplotlib-FAQ entry about
 clovis> this subject. I've also seen John Hunter's post about the
 clovis> need of matching figure/close pairs. Anyway, I still feel
 clovis> that there are problems in this subject, which can be
 clovis> exposed by the following script (for Windows, but can
 clovis> easily be adapted to Unix).
 clovis> As can be seen by the results (also given below), there is
 clovis> a steady increase in memory usage which is not recovered!
If I recall correctly, there is a known leak in tkagg when you create
multiple canvases, and this is in Tk and not matplotlib proper. Todd
may have something to add here. 
JDH
From: David T. <dav...@gm...> - 2006年05月16日 09:45:39
Hi happy matplolib users,
 Very, very nice feature, this zooming functionality is perfect.
Thanks again to the matplotlib team for the great work.
I simply have one question:
 How can I use this zooming key in my app. which is embedding matplotlib
in GTK ?
David
2006年5月16日, sophana <so...@zi...>:
>
> I made a patch on the sourceforge site that does what you need.
> you can select which layer(s) you interact with (move/pan)
>
> Daniel McQuillen wrote:
>
>
> Hi everybody. Question about multiple Y axes...
>
>
> I've seen a few posts regarding using the trick of laying one axes over
> top of the other to simulate a second Y axis -- as demonstrated in the
> matplotlib example file two_scales.py.
>
> However, in the application I'm building, the user should be able to
> select points ("outliers") for either axis. With the current approach, th=
e
> user can't select the bottom graph's points (or pan or zoom it).
>
>
> Is there a way to bring the bottom graph into "focus"?
>
> Thanks in advance for any tips.
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Daniel McQuillen
> Oakland, CA
>
>
>
From: sophana <so...@zi...> - 2006年05月16日 08:34:51
I made a patch on the sourceforge site that does what you need.
you can select which layer(s) you interact with (move/pan)
Daniel McQuillen wrote:
>
> Hi everybody. Question about multiple Y axes...
>
> I've seen a few posts regarding using the trick of laying one axes 
> over top of the other to simulate a second Y axis -- as demonstrated 
> in the matplotlib example file two_scales.py.
>
> However, in the application I'm building, the user should be able to 
> select points ("outliers") for either axis. With the current approach, 
> the user can't select the bottom graph's points (or pan or zoom it).
>
> Is there a way to bring the bottom graph into "focus"?
>
> Thanks in advance for any tips.
>
>
> =====================================
> Daniel McQuillen
> Oakland, CA
>
From: <jo...@3t...> - 2006年05月15日 17:51:15
Hello Clovis.
(Also, hello list; I <heart> matplotlib, thank you developers!)
On Sun, May 14, 2006 at 09:04:27AM -0300, cl...@pe... wrote:
> I followed up the 'memory leak' discussion in the sourceforge list
> and I know the Matplotlib-FAQ entry about this subject. I've also
> seen John Hunter's post about the need of matching figure/close pairs.
> Anyway, I still feel that there are problems in this subject, which
> can be exposed by the following script (for Windows, but can easily
> be adapted to Unix).
> As can be seen by the results (also given below), there is a steady
> increase in memory usage which is not recovered!
> Any clues????
Could some of your difficulties could be related to Python's ill memory
management? It keeps a death grip on certain types of allocated memory, 
never freeing it to the OS. Evan Jones made a patch which 
helped that problem a bit. His patch has been incorporated into 
Python 2.5:
http://evanjones.ca/python-memory.html
Joseph Sheedy
Technical Specialist, 3TIER Environmental Forecast Group
jo...@3t... | (206)325-1573 x116
From: christophe <ar...@gm...> - 2006年05月15日 09:17:39
hello,
I try to have my hist bars inside grids, some bars creep into others..
I create my hist thus:
 bins = nx.arange(1-(0.9/2),max(values))
 n, bins, patches = hist(values, width=0.9)
example:
http://ark42.free.fr/graph.png
and I have display problems for axis names, I use : 
xticks(arange(len(names)), names)
if any idea.. thanks :)
From: Allan N. E. <all...@gm...> - 2006年05月14日 13:20:13
Can I implement realtime plotting in matplotlib? The data will be coming
from the serial port. The plotting will be similar to an oscilloscope. Can
you suggest matplotlib modules I can use for this particular application.
Thanks
From: <cl...@pe...> - 2006年05月14日 11:59:41
All,
I followed up the 'memory leak' discussion in the sourceforge list
and I know the Matplotlib-FAQ entry about this subject. I've also
seen John Hunter's post about the need of matching figure/close pairs.
Anyway, I still feel that there are problems in this subject, which
can be exposed by the following script (for Windows, but can easily
be adapted to Unix).
As can be seen by the results (also given below), there is a steady
increase in memory usage which is not recovered!
Any clues????
Clovis
######################################################################
#Begin of script
######################################################################
import pylab
import os
import time
N =3D 10 # number of loops to execute
SAVEFIG =3D True # SAVEFIG execution flag
SHOWFIG =3D True # SHOWFIG execution flag
pylab.matplotlib.use('TkAgg')
#pylab.matplotlib.use('Agg')
#pylab.matplotlib.use('PS')
fid =3D file('memory_report.txt','wt')
fid.write('%s\n' % time.asctime())
fid.write('OS version =3D %s\n' % os.sys.version)
fid.write('Matplotlib version =3D %s\n' % pylab.matplotlib.__version__)
fid.write('Matplotlib revision =3D %s\n' % pylab.matplotlib.__revision__)
fid.write('Matplotlit backend =3D %s\n' % pylab.matplotlib.get_backend()=
)
fid.write('Column #0 =3D figure index\n')
fid.write('Column #1 =3D memory usage before figure\n')
fid.write('Column #2 =3D memory usage after figure\n')
fid.write('Column #3 =3D (after-before) memory\n')
pylab.ion()
a=3Dpylab.arange(0,10)
def report_memory():
 ### Attention: the path to the pslist utility should be adjusted
according to installation!
 ### pslist.exe is a small utility that does the same as ps in Unix!
 ### It can be found at www.sysinternals.com/Utilities/PsList.html
 if os.sys.platform =3D=3D 'win32':
 ps_exe_filename =3D os.path.join(os.getcwd(),'pslist.exe') #Bu=
ild
ps filename
 a =3D os.popen('%s -m python' % ps_exe_filename).readlines() #Bu=
ild
and execute command
 b =3D a[8]
 c =3D b.split()
 return int(c[3])
 else:
 print 'Sorry, you have to adapt the command for your OS!'
 return 0
def figureloop(N):
 for i in range(0,N):
 memory_usage_before =3D report_memory()
 fid.write('Memory usage before/after figure[%2d] =3D %8d' % (i,
memory_usage_before))
 pylab.figure(i)
 pylab.plot(a,2*a)
 figurename =3D 'fig%02d.eps' % i
 if SAVEFIG:
 pylab.savefig(figurename)
 if SHOWFIG:
 pylab.show()
 pylab.close(i)
 time.sleep(1.0) # wait 1.0 second before
inspecting memory usage
 if os.path.isfile(figurename): # remove figure ...
 os.remove(figurename)
 memory_usage_after =3D report_memory()
 delta_memory =3D memory_usage_after - memory_usage_before
 fid.write(' %8d %8d\n' % (memory_usage_after, delta_memory))
 print '%2d %6d %6d %6d' % (i, memory_usage_before,
memory_usage_after, delta_memory)
print 'Column #0 =3D figure index'
print 'Column #1 =3D memory usage before figure'
print 'Column #2 =3D memory usage after figure'
print 'Column #3 =3D (after-before) memory'
print 'There is a sleep time of 1s between each figure!'
print 'Close Figure[0] to continue execution!'
SAVEFIG =3D True # SAVEFIG execution flag
SHOWFIG =3D False # SHOWFIG execution flag
print('\nConfiguration SHOWFIG=3D%s SAVEFIG=3D%s' % (SHOWFIG, SAVEFIG))
fid.write('\nConfiguration SHOWFIG=3D%s SAVEFIG=3D%s\n' % (SHOWFIG, SAVE=
FIG))
figureloop(N)
SAVEFIG =3D False # SAVEFIG execution flag
SHOWFIG =3D True # SHOWFIG execution flag
print('\nConfiguration SHOWFIG=3D%s SAVEFIG=3D%s' % (SHOWFIG, SAVEFIG))
fid.write('\nConfiguration SHOWFIG=3D%s SAVEFIG=3D%s\n' % (SHOWFIG, SAVE=
FIG))
figureloop(N)
SAVEFIG =3D True # SAVEFIG execution flag
SHOWFIG =3D True # SHOWFIG execution flag
print('\nConfiguration SHOWFIG=3D%s SAVEFIG=3D%s' % (SHOWFIG, SAVEFIG))
fid.write('\nConfiguration SHOWFIG=3D%s SAVEFIG=3D%s\n' % (SHOWFIG, SAVE=
FIG))
figureloop(N)
######################################################################
#End of script
######################################################################
######################################################################
#The results obtained
######################################################################
Sun May 14 08:35:09 2006
OS version =3D 2.4.2 (#67, Oct 30 2005, 16:11:18) [MSC v.1310 32
bit (Intel)]
Matplotlib version =3D 0.86.2
Matplotlib revision =3D $Revision: 1.104 $
Matplotlit backend =3D TkAgg
Column #0 =3D figure index
Column #1 =3D memory usage before figure
Column #2 =3D memory usage after figure
Column #3 =3D (after-before) memory
Configuration SHOWFIG=3DFalse SAVEFIG=3DTrue
Memory usage before/after figure[ 0] =3D 15632 20168 4536
Memory usage before/after figure[ 1] =3D 20172 22532 2360
Memory usage before/after figure[ 2] =3D 22532 24912 2380
Memory usage before/after figure[ 3] =3D 24912 27256 2344
Memory usage before/after figure[ 4] =3D 27256 29700 2444
Memory usage before/after figure[ 5] =3D 29700 31980 2280
Memory usage before/after figure[ 6] =3D 31980 34328 2348
Memory usage before/after figure[ 7] =3D 34328 36696 2368
Memory usage before/after figure[ 8] =3D 36696 39052 2356
Memory usage before/after figure[ 9] =3D 39052 43160 4108
Configuration SHOWFIG=3DTrue SAVEFIG=3DFalse
Memory usage before/after figure[ 0] =3D 43160 43796 636
Memory usage before/after figure[ 1] =3D 43796 46080 2284
Memory usage before/after figure[ 2] =3D 46080 48392 2312
Memory usage before/after figure[ 3] =3D 48392 50736 2344
Memory usage before/after figure[ 4] =3D 50736 53020 2284
Memory usage before/after figure[ 5] =3D 53020 55420 2400
Memory usage before/after figure[ 6] =3D 55420 57672 2252
Memory usage before/after figure[ 7] =3D 57672 59984 2312
Memory usage before/after figure[ 8] =3D 59984 62312 2328
Memory usage before/after figure[ 9] =3D 62312 64620 2308
Configuration SHOWFIG=3DTrue SAVEFIG=3DTrue
Memory usage before/after figure[ 0] =3D 64620 68460 3840
Memory usage before/after figure[ 1] =3D 68460 70564 2104
Memory usage before/after figure[ 2] =3D 70564 71992 1428
Memory usage before/after figure[ 3] =3D 71992 75752 3760
Memory usage before/after figure[ 4] =3D 75752 77612 1860
Memory usage before/after figure[ 5] =3D 77612 79952 2340
Memory usage before/after figure[ 6] =3D 79952 82824 2872
Memory usage before/after figure[ 7] =3D 82824 84656 1832
Memory usage before/after figure[ 8] =3D 84656 86784 2128
Memory usage before/after figure[ 9] =3D 86784 89312 2528
From: Stephen W. <ste...@cs...> - 2006年05月13日 11:31:20
Daniel McQuillen wrote:
>
> I've seen a few posts regarding using the trick of laying one axes 
> over top of the other to simulate a second Y axis -- as demonstrated 
> in the matplotlib example file two_scales.py...
>
> Is there a way to bring the bottom graph into "focus"?
I see that zooming the graph made by two_scales.py zooms the points and 
the right hand y axis but not the left hand one. Is this what you mean?
From: Bryan <be...@gm...> - 2006年05月13日 00:13:33
Hi all, I am working on a UI design, and I just found out about matplotlib. I 
would like to learn if some of the following graphs are possible using 
matplotlib with wxPython (to see if anyone has done something similar). Here is 
a mockup with some graphs we'd like to have.
http://www.geocities.com/belred1/image1.jpg
Does anyone know if matplotlib has rich charting functionality with gradients 
and shading that could provide the same experience as the performance charts on 
the right. How difficult would this be to implement?
Also, do you know if there are any commercial or popular open source projects 
that are using matplotlib that i can look at?
Thanks,
Bryan
From: Robert H. <he...@ta...> - 2006年05月12日 21:57:27
I would like to propose expanding the inputs of pcolor to take 
vectors. Often, you have x and y independent (seperable), and you 
don't want to go on constructing an x array of redundant values. 
Actually, in NumPy it is not straightforward to do this with resize 
if your variable is in the first dimension like time (well, there is 
meshgrid, but you would only use it for plotting, and with two 
vectors -- see below). Since NumPy makes such heavy use of array 
broadcasting, it is not necessary.
I think MPL should follow the spirit of array broadcasting, and make 
it such that:
x = arange(10)
y = arange(30)
z = rand(30,10)
pcolor (x, y, z)
will work as expected. Perhaps, we could require a NewAxis in the 
right places, but it would also make sense without. You should also 
be able to send in just one vector. Consider
x,y = meshgrid(arange(10), arange(30))
y = y + random.normal(size=y.shape)
z = random.random(y.shape)
pcolor (x, y, z)
% but x is still essentially just arange(10)
pcolor(arange(10), y, z)
What do you all think?
-Rob.
-----
Rob Hetland, Assistant Professor
Dept of Oceanography, Texas A&M University
p: 979-458-0096, f: 979-845-6331
e: he...@ta..., w: http://pong.tamu.edu
From: Bryan <be...@gm...> - 2006年05月12日 14:54:16
are there any commercial or popular open source projects using matplotlib?
thanks,
bryan
From: Bryan <be...@gm...> - 2006年05月12日 14:45:10
Hi all, I am working on a UI design, and I just found out about matplotlib. I 
would like to learn if some of the following graphs are possible using 
matplotlib with wxPython (to see if anyone has done something similar). Here is 
a mockup with some graphs we'd like to have.
http://www.geocities.com/belred1/image1.jpg
Does anyone know if matplotlib has rich charting functionality with gradients 
and shading that could provide the same experience as the performance charts on 
the right. How difficult would this be to implement?
Thanks,
Bryan
From: Daniel M. <dan...@ya...> - 2006年05月11日 20:02:18
Hi everybody. Question about multiple Y axes...
I've seen a few posts regarding using the trick of laying one axes over top of the other to simulate a second Y axis -- as demonstrated in the matplotlib example file two_scales.py.
However, in the application I'm building, the user should be able to select points ("outliers") for either axis. With the current approach, the user can't select the bottom graph's points (or pan or zoom it).
Is there a way to bring the bottom graph into "focus"?
Thanks in advance for any tips.
=====================================
Daniel McQuillen 
Oakland, CA
From: Charlie M. <cw...@gm...> - 2006年05月11日 02:15:06
The egg was compiled with numpy 0.9.6, which is what needs to be used.
 The Matrix error looks familiar. Try searching the list archive.
- Charlie
On 5/10/06, Stephen Walton <ste...@cs...> wrote:
> I just tried, really just from curiousity, to install the 0.87.2 egg on
> my Kubutu 5.10 laptop, with numarray 1.5.1, numpy latest SVN, ipython
> latest SVN. Setting numerix to numpy in matplotlibrc results in a
> segmentation fault when doing "ipython -pylab". Setting numerix to
> numarray results in a long traceback the end of which reads:
>
> File
> "/usr/lib/python2.4/site-packages/matplotlib-0.87.2-py2.4-linux-i686.egg/=
matplotlib/artist.py",
> line 4, in ?
> from transforms import identity_transform
> File
> "/usr/lib/python2.4/site-packages/matplotlib-0.87.2-py2.4-linux-i686.egg/=
matplotlib/transforms.py",
> line 189, in ?
> from _transforms import Value, Point, Interval, Bbox, Affine
> File
> "/usr/lib/python2.4/site-packages/matplotlib-0.87.2-py2.4-linux-i686.egg/=
matplotlib/_transforms.py",
> line 1, in ?
> import sys, numerix
> File
> "/usr/lib/python2.4/site-packages/matplotlib-0.87.2-py2.4-linux-i686.egg/=
matplotlib/numerix/__init__.py",
> line 62, in ?
> from Matrix import Matrix
> ImportError: No module named Matrix
>
> If I download the tarball and build it from source, all is well.
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job ea=
sier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim=
o
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Stephen W. <ste...@cs...> - 2006年05月11日 01:43:39
I just tried, really just from curiousity, to install the 0.87.2 egg on 
my Kubutu 5.10 laptop, with numarray 1.5.1, numpy latest SVN, ipython 
latest SVN. Setting numerix to numpy in matplotlibrc results in a 
segmentation fault when doing "ipython -pylab". Setting numerix to 
numarray results in a long traceback the end of which reads:
 File 
"/usr/lib/python2.4/site-packages/matplotlib-0.87.2-py2.4-linux-i686.egg/matplotlib/artist.py", 
line 4, in ?
 from transforms import identity_transform
 File 
"/usr/lib/python2.4/site-packages/matplotlib-0.87.2-py2.4-linux-i686.egg/matplotlib/transforms.py", 
line 189, in ?
 from _transforms import Value, Point, Interval, Bbox, Affine
 File 
"/usr/lib/python2.4/site-packages/matplotlib-0.87.2-py2.4-linux-i686.egg/matplotlib/_transforms.py", 
line 1, in ?
 import sys, numerix
 File 
"/usr/lib/python2.4/site-packages/matplotlib-0.87.2-py2.4-linux-i686.egg/matplotlib/numerix/__init__.py", 
line 62, in ?
 from Matrix import Matrix
ImportError: No module named Matrix
If I download the tarball and build it from source, all is well.
From: John H. <jdh...@ac...> - 2006年05月10日 17:46:21
>>>>> "seberino" == seberino <seb...@sp...> writes:
 seberino> I'd like to reinstall Matplotlib. I installed from
 seberino> source......is this home grown install ALL under one
 seberino> directory in site-packages?
almost.
In addition to site-packages/matplotlib, we'll also install
site-packages/pylab.py
site-packages/pytz # iff it doesn't already exist
site-packages/dateutil # iff it doesn't already exist
site-packages/subprocess # iff it doesn't already exist
JDH
From: <seb...@sp...> - 2006年05月10日 17:29:54
I'd like to reinstall Matplotlib.
I installed from source......is this home grown install
ALL under one directory in site-packages?
chris
From: John H. <jdh...@ac...> - 2006年05月09日 15:31:03
>>>>> "manouchk" == manouchk <man...@gm...> writes:
 manouchk> Hi, I've seen nothing about installing pytz, dateutil
 manouchk> that are usefull for matplotlib-users. In mandriva I
They are required for date plotting ....
 manouchk> think that this 2 packages are not yet in any
 manouchk> package. What is the common way to include them? (any
 manouchk> one can point me for example to a fedora rpm spec file
 manouchk> that does the work??)
 manouchk> I have a directory named
 manouchk> /usr/lib/python2.4/site-packages/pytz/zoneinfo that is
 manouchk> included in python-matplotlib package but no module pytz
 manouchk> so that date_demo*.py examples don't work.
They ship with the matplotlib src distribution. You may have a
partial install, which may be preventing a full instal since
matplotlib checks for their existence before overriding an existing
install.
Get a copy of the matplotlib src distribution, and
 > sudo rm -rf /usr/lib/python2.4/site-packages/pytz
 > sudo rm -rf /usr/lib/python2.4/site-packages/dateutil
and then reinstall matplotlib to see if you get a proper install.
JDH

Showing results of 165

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