Re: [Matplotlib-users] Use _cntr.so in fortran?
_cntr.so has been deprecated (it might take a couple of releases before we remove it entirely). _contour.so has a newer, better interface and comes with a python wrapper. Don't know if that is an issue at all for you, just noting that is the case. I might also suggest looking at scikit-image, as I think it has some contouring algorithms that might be easier to link to. Ben Root On Thu, Jun 25, 2015 at 2:28 PM, Sterling Smith smit...@fusion.gat.com wrote: The contour finder in matplotlib is more robust than I currently have in a legacy fortran project. I would like to link to matplotlib’s instead. Has anyone done this before? Are there any suggestions or pitfalls for proceeding? Thanks, Sterling -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] fmt_xdata / fmt_ydata on polar plot?
Is there any way to do this? The example here works in Cartesian coordinates: http://matplotlib.org/examples/pylab_examples/coords_report.html but if you change subplots() to subplots(subplot_kw={'polar':True}) Then the millions() function is never even called. Thanks, Alex -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] How can I visualize a landscape which I have sample heights of?
hi! do a delaunay triangulation http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.spatial.Delaunay.html on them. also try to do the triangulation only on the xy coordinates and see which of both gives the results you like more. best, p justonium justinorth...@gmail.com schrieb am Do., 25. Juni 2015 um 05:21 Uhr: I have a set of three dimensional coordinates, each of which is on a landscape. I would like to visualize the entire landscape. I've already tried plotting the points in 3D space using Axes3D.scatter, but I just see a bunch of points, and it's hard to visually understand what's going on. Ideally, I would like to view a wireframe plot. In order for this to be drawn, height values will need to be interpolated from the samples that I have, which don't line up with a grid. Another solution might be: For each point, draw a vertical line from it, straight down, to a point below it which has the same x and y coordinates, with 0 as the z coordinate. This might still be difficult to visually understand. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/How-can-I-visualize-a-landscape-which-I-have-sample-heights-of-tp45834.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] How can I visualize a landscape which I have sample heights of?
The mplot3d tutorial page, which is the first result when you google 'mplot3d', includes a section on 'Tri-surface plots' and is precisely what you are looking for. You certainly do not need to use scipy. Matplotlib includes its own Delaunay triangulator, as specified in the 'triangular grids' documentation, which is the first result when you google 'matplotlib triangulation'. Ian On 25 June 2015 at 12:22, Philipp A. flying-sh...@web.de wrote: hi! do a delaunay triangulation http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.spatial.Delaunay.html on them. also try to do the triangulation only on the xy coordinates and see which of both gives the results you like more. best, p justonium justinorth...@gmail.com schrieb am Do., 25. Juni 2015 um 05:21 Uhr: I have a set of three dimensional coordinates, each of which is on a landscape. I would like to visualize the entire landscape. I've already tried plotting the points in 3D space using Axes3D.scatter, but I just see a bunch of points, and it's hard to visually understand what's going on. Ideally, I would like to view a wireframe plot. In order for this to be drawn, height values will need to be interpolated from the samples that I have, which don't line up with a grid. Another solution might be: For each point, draw a vertical line from it, straight down, to a point below it which has the same x and y coordinates, with 0 as the z coordinate. This might still be difficult to visually understand. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/How-can-I-visualize-a-landscape-which-I-have-sample-heights-of-tp45834.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Use _cntr.so in fortran?
The contour finder in matplotlib is more robust than I currently have in a legacy fortran project. I would like to link to matplotlib’s instead. Has anyone done this before? Are there any suggestions or pitfalls for proceeding? Thanks, Sterling -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] ANN: pytest-mpl v0.2
Hi everyone, I have just released a small plugin for py.test that wraps the image comparison functionality in matplotlib.testing, for use in other packages that use py.test as the testing framework instead of nose: https://github.com/astrofrog/pytest-mpl The idea is to make it easy to write a test such as: @pytest.mark.mpl_image_compare def test_succeeds(): fig = plt.figure() ax = fig.add_subplot(1,1,1) ax.plot([1,2,3]) return fig which can then be run in three ways: - Running py.test as usual will simply check the tests run but won't check whether the figure is correct. - Running py.test with the --mpl option will make sure that the figure produced by the test is the same as a reference image - Running py.test with the --mpl-generate-path option will generate the reference images from the tests themselves. There are a number of other options, including ways to pass arguments to savefig, customizing the image names, or setting the tolerance for the comparison. All the documentation is contained in the README.md file: https://github.com/astrofrog/pytest-mpl/blob/master/README.md You can install this plugin with: pip install pytest-mpl I would welcome any feedback and/or contributions! Cheers, Tom -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Use _cntr.so in fortran?
Also keep in mind that we consider all of the c extensions to be part of the private api and do not worry so much about breaking them. Tom On Thu, Jun 25, 2015, 3:45 PM Benjamin Root ben.r...@ou.edu wrote: _cntr.so has been deprecated (it might take a couple of releases before we remove it entirely). _contour.so has a newer, better interface and comes with a python wrapper. Don't know if that is an issue at all for you, just noting that is the case. I might also suggest looking at scikit-image, as I think it has some contouring algorithms that might be easier to link to. Ben Root On Thu, Jun 25, 2015 at 2:28 PM, Sterling Smith smit...@fusion.gat.com wrote: The contour finder in matplotlib is more robust than I currently have in a legacy fortran project. I would like to link to matplotlib’s instead. Has anyone done this before? Are there any suggestions or pitfalls for proceeding? Thanks, Sterling -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users