8000 [ENH]: scatter 3D numpy array using their (x,y,z) projectories · Issue #24277 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
[ENH]: scatter 3D numpy array using their (x,y,z) projectories #24277
Closed
@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

      0