Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10876

Cannot reproduce CJUST behaviour of the TPaletteAxis documentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: High
    • Resolution: Clarified
    • Affects Version/s: 6.18/04
    • Fix Version/s: None
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      Tested on:

      • macOS 10.14.6 
      • kubuntu 16.04

       

    • Development:

      Description

      Dear experts,

      I am trying to make 2D plots with a custom Z-axis. I would like to be able to define custom ranges. I've found a nice example to get started on https://root.cern.ch/doc/master/classTPaletteAxis.html.

       

      However I do not obtain the same result as what's on the documentation by running the example. Instead I get a linear scale on the palette on the right (see attached plot). Do you know if something should be adapted for this to work? For example through the gStyle pointer?

       

      Best,

      Quentin

       

        Attachments

          Activity

            People

            • Assignee:
              couet Olivier Couet
              Reporter:
              qbuat Quentin Buat
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: