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

Redrawing of axis label with TLatex text fails

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.06/06
    • 6.08/00
    • Graphics
    • None
    • ROOT 6.06/04 and 5.34/18

    Description

      If using special characters in axis labels, redrawing of it fails. If using

        auto hist = new TH1F("name","title",1,0,1);
        hist->GetXaxis()->SetBinLabel(1,"t#bar{t} hadronic");
        hist->Draw();
        gPad->RedrawAxis(); //trigger the bug

      The last line will trigger the addition of a spurious line on top of the label.

      Attachments

        Activity

          People

            couet Olivier Couet
            escalier Marc Escalier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: