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

Some histograms with custom axes and error bars not displayed on log-log canvas

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.20/02
    • Fix Version/s: 6.20/06
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      Gentoo Linux, gcc 9.2.0

    • Development:

      Description

      ROOT 6.20/02 no longer correctly renders histograms with custom bins and custom error bars, on a canvas with a logarithmic horizontal axis. With ROOT 6.18/04, both attached test cases work as expected, rendering the histogram. However, with ROOT 6.20/02, testcase3.C fails, in that the histogram is not visible on the canvas, while the axes are drawn as expected. Two additional things to note: (1) the rendering issue not only affects the GUI, but also exporting to PDF; (2) the histogram appears to still exist on the canvas. By moving the mouse over the canvas, I can see the cursor change, and I can right click the histogram.

      The histogram appears in 6.20/02 after switching the horizontal axis to linear.

      Apologies for the long testcase. It was created by exporting an existing data histogram.

      I am not sure with which gcc version my ROOT 6.18/04 installation was built.

        Attachments

        1. testcase3.C
          36 kB
        2. testcase4.C
          21 kB

          Activity

            People

            • Assignee:
              couet Olivier Couet
              Reporter:
              84dd1c39e16b8acd4e09 Fabian Kislat
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: