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

horizontal histogram plots

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Clarified
    • < v5-28-00
    • None
    • Graphics
    • None
    • All

    Description

      I would like to plot a histogram such that it is uses the vertical axis for the independent variable. The only way I've found to do this is to use the TH1 draw option HBAR. However, I do not like this option as it only makes the bar chart style.

      hist->Draw("hbar');
      

      It would be really great if we could plot horizontal versions of the other draw styles, such as e, e0, hist, L, P, etc.

      hist->Draw("h e0");
      hist->Draw("h hist ][ same");
      

      Maybe there is there is already a way to tell the plotter to use a different axis? Help!!! Please let me know if so!

      Best Regards,
      Glenn Strycker

      Attachments

        Activity

          People

            couet Olivier Couet
            strycker Glenn Strycker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: