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

Drawing with col2 and colz2 modifies fMaximum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Clarified
    • Affects Version/s: 6.06/08
    • Fix Version/s: None
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      Linux

      Description

      If one uses "col2" or "colz2", the value of TH1::fMaximum gets modified. This deviates from the behavior of "col" or "colz" and leads to some interesting behaviors occassionally. A script ( script.C) is attached that demonstrates the behavior. A demonstration of how to run the test and the output of the problem is below.

      {{
      root [0] .L test_col2.C
      root [1] test_step1()
      stored min = -1111
      stored max = -1111
      root [2] test_step2()
      stored min = -1111
      stored max = 1
      }}

        Attachments

        1. patch.txt
          1 kB
        2. script.C
          0.5 kB
        3. THistPainter.cxx
          374 kB

          Activity

            People

            Assignee:
            couet Olivier Couet
            Reporter:
            f19db89733b3abaecaf3 Jeromy Tompkins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: