On Thu, Dec 27, 2012 at 10:08 AM, Diego Avesani wrote:
>
> 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
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
On Thu, Oct 14, 2010 at 4:54 AM, Pedro M. Ferreira
wrote:
> 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
> follo
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 matplotl
On Wed, Oct 13, 2010 at 5:46 PM, Pedro M. Ferreira
wrote:
> 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 kwarg
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:
ax.sca