On Thu, Dec 27, 2012 at 10:08 AM, Diego Avesani diego.aves...@gmail.comwrote:
dear all,
this is my code:
*import numpy as np*
*import matplotlib.pyplot as plt*
*from mpl_toolkits.mplot3d import Axes3D*
*data1Dx = np.genfromtxt('output.dat')*
*xp = data1Dx[:,0]*
*yp = data1Dx[:,1]*
dear all,
this is my code:
*import numpy as np*
*import matplotlib.pyplot as plt*
*from mpl_toolkits.mplot3d import Axes3D*
*data1Dx = np.genfromtxt('output.dat')*
*xp = data1Dx[:,0]*
*yp = data1Dx[:,1]*
*zpA = data1Dx[:,1]*0+5*
*CA = data1Dx[:,2]*
*CB = data1Dx[:,3]*
*# Create Map*
*cm
Well, it did help at least to understand a bit more, although I still
fail to do it.
The code in the file axes3d.py says that keyword arguments passed to
scatter3D are passed on to matplotlib.scatter, so I would expect the
following two figures to work similarly in terms of color:
import
On Thu, Oct 14, 2010 at 4:54 AM, Pedro M. Ferreira
pmffferre...@gmail.comwrote:
Well, it did help at least to understand a bit more, although I still
fail to do it.
The code in the file axes3d.py says that keyword arguments passed to
scatter3D are passed on to matplotlib.scatter, so I would
Hi All,
I have been trying to make a 3D scatter plot using mplot3d and I would
like the markers to have their colour according to the Z value.
From what I understood in the tutorial and API I have to use the cmap
and norm kwargs, but all my attempts failed.
I am trying to do it like this:
On Wed, Oct 13, 2010 at 5:46 PM, Pedro M. Ferreira
pmffferre...@gmail.comwrote:
Hi All,
I have been trying to make a 3D scatter plot using mplot3d and I would
like the markers to have their colour according to the Z value.
From what I understood in the tutorial and API I have to use the cmap