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

gStyle->SetHistMinimumZero(1) is not persistent

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Completed
    • None
    • master, 6.18/00
    • Graphics
    • None
    • Feature request
    • 3 - Normal

    Description

      If histogram drawn after gStyle->SetHistMinimumZero(1) and produced canvas stored in the file, option is not stored with canvas. As result, same canvas loaded from file and shown looks different.

      Here two canvas from docu

      And same canvas restored from the file:

      Possible solution - introduce extra draw option "base0" which preserved in the canvas.
      If necessary, I could provide a patch for it.

      Attachments

        1. c5.png
          c5.png
          16 kB
        2. cbh.png
          cbh.png
          7 kB

        Activity

          People

            couet Olivier Couet
            slinev Serguei Linev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End:

              Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified