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

SetRangeUser sometimes does not work with log scale and negative axis values

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Low
    • Resolution: Clarified
    • 6.06/04
    • None
    • Graphics
    • None
    • Mageia 5 64-bits

    Description

      Hi, as described here,the method SetRangeUser sometimes does not work.
      The problem is illustrated with the ROOT file I attached

      c->Draw()
      mg->GetXaxis()->SetRangeUser(14,1000)

      Then click on the upper pad to see that nothing happened for the xmin value.

      However, if you type

      mg->GetXaxis()->SetRangeUser(15,1000)

      the axis is modified while you have clicked on the pad.

      Note that both commands work fine if the axis is in linear scale.

      Attachments

        Activity

          People

            couet Olivier Couet
            4aa1957e0394b6104dd6 Olivier Delaune
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: