[Matplotlib-users] matplotlib and matlab figures?
Hi all. Hi all. Can I open matlab figure in matplotlib without conversion in any other format? I am 90% sure the answer for my question if not. But I give a 10% lazy hope that it is possible. Thanks -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] matplotlib and matlab figures?
On Jan 24, 2012, at 6:06 AM, Piter_ wrote: > Hi all. > Hi all. Can I open matlab figure in matplotlib without conversion in > any other format? > I am 90% sure the answer for my question if not. But I give a 10% lazy > hope that it is possible. No, and there are no plans to support it. We want to provide a fairly easy mental map for people familiar with matlab to use matplotlib, but don't expend any effort on full compatibility, eg running m-files and opening fig files. For that degree of compatibility, there is matlab itself and octave. JDH -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Plotting contour in X-Z plane
Hi Eric, First, thanks for the sample - I agree that it's a neat example and I really appreciate the help. Second, I've tried to adapt your code to my specific situation and I'm running into a problem: it's not printing all the levels that I'm specifying. Do you have any insights into why? I can't seem to find any documentation on the cntr.cntr method, so I'm just trial-and-erroring it for now. I'd like it to print more than 6 contour levels (why did you have this limit?), so I changed your error statement. I've also used a 10x10x10 grid, and put in my own data for the 'v' set. Also, I've simplified it so that it's only displaying in the X-Y plane, and so that it's only displaying one "slice" in that plane. I'm asking it to display contours every 0.1, between 3.0 and 4.0, but some contours are missing, and come up as empty arrays when I print 'c'. I've uploaded the modified file. http://old.nabble.com/file/p33197575/cntr3d_alw.py cntr3d_alw.py Thanks! Amanda -- View this message in context: http://old.nabble.com/Plotting-contour-in-X-Z-plane-tp33168965p33197575.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Course "Python for Scientists and Engineers" in Chicago
Course "Python for Scientists and Engineers" in Chicago === There will be a comprehensive Python course for scientists and engineers in Chicago end of February / beginning of March 2012. It consists of a 3-day intro and a 2-day advanced section. Both sections can be taken separately or combined. More details below and here: http://www.dabeaz.com/chicago/science.html Please let friends or colleagues who might be interested in such a course know about it. 3-Day Intro Section --- - Overview of Scientific and Technical Libraries for Python. - Numerical Calculations with NumPy - Storage and Processing of Large Amounts of Data - Graphical Presentation of Scientific Data with matplotlib - Object Oriented Programming for Scientific and Technical Projects - Open Time for Problem Solving 2-Day Advanced Section -- - Extending Python with Other Languages - Unit Testing - Version Control with Mercurial The Details --- The course is hosted by David Beazley (http://www.dabeaz.com). Date: Feb 27 - Mar 2, 2012 Location: Chicago, IL, USA Trainer: Mike Müller Course Language: English Link: http://www.dabeaz.com/chicago/science.html -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Problem with cachedRenderer
Hi all, I have some old custom code for generating videos from matplotlib (not using the animation module). It used to work, but is now failing. Here is what I am doing: --- import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax = fig.add_subplot(111) im = ax.imshow(np.zeros((100, 100))) fig.canvas.draw() ax.draw_artist(im) -- ... and draw_artist from axes.py then gives me an AssertionError because no renderer is found (assert self._cachedRenderer is not None). Right now I am using matplotlib 1.0.1 and I think that the above used to work with older versions in matplotlib. See e.g. http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg06598.html Any ideas? Cheers Andi -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users