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

TGraph draw with "C" options gives wrong output with log scale

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Clarified
    • Affects Version/s: 6.12/06, 6.18/04
    • Fix Version/s: None
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      Tested with macOS 10.15.3, SL6, SL7

    • Development:

      Description

      The output of TGraph::Draw with option "C" seems wrong when the log scale is used.
      An example macro to reproduce the issue is attached (test_draw_cont.C), and consists in sampling a generic exponential sum shape and drawing the resulting graph with option "C".
      While all is OK with a linear scale, in log scale an artificial "bump" appears close to the maximum.
      The output of the test code is also attached to illustrate the problem.

        Attachments

          Activity

            People

            • Assignee:
              couet Olivier Couet
              Reporter:
              lcadamur Luca Cadamuro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: