Created
July 24, 2015 14:51
-
-
Save ee08b397/6d5e82a6a8dd9d96b789 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
import matplotlib.pyplot as plt | |
from mpl_toolkits.mplot3d import Axes3D | |
xs = [10, 20] | |
ys = [1250.0, 250.0] | |
zs = [1, 2] | |
fig = plt.figure() | |
ax = fig.add_subplot(111, projection = '3d') | |
ax.plot(xs, ys, zs, color = 'b') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://stackoverflow.com/a/10573237