Re: [Matplotlib-users] axes in matplotlib
Thans for your help. I don't have mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist modules. would you please help me to download them. which release I need to install? sa6113 wrote: I want to use more than 2 axes in my plot, for example yleft,yright, butoom or top, is it possible? any body had done it before? I read in matplotlib's document that : matplotlib is organized around figures and axes. The figure contains an arbitrary number of axes, which can be placed anywhere in the figure you want, including over other axes. You can directly create and manage your own figures and axes. How? -- View this message in context: http://old.nabble.com/axes-in-matplotlib-tp29810432p29846502.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] axes in matplotlib
I want to use more than 2 axes in my plot, for example yleft,yright, butoom or top, is it possible? any body had done it before? I read in matplotlib's document that : matplotlib is organized around figures and axes. The figure contains an arbitrary number of axes, which can be placed anywhere in the figure you want, including over other axes. You can directly create and manage your own figures and axes. How? -- View this message in context: http://old.nabble.com/axes-in-matplotlib-tp29810432p29810432.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] How by clicking an axes label open a dialog?
Whould you please help me? I am looking forward. sa6113 wrote: I want to use backendQtAgg inorder to imbed plot dialog into basic dialog and by clicking the labels open plot option. I couldn't use 'motion_notify_event' because the event only handles into plot area not in canvas area!!! anybody knows? -- View this message in context: http://old.nabble.com/How-by-clicking-an-axes-label-open-a-dialog--tp29661031p29715956.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] How by clicking an axes label open a dialog?
Whould you please help me? I am looking forward. sa6113 wrote: I want to use backendQtAgg inorder to imbed plot dialog into basic dialog and by clicking the labels open plot option. I couldn't use 'motion_notify_event' because the event only handles into plot area not in canvas area!!! anybody knows? -- View this message in context: http://old.nabble.com/How-by-clicking-an-axes-label-open-a-dialog--tp29661031p29715986.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] problem in showing the plot!!!
when I want to show the plot canvas, it doesn't stay at all, note that I need to use backendQtagg, I mean when I use pylab there is no problem in showing the plot canvas, what is the problem? please help me. I use this simple code: from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg as FigureCanvas from matplotlib.figure import Figure x = numarray.arange(10) y = numarray.arange(10) fig = Figure(figsize=(5, 5)) axes = fig.add_subplot(111) axes.plot(x,y) canvas = FigureCanvas( fig) xlabel('sahar') canvas.show() The plot just winks. -- View this message in context: http://old.nabble.com/problem-in-showing-the-plot%21%21%21-tp29675128p29675128.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] How by clicking an axes label open a dialog?
I want to use backendQtAgg inorder to imbed plot dialog into basic dialog and by clicking the labels open plot option. I couldn't use 'motion_notify_event' because the event only handles into plot area not in canvas area!!! anybody knows? -- View this message in context: http://old.nabble.com/How-by-clicking-an-axes-label-open-a-dialog--tp29661031p29661031.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] print to aprint device!
Dear all, I want to print the plotted curves to a printer NOT to a file. if you know somthing such as QwtPlotPrintFilter class in Qwt. Which module help me? -- View this message in context: http://old.nabble.com/print-to-aprint-device%21-tp29149286p29149286.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] set font problem.
Thanks for your help, it works, but it is very difficult because I want to show a FontDialog contains all fonts in system to user and change the plot text (Legend, Label and ex.) font to that. How may I accomplish that? Is there any way? sa6113 wrote: I want to set all font system to my texts, but I can't set all the fonts. I am using this code: font= FontProperties( size='small' ,fname = 'Tahoma' ) self.ax.legend(line, label, legend , prop = font ) It raises this error : font = FT2Font(str(fname)) RuntimeError: Could not open facefile Tahoma; Cannot_Open_Resource Should I add a font family for that before? How? -- View this message in context: http://www.nabble.com/set-font-problem.-tp19468970p19477669.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] set font problem.
I want to set all font system to my texts, but I can't set all the fonts. I am using this code: font= FontProperties( size='small' ,fname = 'Tahoma' ) self.ax.legend(line, label, legend , prop = font ) It raises this error : font = FT2Font(str(fname)) RuntimeError: Could not open facefile Tahoma; Cannot_Open_Resource Should I add a font family for that before? How? -- View this message in context: http://www.nabble.com/set-font-problem.-tp19468970p19468970.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] font style problem!
family define font name here. sa6113 wrote: I use this code to set plot legend font : font = FontProperties(family ='monospace',style = 'italic',size='large', weight='bold') self.ax.legend( line, label, legend , prop = font) but font style dosen't effect while other properties set properly. what is the problem?? -- View this message in context: http://www.nabble.com/font-style-problem%21-tp19045196p19063479.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] how add axes scale to my plot?
I am using matplotlib to draw and show my plot, now I want to know how may I add manual axes scale to it. I need to manually show the axes scale (from min to max value that I have) the below is some part of my code. . . . from matplotlib.figureimport Figure self.fig = Figure( figsize =5, 4 )) yLine = self.ax.plot( xData, yData, 'ro-', linewidth = 2 ) fitLine = self.ax.plot( xData, fitData,'bo-', linewidth = 1 ) self.ax.set_xlabel('X') self.ax.set_ylabel('Y ) -- View this message in context: http://www.nabble.com/how-add-axes-scale-to-my-plot--tp18727840p18727840.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] how to save animation
Unfortuantly this link dosen't help me. Would be please help me more clear. sa6113 wrote: Thanks for your help but there is a problem while I using this code, it raises an error : mencoder is not recognized as an internal or external command, operable program or batch file. Darren Dale-3 wrote: On Monday 30 June 2008 04:18:14 sa6113 wrote: I want to save an animation in avi format by python code, would you please help me to start in this way? At the FAQ page, http://matplotlib.sourceforge.net/faq.html , there is a section titled How do I make a movie with matplotlib? - 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- View this message in context: http://www.nabble.com/how-to-save-animation-tp18190767p18210974.html Sent from the matplotlib - users mailing list archive at Nabble.com. - 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] saving an animation using GTKAgg backend
May I use GTKAgg backend in order to save an animation. how? please help me. -- View this message in context: http://www.nabble.com/saving-an-animation-using-GTKAgg-backend-tp18211607p18211607.html Sent from the matplotlib - users mailing list archive at Nabble.com. - 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] how to save animation
I want to save an animation in avi format by python code, would you please help me to start in this way? -- View this message in context: http://www.nabble.com/how-to-save-animation-tp18190767p18190767.html Sent from the matplotlib - users mailing list archive at Nabble.com. - 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] how to save animation
Thanks for your help but there is a problem while I using this code, it raises an error : mencoder is not recognized as an internal or external command, operable program or batch file. Darren Dale-3 wrote: On Monday 30 June 2008 04:18:14 sa6113 wrote: I want to save an animation in avi format by python code, would you please help me to start in this way? At the FAQ page, http://matplotlib.sourceforge.net/faq.html , there is a section titled How do I make a movie with matplotlib? - 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- View this message in context: http://www.nabble.com/how-to-save-animation-tp18190767p18209531.html Sent from the matplotlib - users mailing list archive at Nabble.com. - 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] polyfit degree problem ?
Dear All, I have a problem using polyfit with a degree greater than 118 : The code is : matplotlib.mlab.polyfit( x, y, pow ) # pow is degree of polynomial for pow in range 118 and 238 the error is : LinAlgError, 'singular martix' and for pow greater than 237 this error raise : OverflowError : math range error -- View this message in context: http://www.nabble.com/polyfit-degree-problem---tp17032710p17032710.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] ssh options
No one to help me ?? sa6113 wrote: what options we have for performing ssh (actually scp) on Windows and Linux from Python. Note that Linux has builtin ssh/scp, hence, pexpect should be a simple option, but to the best of my knowledge Windows does not anything. I would like to see a list of options on this. Would you please help me ? -- View this message in context: http://www.nabble.com/ssh-options-tp16646647p16671478.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] ssh options
what options we have for performing ssh (actually scp) on Windows and Linux from Python. Note that Linux has builtin ssh/scp, hence, pexpect should be a simple option, but to the best of my knowledge Windows does not anything. I would like to see a list of options on this. Would you please help me ? -- View this message in context: http://www.nabble.com/ssh-options-tp16646647p16646647.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Using PIL in the Linux!
I want to use PIL in order to load from string to Image , but there is a problem , I can use PIL only in Windows platform whiles I want to use it in Linux and another Platforms. What should I do ? -- View this message in context: http://www.nabble.com/Using-PIL-in-the-Linux%21-tp16296324p16296324.html Sent from the matplotlib - users mailing list archive at Nabble.com. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] load data from string or array to Image
I have a problem to load data from string or array to Image but without using PIL , because I have to check the application in 6 different platforms like Windows 32bit, Windows X64 (64bit version), Linux 32bit, Linux 64bit x86_64, Linux IPF (Itanium Processor Family) and HP-UX 64. There is a code but I don't want to use PIL : http://mail.python.org/pipermail/image-sig/1998-October/000572.html Can I accomplish the same thing using the modules that are already on the system, or those that are pure Python (not requiring any compilation or binary download)? -- View this message in context: http://www.nabble.com/load-data-from-string-or-array-to-Image-tp16297653p16297653.html Sent from the matplotlib - users mailing list archive at Nabble.com. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Fwd: load data from string or array to Image
I use matplotlib and Backend Agg to draw a plot , I want to show this plot in my GUI in specific area (Plot area) , I need to have the image object in oder to show it, so I have to convert this plot to string or array or save in buffer and then load it to an Image , I want to know , can I accomplish this without using PIL , because I need to build, test and verify any new package added to the system on 6 different platforms, and it might take a long time and at high expertise level to add the module to our entire system. What I have to do? I can convert it to string or array with numpy or FigureCanvas or ect. , my problem is how to load this array or string to image ! Is it clear? Anthony Floyd-2 wrote: Forgot to reply-to-list... -- Forwarded message -- From: Anthony Floyd [EMAIL PROTECTED] Date: Wed, Mar 26, 2008 at 4:54 PM Subject: Re: [Matplotlib-users] load data from string or array to Image To: sa6113 [EMAIL PROTECTED] On Wed, Mar 26, 2008 at 1:33 AM, sa6113 [EMAIL PROTECTED] wrote: I have a problem to load data from string or array to Image but without using PIL , because I have to check the application in 6 different platforms like Windows 32bit, Windows X64 (64bit version), Linux 32bit, Linux 64bit x86_64, Linux IPF (Itanium Processor Family) and HP-UX 64. There is a code but I don't want to use PIL : http://mail.python.org/pipermail/image-sig/1998-October/000572.html Can I accomplish the same thing using the modules that are already on the system, or those that are pure Python (not requiring any compilation or binary download)? I went through this just a few weeks ago. Now, mind you I'm using wx and numpy already. My solution was to turn my .png into a Python string using img2py.py in the wx/tools directory. With the string, I then used the following code to return the image (a watermark) as an array that figimage() or imshow() can use directly. I'm sure the code can be optimized, but it works fast enough for me... def getWatermarkArray(): rows = 28 columns = 200 dimensions = 3 image = getWatermarkImage() # image array is a string of hex values imageString = image.GetData() imageList = [ord(item) for item in imageString] imageArray = numpy.zeros(shape=(28,200,3), dtype=numpy.float32) imageCounter = 0 for rowCounter in range(rows): for columnCounter in range(columns): for dimCounter in range(dimensions): imageArray[rowCounter][columnCounter][dimCounter] = imageList[imageCounter]/255. imageCounter += 1 return imageArray HTH, A - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- View this message in context: http://www.nabble.com/load-data-from-string-or-array-to-Image-tp16297653p16322508.html Sent from the matplotlib - users mailing list archive at Nabble.com. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] how load data to Image from String?
How use numpy in order to create Image object from string ? . . . size = canvas.get_width_height( ) buffer = canvas.tostring_rgb() img = numpy.empty(size,numpy.uint32) img = numpy.fromstring(buffer,numpy.uint32) img is an array , but I want an Image object (without using PIL ). sa6113 wrote: Would you please help me ? I want to load data to Image (QImage) from String or binary String without using PIL module . -- View this message in context: http://www.nabble.com/how-load-data-to-Image-from-String--tp15784115p15822415.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] how load data to Image from String?
I need QImage in order to display or use in GUI , for exa. in QFrame or QLabel , I can convert the Image to QImage , but the problem is that I haven't access to Image object without saving that , also I can convert the figure (Plot) to string or buffer but I don't know what should I do after that and how convert it to Image. What about numpy or Numerical Python , may I use fromstring or another function ? Or what about savining the string binary or buffer in StringIO and then convert to QImage ? Christopher Barker wrote: sa6113 wrote: Would you please help me ? I want to load data to Image (QImage) from String or binary String without using PIL module . you can load data straight into a numpy array with numpy.fromstring() -- if it's in an easy format (RGB, RGBA), then you should be able to go from there. What do you want to do with the image data? -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- View this message in context: http://www.nabble.com/how-load-data-to-Image-from-String--tp15784115p15843273.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] how load data to Image from String?
Is there anyway to use the modules that are already on the system, or those that are pure Python ? I want to show a plot that draws with backend agg in my GUI , I mean in a specified place that its type is Qlabel or QFrame , I don't want to save the plot befor show it. Christopher Barker wrote: sa6113 wrote: Would you please help me ? I want to load data to Image (QImage) from String or binary String without using PIL module . you can load data straight into a numpy array with numpy.fromstring() -- if it's in an easy format (RGB, RGBA), then you should be able to go from there. What do you want to do with the image data? -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- View this message in context: http://www.nabble.com/how-load-data-to-Image-from-String--tp15784115p15820587.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] how load data to Image from String?
Would you please help me ? I want to load data to Image (QImage) from String or binary String without using PIL module . -- View this message in context: http://www.nabble.com/how-load-data-to-Image-from-String--tp15784115p15784115.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Showing the plot in the specific location
I could return the output object of the plot as image file , would you please tell me how I have to convert image to QImage in order to use it in my GUI ? sa6113 wrote: How can I show my plot figure in the specific location or part of an application , I am using pylab. -- View this message in context: http://www.nabble.com/Showing-the-plot-in-the-specific-location-tp15545079p15648399.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Showing the plot in the specific location
I am writting an application that evaluate curve fit and draw its plot in a GUI , I want to draw or show the plot on the GUI not on the pop up window, but I don't want to save the figure in first step , user just enter an order for the curve fit and see their plots on the main window (GUI) . How can I use pylab for this purpose , does it return and QImage object for exm. ? sa6113 wrote: How can I show my plot figure in the specific location or part of an application , I am using pylab. -- View this message in context: http://www.nabble.com/Showing-the-plot-in-the-specific-location-tp15545079p15560493.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Backend Agg - show plot
Thanks alot for your help, I could show the plot on the screen on python 2.4 . I've used pyhton 2.3 . Eric Firing wrote: sa6113 wrote: How should I darw and show a plot using Backend Agg , I don't want to save figure , just show ? If you don't want to save a figure, then you will need an interactive backend--not Agg, but TkAgg or GtkAgg etc. Then you end your script with show() (imported from pylab or matplotlib.pyplot), and the plot will be diplayed on your screen. (The plain Agg backend is useful only with savefig(...) to generate png files.) Check out the examples directory in the distribution. Eric - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- View this message in context: http://www.nabble.com/Backend-Agg---show-plot-tp15527044p15542122.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Showing the plot in the specific location
How can I show my plot figure in the specific location or part of an application , I am using pylab. -- View this message in context: http://www.nabble.com/Showing-the-plot-in-the-specific-location-tp15545079p15545079.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Backend Agg - show plot
My OS is win XP and I run my program from command prompt and IDLE both , and there isn't any error. I can save the plot with (savefig) but the show() command dose not work and I can't see the plot on my screen and also I want to use Backend Agg insted of pylab. Darren Dale-2 wrote: On Sunday 17 February 2008 4:32:39 am sa6113 wrote: Thanks for your help I use the code below , but the plot wont be diplayed on my screen . matplotlib.use('TkAgg') import matplotlib.pylab as plt fig = plt.figure() ax = fig.add_subplot(111) ax.plot(x, y, marker='o', linestyle='', markerfacecolor='green') ax.set_title('Some random dots') ax.set_xlabel('x') ax.set_ylabel('y') ax.grid(True) fig.savefig('myplot.png', dpi=100) plt.show() Would you please help me ? We need more information in order to help. What OS are you using, are you running the script from a command prompt or are you running it from the IDLE editor, are there any error messages that would help diagnose the problem, we need something to go on. Eric Firing wrote: sa6113 wrote: How should I darw and show a plot using Backend Agg , I don't want to save figure , just show ? If you don't want to save a figure, then you will need an interactive backend--not Agg, but TkAgg or GtkAgg etc. Then you end your script with show() (imported from pylab or matplotlib.pyplot), and the plot will be diplayed on your screen. (The plain Agg backend is useful only with savefig(...) to generate png files.) Check out the examples directory in the distribution. Eric - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- View this message in context: http://www.nabble.com/Backend-Agg---show-plot-tp15527044p15539567.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Backend Agg - show plot
How should I darw and show a plot using Backend Agg , I don't want to save figure , just show ? -- View this message in context: http://www.nabble.com/Backend-Agg---show-plot-tp15527044p15527044.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[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: http://www.nabble.com/Curve-fitting-...-tp15369630p15369630.html Sent from the matplotlib - users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users