[ENH]: scatter 3D numpy array using their (x,y,z) projectories · Issue #24277 · matplotlib/matplotlib · GitHub
Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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