Re: [Matplotlib-users] legends in 3D plots

2013-05-28 Thread Benjamin Root
On Tue, May 28, 2013 at 3:50 AM, Nils Wagner wrote: > Hi all, > > I would like to add a legend to a 3D plot. > However, the legend ist not visible in the example given below. > Am I missing something ? > > Nils > > import numpy as np > from mpl_toolkits.mplot3d import Axes3D > import matplotlib.p

[Matplotlib-users] legends in 3D plots

2013-05-28 Thread Nils Wagner
Hi all, I would like to add a legend to a 3D plot. However, the legend ist not visible in the example given below. Am I missing something ? Nils import numpy as np from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import random def fun(x, y): return x**2 + y def fun1(x,