Skip to content

Instantly share code, notes, and snippets.

@ee08b397
Created July 24, 2015 14:51
Show Gist options
  • Save ee08b397/6d5e82a6a8dd9d96b789 to your computer and use it in GitHub Desktop.
Save ee08b397/6d5e82a6a8dd9d96b789 to your computer and use it in GitHub Desktop.
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()
@ee08b397
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment