Skip to content

[graph] 5D scatter plot #16376

@ferdymercury

Description

@ferdymercury

Feature description

I wanted to propose an extension of the 4D scatter plot (xyz color) shown here:
https://root-forum.cern.ch/t/mark-different-regions-in-a-3d-scatter-plot/20501/5?u=ferhue

but using an additional column "size", which controls the size of the marker for each point.

Alternatives considered

  • A TScatter2D deriving from TScatter would do the job, if there was an additional column for the Z coordinate, and if it could be drawn in 3D rather than a 2D map.

  • TGraph2D with PCOLZ already does XYZ, but color == Z,
    so a TGraph3D could make color indepent of Z and TGraph4D the additional marker size.

Additional context

This feature works without problem in MATLAB, see https://fr.mathworks.com/matlabcentral/answers/1461764-5d-data-with-scatter3#answer_796239
as well as Javascript: https://plotly.com/javascript/3d-scatter-plots/

Example of the output:

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions