Skip to content

Instantly share code, notes, and snippets.

@leomao
leomao / 3dplot.py
Created April 26, 2014 15:08
3dplot
#! /usr/bin/env python
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import cm
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
file = open("map1.txt")