Re: [matplotlib-devel] MacOSX distrubution build notes
On Nov 29, 2007 10:30 PM, Charles Moad <[EMAIL PROTECTED]> wrote: > For reference and possible critique, I wrote up notes on how I built a > Universal matplotlib dist. Thanks for posting these Charlie, I put these up on the wiki along side mine, and refer to both on the mpl installing page. So if you need to update them, the best place is probably the wiki. http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] site docs
On Nov 30, 2007 6:32 AM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > John: A small thing - my name is mispelled on the credits page (should > be one 't'). Also, if you get a chance it would be great if you could > update the basemap docs to the latest svn (I'll release 0.9.8 soon). Done. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] How to show matplotlib.image ?
The following run well . But I just want to make the image, with the x and y as axis and z as the image value ,show on the figure. In the pylab , we can just give a command "imshow" ,But here , I fail to do it , I have try ax.imshow() again and again ,but fail. Can sb give me some advice . Thank you . import matplotlib matplotlib.use("WXAgg") matplotlib.interactive(True) from matplotlib.backends.backend_wx import FigureCanvasWx from matplotlib.figure import Figure from matplotlib.axes import * from numpy import * import wx from pylab import * #--- class DynamicPlot(): def __init__(self,Frame): delta = 0.025 x = arange(-3.0, 3.0, delta) y = arange(-2.0, 2.0, delta) X, Y = meshgrid(x, y) Z1 = bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.0) Z2 = bivariate_normal(X, Y, 1.5, 0.5, 1, 1) Z = 10.0 * (Z2 - Z1) levels = arange(-1.2, 1.6, 0.2) self.fig = Figure((8,8), 75) self.canvas = FigureCanvasWx(Frame, -1, self.fig) ax=self.fig.add_axes([0.1,0.1,0.8,0.8]) ax.contour(X,Y,Z,levels,origin='lower',linewidths=2,extent=(-3,3,-2,2)) app = wx.PySimpleApp() f=wx.Frame(None,size=(600,600)) f.Show(True) DynamicPlot(f) app.MainLoop() -- View this message in context: http://www.nabble.com/How-to-show-matplotlib.image---tf4912839.html#a14064300 Sent from the matplotlib - devel mailing list archive at Nabble.com. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] matplotlib.image.AxesImage can't work.
Thank u for your help. I did it as your reply. But some questions appear again . Can you give me some more advice , your help will be appreciated. Code are as following: You know when I do "self.ax.images.append(self.im)" in pylab . It do properly , But ,it fail here. Thank you! # -*- coding:gb2312 -*- import matplotlib matplotlib.use("WXAgg") matplotlib.interactive(True) from matplotlib.backends.backend_wx import FigureCanvasWx from matplotlib.figure import Figure from matplotlib.axes import * from numpy import * import wx from matplotlib.image import NonUniformImage import numpy as npy #--- class DynamicPlot(): def __init__(self,Frame): x = npy.arange(-4, 4, 0.005) y = npy.arange(-4, 4, 0.005) z = npy.sqrt(x[npy.newaxis,:]**2 + y[:,npy.newaxis]**2) self.fig = Figure((8,8), 75) self.canvas = FigureCanvasWx(Frame, -1, self.fig) self.ax=self.fig.add_subplot(111) self.im = NonUniformImage(self.ax) self.im.set_data(x, y, z) self.ax.images.append(self.im) self.ax.imshow(self.im) app = wx.PySimpleApp() f=wx.Frame(None,size=(600,600)) f.Show(True) DynamicPlot(f) app.MainLoop() -- View this message in context: http://www.nabble.com/matplotlib.image.AxesImage-can%27t-work.-tf4897267.html#a14057748 Sent from the matplotlib - devel mailing list archive at Nabble.com. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] site docs
John Hunter wrote: > For the 0.91 release, I have updated the web site, which had become > woefully out of date. In addition to some 91 specific things like > "what's new", credits and updating a bunch of links to point to > pyplot, I also cleaned out some dead wood (removed numeric and > numarray references, cleaned up installing and backends to an extent). > I think a lot more needs to be done to get the site fully modernized > (eg installing could use a lot more work, goals needs to be > modernized), but if you see something egregious or otherwise in need > of attention, let me know, because on these kinds of things it is good > to strike when the iron is hot. > > Also, it has been a long time since I updated the credits page, so > this too is very stale. If you are not mentioned there and would like > to be, or if I have left out some significant contributions that you > would like to see there, please drop me a blurb and I'll update it. > > JDH > John: A small thing - my name is mispelled on the credits page (should be one 't'). Also, if you get a chance it would be great if you could update the basemap docs to the latest svn (I'll release 0.9.8 soon). -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1FAX : (303)497-6449 325 BroadwayBoulder, CO, USA 80305-3328 - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel