3 axes plot, and histograms in 2D

Hi, I recently sent a mail to matplotlib-users regarding the

    > availability of 3 axes plots and histograms in 2/N D and got
    > no feedback. I understand this may not be a very exciting
    > issue but if anybody has any input there (see below), it
    > would be welcome. Thanks in advance!!

I was out of the country and my mail server died, so I missed some
messages...

    > Eric ============================================= 3 axes
    > plot ======== The more I am using matplotlib, the more I
    > like it. But using it more means I more often hit the limits
    > of the code, so I was wondering if there is any plan for a
    > routine to plot data points w.r.t 3 axes (so a perspective
    > scatter plot with x,y,z, data and a viewing angle). Of
    > course another (maybe more difficult) goal would be to be
    > able to draw surfaces, but already a simple scatter plot in
    > 3D would help tremendously there (I realize the concept of
    > "axis" has then to be revised, but well I have no idea how
    > much effort this is).

    > (if there is no - coming - plan for this, is there any way
    > around it?)

There is a lot of interest in this -- at least three of the developers
besides me have expressed interest in working on this, so hopefully we
can get something going. Maybe sometime this summer...

    > Any hint there (I realize this is more a numarray question
    > but I thought of first asking your community first since
    > someone may have done it already)? And maybe also of how to
    > generalize this in N dimensions? (for 1D matplotlib has the
    > hist function..)

The plotting part for a 2D hist would be fairly easy (as a pcolor or
image). Is there no Nd histogram function in scipy or numarray?

JDH

Turns out that given a 1-d histogram function, it's pretty straightforward to write a reasonably efficient n-d function in Python using it in a few lines of code. I thought numarray had one (perhaps in the image stuff) but I'll have to check, scipy I thought did as well.

Perry

···

On Apr 27, 2005, at 9:58 AM, John Hunter wrote:

The plotting part for a 2D hist would be fairly easy (as a pcolor or
image). Is there no Nd histogram function in scipy or numarray?