1.3.1
I'm using Anaconda...do you know if do a package exist of Anaconda with
1.4.0?
thanks
Gabriele
2014-09-22 17:47 GMT+02:00 Benjamin Root <ben.r...@ou.edu>:
> quite likely. To know for sure, run the following in the command-line:
>
> python -c "import matplotlib; print matplotlib.__version__"
>
>
> On Mon, Sep 22, 2014 at 11:42 AM, Gabriele Brambilla <
> gb.gabrielebrambi...@gmail.com> wrote:
>
>> If it returns this means that I have an older version?
>>
>> Traceback (most recent call last):
>> File "dataMODEL.py", line 99, in <module>
>> ax.scatter(np.log10(NP), np.log10(NB*10**12), np.log10(NL), c='b',
>> marker='o
>> ', depthshade=False)
>> File "C:\Anaconda\lib\site-packages\mpl_toolkits\mplot3d\axes3d.py",
>> line 2180
>> , in scatter
>> patches = Axes.scatter(self, xs, ys, s=s, c=c, *args, **kwargs)
>> File "C:\Anaconda\lib\site-packages\matplotlib\axes.py", line 6312, in
>> scatter
>>
>> collection.update(kwargs)
>> File "C:\Anaconda\lib\site-packages\matplotlib\artist.py", line 739, in
>> update
>>
>> raise AttributeError('Unknown property %s' % k)
>> AttributeError: Unknown property depthshade
>>
>>
>> 2014-09-22 17:27 GMT+02:00 Benjamin Root <ben.r...@ou.edu>:
>>
>>> 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