Created
August 8, 2016 14:42
-
-
Save filipstrand/cbd9dd1940984941da397835b9052fa0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| from mpl_toolkits.mplot3d import axes3d | |
| import matplotlib.pyplot as plt | |
| from matplotlib import cm | |
| fig = plt.figure() | |
| ax = fig.add_subplot(111, projection='3d') | |
| X, Y, Z = axes3d.get_test_data(0.05) | |
| cset = ax.contour(X, Y, Z, cmap=cm.coolwarm) | |
| ax.clabel(cset, fontsize=9, inline=1) | |
| # plt.show() | |
| plt.savefig("test.svg") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment