As of version 1.4.0, the 3d scatter plotting function gained the
"depthshade" argument that you can set to false.

http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html#scatter-plots

Cheers!
Ben Root

On Mon, Sep 22, 2014 at 11:18 AM, Gabriele Brambilla <
gb.gabrielebrambi...@gmail.com> wrote:

> 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
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to