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
(23) |
2
(13) |
|
3
(1) |
4
(17) |
5
(3) |
6
(10) |
7
(7) |
8
(7) |
9
(4) |
|
10
(13) |
11
(20) |
12
(13) |
13
(17) |
14
(20) |
15
(14) |
16
(3) |
|
17
(5) |
18
(15) |
19
(18) |
20
(14) |
21
(2) |
22
(13) |
23
(8) |
|
24
(3) |
25
(7) |
26
(10) |
27
(17) |
28
(20) |
29
(42) |
|
|
From: Evan M. <eva...@gm...> - 2008-02-13 01:39:34
|
Hi, I am having some problems using the oblique mercator projection in
basemap. I want to define a rectangular orthogonal grid, rotated clockwise
by about 13 degrees. I want to define grid cells of size, say, about 20x20
km. The script I have so far is below. The problem is that at some point
(the makegrid step) I lose the rotation, as seen in the plot.
I'd appreciate any help with this, thanks, Evan
from matplotlib.toolkits.basemap import Basemap
M = Basemap(projection = 'omerc', \
resolution = None, \
llcrnrlon = -43.7, \
llcrnrlat = 14.7, \
urcrnrlon = -4.0, \
urcrnrlat = 41.9, \
lat_2 = 11.0, \
lat_1 = 45.5, \
lon_2 = -27.8, \
lon_1 = -19.9)
dl = 20000.
nx = int((M.xmax - M.xmin) / dl) + 1
ny = int((M.ymax - M.ymin) / dl) + 1
lonr, latr = M.makegrid(nx, ny)
plot(lonr, latr, 'c.')
show()
|
|
From: Pierre GM <pgm...@gm...> - 2008-02-12 18:21:50
|
On Tuesday 12 February 2008 12:07:21 Michael Frauens wrote:
> I am using span selector to identify an area and then highlight in in
> green. I want the user to be able to validate this (or not) and then
> select another area (or not). However, when the user selects the alternate
> area I want the previous instance of axvspan to be deleted/removed. How do
> I remove this instance? of do I have to delete the whole plot and replot?
>
> Removing the instance is strongly preferred becauase the user may of
> altered the display using the canvas widgets.
Michael,
I have more or less the same issue: I need to be able to highlight one
particular curve among many. I have implemented a special subclass of Axes
for my particular problem. This subclass has a method "highlight"
Here's a rough draft of what I do:
def __init__(self,*args,**kwargs)
Subplot.__init__(self,*args,**kwargs)
sefl.highlightedfreq = None
def highlight(bandwidth, **options):
if (self.highlightedfreq is not None) and \
(self.highlightedfreq != bandwidth):
del self.lines[self.highlightedline]
self.highlightedfreq = bandwidth
self.plot(current._dates-shift, current._series, lw=lw, ls=ls, c=c,
scalex=False, scaley=False)
self.highlightedline = len(self.lines)-1 #
return self.highlightedline
As you see, I have an extra attribute (highlightedfreq) that stores the index
of the highlighted line: when I need to deselect the highlighted curve, I
just delete the corresponding element of the lines list.
HIH
P.
|
|
From: Neal B. <ndb...@gm...> - 2008-02-12 18:17:43
|
Phil Austin wrote: > John Hunter wrote: > > > > Well, the problem is that GTK, WX and Qt require threading support to > > use them properly interactively. ipython has special modes for these > > to run the GUI mainloop in the separate thread. tk is special in this > > regard, in that it runs from a standard python shell w/o threading > > support. You may be able to configure ipython within xemacs to take > > advantage of both xemacs and ipython's support for interactive qt > > plotting in pylab. > > FWIW, everything's working correctly for me using > xemacs + ipython: > > Xemacs 21.5 > current svn snapshot of python-mode.el from > http://sourceforge.net/projects/python > current ipython svn snapshot > Centos 5.1 and python 2.5.1 > Works for me if invoked from xemacs shell as ipython -pylab. If invoked from M-x py-shell doesn't work. Now if I could just figure out where to modify the way py-shell invokes ipython to add the -pylab. Doc say C-u M-x py-shell would prompt for args, but the doc lies. |
|
From: Jeff W. <js...@fa...> - 2008-02-12 18:00:27
|
Ryan May wrote: >> Ryan: Nothing comes immediately to mind - unless something went wrong >> with your build. Could you rebuild basemap and send me the a log of >> the build off-list? >> >> > Attached. > > Ryan > > Ryan: Are you installing from source yourself, or building a patched version provided the Gentoo packaging system? I suspect the latter, since I see >> Unpacking basemap-0.9.9.tar.gz to /var/tmp/portage/dev-python/basemap-0.9.9/work [32;01m*[0m Applying basemap-0.9.9-syslib.patch ... at the beginning of the log. Then later, the system proj4 lib (in /usr/lib64) is linked instead of the proj4 included in basemap. This won't work, since the version of proj4 that I use includes some patches not in the released version. Bottom line - the Gentoo basemap package is broken. If you build it manually, outside the Gentoo packaging system, I'm betting it will work fine. A Gentoo bug report might be in order, if you feel like submitting one. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |
|
From: Phil A. <pha...@gm...> - 2008-02-12 17:43:23
|
John Hunter wrote: > > Well, the problem is that GTK, WX and Qt require threading support to > use them properly interactively. ipython has special modes for these > to run the GUI mainloop in the separate thread. tk is special in this > regard, in that it runs from a standard python shell w/o threading > support. You may be able to configure ipython within xemacs to take > advantage of both xemacs and ipython's support for interactive qt > plotting in pylab. FWIW, everything's working correctly for me using xemacs + ipython: Xemacs 21.5 current svn snapshot of python-mode.el from http://sourceforge.net/projects/python current ipython svn snapshot Centos 5.1 and python 2.5.1 -- Phil |
|
From: <kc1...@ya...> - 2008-02-12 17:39:37
|
Has anybody been able to create an exe of their python
applications involving matplotlib using pyinstall (ver
1.3)? I am getting a:
RuntimeError: Could not find the matplotlib data
files
when I attempt to run the exe created.
In searching the web, it appears this is an issue when
others tried to use py2exe as well. Unfortunately,
the few hits I saw doesn't include enough details to
inspire me as to what I should be doing in my
pyinstall .spec file.
Does anybody has an example or information about this?
Thanks,
--
John Henry
|
|
From: Michael F. <wet...@ya...> - 2008-02-12 17:07:31
|
I am using span selector to identify an area and then highlight in in green. I want the user to be able to validate this (or not) and then select another area (or not). However, when the user selects the alternate area I want the previous instance of axvspan to be deleted/removed. How do I remove this instance? of do I have to delete the whole plot and replot?
Removing the instance is strongly preferred becauase the user may of altered the display using the canvas widgets.
f=Figure(figsize=(12,8), dpi=72)
a=f.add_subplot(111)
...
a.plot(aTime, aDensity, 'k', aTime, aElec, 'b')
...
canvas = FigureCanvasTkAgg(f, master=root)
canvas.show()
canvas.get_tk_widget().pack(side=Tk.TOP)
.....
def onselect(timemin,timemax):
indmin,indmax=npy.searchsorted(glbl.act_time[glbl.newjob],(timemin,timemax))
indmax=min(len(glbl.act_time[glbl.newjob])-1,indmax)
thistime=glbl.act_time[glbl.newjob][indmin:indmax]
exec("thisDens=glbl.%s_d[%d][indmin:indmax]" % (newcolor, glbl.newjob))
exec("thisElect=glbl.%s_d[%d][indmin:indmax]" % (newcolor, glbl.newjob))
print thisDens
#creates a reference green area to validate area chosen
lo=glbl.act_time[glbl.newjob][indmin]
hi=glbl.act_time[glbl.newjob][indmax]
a.axvspan(lo,hi,facecolor='g',alpha=0.5)
canvas.show()
...
span=SpanSelector(a,onselect,'horizontal',useblit=True,
rectprops=dict(alpha=0.5,facecolor='red'))
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
|
|
From: Neal B. <ndb...@gm...> - 2008-02-12 16:54:29
|
Should I be worried about these? Installed /usr/lib/python2.5/site-packages/matplotlib-0.91.2-py2.5-linux-x86_64.egg Processing dependencies for matplotlib Finished processing dependencies for matplotlib Exception exceptions.OSError: (2, 'No such file or directory', 'src/image.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0xee08c0>> ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/transforms.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0xedcc68>> ignored Exception exceptions.OSError: (2, 'No such file or directory', 'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0xee0710>> ignored |
|
From: John H. <jd...@gm...> - 2008-02-12 15:01:28
|
On Feb 12, 2008 8:50 AM, Neal Becker <ndb...@gm...> wrote: > I did set interactive. > > I was using QtAgg. > > I hate tk. [reposting in the correct thread] Well, the problem is that GTK, WX and Qt require threading support to use them properly interactively. ipython has special modes for these to run the GUI mainloop in the separate thread. tk is special in this regard, in that it runs from a standard python shell w/o threading support. You may be able to configure ipython within xemacs to take advantage of both xemacs and ipython's support for interactive qt plotting in pylab. JDH |
|
From: Neal B. <ndb...@gm...> - 2008-02-12 14:51:29
|
On Tuesday 12 February 2008, John Hunter wrote: > On Feb 12, 2008 6:49 AM, Neal Becker <ndb...@gm...> wrote: > > This is a bit wierd. > > > > If running from xemacs, it seems interactive plotting is always 1 step > > behind. > > I assume you have set 'interactive : True' in your rc file? What > backend are you using (you should be using tkagg from xemacs) since it > does not require GUI threading support. > > http://matplotlib.sf.net/interactive.html > > JDH I did set interactive. I was using QtAgg. I hate tk. |
|
From: John H. <jd...@gm...> - 2008-02-12 14:37:24
|
On Feb 12, 2008 6:49 AM, Neal Becker <ndb...@gm...> wrote: > This is a bit wierd. > > If running from xemacs, it seems interactive plotting is always 1 step > behind. I assume you have set 'interactive : True' in your rc file? What backend are you using (you should be using tkagg from xemacs) since it does not require GUI threading support. http://matplotlib.sf.net/interactive.html JDH |
|
From: Neal B. <ndb...@gm...> - 2008-02-12 12:50:14
|
This is a bit wierd.
If running from xemacs, it seems interactive plotting is always 1 step
behind.
For example, I do:
M-x py-shell
This brings up a *Python* buffer in Comint mode running Ipython.
In [1]: from pylab import *
In [2]: plot ([1,2,3])
Out[2]: [<matplotlib.lines.Line2D instance at 0xf563b0>]
In [3]: xlabel('time')
Out[3]: <matplotlib.text.Text instance at 0xf52758>
In [4]: ylabel ('volts')
Out[4]: <matplotlib.text.Text instance at 0xf533b0>
When I execute step 3, the time is not show, but the line is. When I do
step 4, now time is added.
Any clues?
|
|
From: Eric F. <ef...@ha...> - 2008-02-12 07:38:17
|
This is a longstanding problem with the quadmesh extension code that is
used by pcolorfast when the grid is not rectangular. It is not likely
to be fixed on the maintenance branch, but it is fixed on the svn trunk,
thanks to work by Michael Drooettboom.
Eric
minakawa wrote:
> Hello List,
>
> I found a problem that masked "pcolorfast" does not work properly in
> zooming,
> It seems that masked area is not refreshed after zooming on "WXAgg".
> I think "pcolorfast" works well on pylab.plot though.
>
> "pcolormesh" is the same while "pcolor"acts appropriately,
> Please look at the attached picture and try the sample program.
>
> My environment is;
>
> Windows XP
> Python 2.4
> WxPython 2.8
> matplotlib 0.91.2
>
> Noriko Minakawa
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> ���#!/usr/bin/env python
>
> import numpy as npy
> import matplotlib.numerix as nx
>
> import matplotlib.numerix.ma as ma
> from matplotlib import cm, colors
>
> import matplotlib
>
> matplotlib.use('WXAgg')
> from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
> from matplotlib.backends.backend_wx import NavigationToolbar2Wx
>
> from matplotlib.figure import Figure
>
> import wx
>
> class CanvasFrame(wx.Frame):
>
> def __init__(self):
> wx.Frame.__init__(self,None,-1,
> 'CanvasFrame',size=(550,350))
>
> # self.SetBackgroundColour(wx.NamedColor("WHITE"))
>
> self.figure = Figure()
> ax1 = self.figure.add_subplot(121)
> ax2 = self.figure.add_subplot(122)
>
> x = npy.arange(0, 4.0, 0.05, dtype=float)
> y = npy.arange(0, 5.0, 0.05, dtype=float)
>
> z = npy.sqrt(x[npy.newaxis,:-1]**2 + y[:-1,npy.newaxis]**2)
>
> Z = ma.masked_where(z < 1, z)
>
> X, Y = npy.meshgrid(x,y)
>
> ax1.pcolor(X,Y,Z)
> ax2.pcolorfast(X,Y,Z)
>
> ax1.set_title('pcolor')
> ax2.set_title('pcolorfast')
>
> self.canvas = FigureCanvas(self, -1, self.figure)
>
> self.sizer = wx.BoxSizer(wx.VERTICAL)
> self.sizer.Add(self.canvas, 1, wx.LEFT | wx.TOP | wx.GROW)
> self.SetSizer(self.sizer)
> self.Fit()
>
> self.add_toolbar() # comment this out for no toolbar
>
>
> def add_toolbar(self):
> self.toolbar = NavigationToolbar2Wx(self.canvas)
> self.toolbar.Realize()
> tw, th = self.toolbar.GetSizeTuple()
> fw, fh = self.canvas.GetSizeTuple()
>
> self.toolbar.SetSize(wx.Size(fw, th))
> self.sizer.Add(self.toolbar, 0, wx.LEFT | wx.EXPAND)
>
> # update the axes menu on the toolbar
> self.toolbar.update()
>
> def OnPaint(self, event):
> self.canvas.draw()
>
> class App(wx.App):
>
> def OnInit(self):
> 'Create the main window and insert the custom frame'
> frame = CanvasFrame()
> frame.Show(True)
>
> return True
>
> app = App(0)
> app.MainLoop()
>
|
|
From: minakawa <nom...@kc...> - 2008-02-12 02:06:47
|
#!/usr/bin/env python
import numpy as npy
import matplotlib.numerix as nx
import matplotlib.numerix.ma as ma
from matplotlib import cm, colors
import matplotlib
matplotlib.use('WXAgg')
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
from matplotlib.backends.backend_wx import NavigationToolbar2Wx
from matplotlib.figure import Figure
import wx
class CanvasFrame(wx.Frame):
def __init__(self):
wx.Frame.__init__(self,None,-1,
'CanvasFrame',size=(550,350))
# self.SetBackgroundColour(wx.NamedColor("WHITE"))
self.figure = Figure()
ax1 = self.figure.add_subplot(121)
ax2 = self.figure.add_subplot(122)
x = npy.arange(0, 4.0, 0.05, dtype=float)
y = npy.arange(0, 5.0, 0.05, dtype=float)
z = npy.sqrt(x[npy.newaxis,:-1]**2 + y[:-1,npy.newaxis]**2)
Z = ma.masked_where(z < 1, z)
X, Y = npy.meshgrid(x,y)
ax1.pcolor(X,Y,Z)
ax2.pcolorfast(X,Y,Z)
ax1.set_title('pcolor')
ax2.set_title('pcolorfast')
self.canvas = FigureCanvas(self, -1, self.figure)
self.sizer = wx.BoxSizer(wx.VERTICAL)
self.sizer.Add(self.canvas, 1, wx.LEFT | wx.TOP | wx.GROW)
self.SetSizer(self.sizer)
self.Fit()
self.add_toolbar() # comment this out for no toolbar
def add_toolbar(self):
self.toolbar = NavigationToolbar2Wx(self.canvas)
self.toolbar.Realize()
tw, th = self.toolbar.GetSizeTuple()
fw, fh = self.canvas.GetSizeTuple()
self.toolbar.SetSize(wx.Size(fw, th))
self.sizer.Add(self.toolbar, 0, wx.LEFT | wx.EXPAND)
# update the axes menu on the toolbar
self.toolbar.update()
def OnPaint(self, event):
self.canvas.draw()
class App(wx.App):
def OnInit(self):
'Create the main window and insert the custom frame'
frame = CanvasFrame()
frame.Show(True)
return True
app = App(0)
app.MainLoop()
|
|
From: <bre...@un...> - 2008-02-11 23:50:51
|
I would recommend using "pylab.load" for reading the data. For example:
x, y = pylab.load("filename", unpack=True) # with other options as
required
sa6113 <s.p...@gm...>
Sent by: mat...@li...
09/02/2008 07:34 PM
To
mat...@li...
cc
Subject
[Matplotlib-users] Curve fitting ...
Hello there, I have a problem on curve fitting , would you please help me
?! I want to to develop a application that reads a text file with 2
columns of floating point data (as x and y) and performs a polynomial
curve fit of the data at the order specified by the end user and then
provides the curve-fit coefficients as well as the curve fit errors. My
problem is in curve fit errors , I want to abtain Max and L2-norm of
error. In addition I use "matplotlib.mlab module " and polyfit function
for computing polynomial curve fit. Regards.
View this message in context: Curve fitting ...
Sent from the matplotlib - users mailing list archive at Nabble.com.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
UNITED GROUP
This email message is the property of United Group. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you may not disclose, copy or distribute this email, nor take or omit to take any action in reliance on it. United Group accepts no liability for any damage caused by this email or any attachments due to viruses, interference, interception, corruption or unauthorised access.
If you have received this email in error, please notify United Group immediately by email to the sender's email address and delete this document. |
|
From: Jeff W. <js...@fa...> - 2008-02-11 23:36:12
|
Ryan May wrote: > Hi, > > I'm getting the following on Gentoo Linux: > #python hurrtracks.py > Traceback (most recent call last): > File "hurrtracks.py", line 7, in <module> > from matplotlib.toolkits.basemap import Basemap as Basemap > File > "/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/__init__.py", > line 1, in <module> > from basemap import __doc__, __version__ > File > "/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/basemap.py", > line 33, in <module> > import pyproj, sys, os, math, dbflib > File > "/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/pyproj.py", > line 49, in <module> > from _geod import Geod as _Geod > ImportError: > /usr/lib64/python2.5/site-packages/matplotlib/toolkits/basemap/_geod.so: > undefined symbol: pj_errno > > Any clues as to why this would be happening? As far as I can tell, > pj_errno would be in Proj, which basemap has a version of internally. > > Ryan > > Ryan: Nothing comes immediately to mind - unless something went wrong with your build. Could you rebuild basemap and send me the a log of the build off-list? -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |
|
From: Ryan M. <rm...@ou...> - 2008-02-11 21:45:50
|
Hi,
I'm getting the following on Gentoo Linux:
#python hurrtracks.py
Traceback (most recent call last):
File "hurrtracks.py", line 7, in <module>
from matplotlib.toolkits.basemap import Basemap as Basemap
File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/__init__.py",
line 1, in <module>
from basemap import __doc__, __version__
File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/basemap.py",
line 33, in <module>
import pyproj, sys, os, math, dbflib
File
"/usr/lib/python2.5/site-packages/matplotlib/toolkits/basemap/pyproj.py",
line 49, in <module>
from _geod import Geod as _Geod
ImportError:
/usr/lib64/python2.5/site-packages/matplotlib/toolkits/basemap/_geod.so:
undefined symbol: pj_errno
Any clues as to why this would be happening? As far as I can tell,
pj_errno would be in Proj, which basemap has a version of internally.
Ryan
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
|
|
From: Alan G I. <ai...@am...> - 2008-02-11 19:25:45
|
On Mon, 11 Feb 2008, Ted Drain apparently wrote: > Is econpy still under development? Yes. Primarily during summers. ;-) New developers and other contributors are welcome. Cheers, Alan Isaac |
|
From: <chu...@ch...> - 2008-02-11 19:12:30
|
Mike -- thanks for your response. I thought I had tried this and it didn't work. I guess I didn't!!!! I just tried the following equivalent approach: ML.rcParams['font.family'] = 'serif' ML.rcParams['font.serif'] = ['Cambria Math'] + ML.rcParams['font.serif'] and it worked like a charm. Thanks again. ---- Michael Droettboom <md...@st...> wrote: > You shouldn't edit rcsetup.py directly -- that is part of the matplotlib > source code. Instead, you should edit the matplotlibrc settings file. > > In there, you'll actually want to change two settings: > > 1) Add Cambria to the front of the font.serif list > 2) Set "font.family" to "serif", so that mpl will use that list. > > Hope this helps, > Mike > > chu...@ch... wrote: > > I would like to be able to use Cambria font (http://en.wikipedia.org/wiki/Cambria_(typeface)) for all text on my charts. > > > > I am adding these charts to a MS Word 2007 document written in the same font. > > > > I tried to add Cambria as the fist string in rcsetup.py | defaultParams | 'font.serif'. That didn't work. Can I use this font for the charts? > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > 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: Jouni K. S. <jou...@xt...> - 2008-02-11 19:11:08
|
s_pushparaj <s_p...@ho...> writes: > I am working to plot and compare distributions. For that I require the > grp2idx.m file to run boxplotC.m. Kindly help me get the request m file. It looks like you got the wrong list. This list is for discussing matplotlib, a Python plotting package. You refer to "m files", by which I suppose you mean Matlab code. You can find Matlab code at http://www.mathworks.com/matlabcentral/ -- Jouni K. Seppänen http://www.iki.fi/jks |
|
From: Ted D. <ted...@jp...> - 2008-02-11 18:44:32
|
Thanks! Is econpy still under development? > -----Original Message----- > From: mat...@li... > [mailto:mat...@li...] On Behalf Of > Alan G Isaac > Sent: Monday, February 11, 2008 10:00 AM > To: mat...@li... > Subject: Re: [Matplotlib-users] Create powerpoint slide and/or > presentation from script? > > On Mon, 11 Feb 2008, Ted Drain apparently wrote: > > Does anyone know of a way to create a powerpoint slide from a plot? > > <URL:http://code.google.com/p/econpy/source/browse/trunk/utilities/mso. > py> > > hth, > Alan Isaac > > > > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Alan G I. <ai...@am...> - 2008-02-11 17:58:15
|
On Mon, 11 Feb 2008, Ted Drain apparently wrote: > Does anyone know of a way to create a powerpoint slide from a plot? <URL:http://code.google.com/p/econpy/source/browse/trunk/utilities/mso.py> hth, Alan Isaac |
|
From: Ted D. <ted...@jp...> - 2008-02-11 15:58:47
|
Does anyone know of a way to create a powerpoint slide from a plot? I'm assuming that it's possible to have a script that savse a PNG of the plot and then use a VB (or preferably python) script to create a slide (or append that slide to an existing presentation). I've google'ed around but I'm having trouble finding a decent example of doing this on the web. Any examples would be greatly appreciated. Thanks, Ted |
|
From: Jouni K. S. <jou...@xt...> - 2008-02-11 15:13:22
|
Slackenerny <sla...@pu...> writes: >>>graph = f.add_subplot(...) > I could help myself with >> graph.get_xlim() > So, how could I have helped myself, without annoying you? ;) The commands getp(graph) and setp(graph) might have helped. -- Jouni K. Seppänen http://www.iki.fi/jks |
|
From: s_pushparaj <s_p...@ho...> - 2008-02-11 15:09:41
|
Dear list I am working to plot and compare distributions. For that I require the grp2idx.m file to run boxplotC.m. Kindly help me get the request m file. with thanks Pushparaj -- View this message in context: http://www.nabble.com/needed-grp2idx-tp15412798p15412798.html Sent from the matplotlib - users mailing list archive at Nabble.com. |