Skip to content

THStack plotting 2D histogram with PADS option #382

@Quark-X10

Description

@Quark-X10

I am trying to use THStack to plot side by side multiple 2D histograms as heatmaps (with COL(Z) option).
Multiple histograms are added to the stack without a specific draw option and then THStack is drawn with "PADS COLZ".
Doing so with TH2D works perfectly fine but with TProfile2D it produces empty plots.
X axis and stats box is drawn correctly but the Y and Z axis are absent and the plot is blank.
The TProfile2Ds can be plotted individually perfectly fine.
My tests were made with jsroot 7.10.0 and root 6.38.00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions