|
From: Gabriele B. <gb....@gm...> - 2014-09-22 15:18:45
|
Hi I'm trying to use a 3d scatter plot.
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
from matplotlib import cm
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.scatter(np.log10(NP), np.log10(NB*10**12), np.log10(NL), c='k')
ax.scatter(np.log10(NPd), np.log10(NBd), np.log10(NLd), c='b')
I would like that the dots that appear are all of the same color not in
shades of black ('k') or shades of blue ('b') but I don't know how to do it.
thanks
Gabriele
|