This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
================================= | |
3D heart shape in matplotlib | |
================================= | |
Demonstrates how to plot a 3D function in cartesian coordinates. | |
Uses the marching cubes algorithm in scikit-image to obtain a isosurface. | |
Example contributed by CAChemE.org | |
Adapted from: http://www.walkingrandomly.com/?p=2326 | |
''' |