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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Clarified
    • 6.12/06, 6.18/04
    • None
    • Graphics
    • None
    • Tested with macOS 10.15.3, SL6, SL7

    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

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

            Dates

              Created:
              Updated:
              Resolved: