Skip to content

[ENH]: scatter 3D numpy array using their (x,y,z) projectories #24277

@Firestar-Reimu

Description

@Firestar-Reimu

Problem

I often come across the situation where I have some 3d numpy array like: data = np.random.rand(10, 10, 10).

Is there any way I can scatter data using their (x,y,z) projectories. for example: data(1,1,4) = 514, and make a 3D plot which plots point(1,1,4) as the color data cdata corresponding to the value 514.

What is the pythonic way to go from data to x, y, z and cdata?

Proposed solution

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy