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

Some data points of a TGraph2D are not drawn properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.08/00
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      OS X 10.11.6 (15G1108)
      Clang� Apple LLVM version 8.0.0 (clang-800.0.42.1)

      The same happens on SL7 with GCC�

      Description

      Some data points with a Y value of -11.8140 of the TGraph2D in the attached file are not drawn in the canvas.

      {{$ root graph.root
      root [0]
      Attaching file graph.root as _file0...
      (TFile *) 0x7feb6b905920
      root [1] .ls
      TFile** graph.root
      TFile* graph.root
      KEY: TGraph2DErrors Graph2D;1 Graph2D
      root [2] Graph2D
      (TGraph2DErrors *) 0x7feb6a4dbd00
      root [3] Graph2D->Draw("pcol")
      root [4] Graph2D->GetN()
      (Int_t) 3596
      root [5] Graph2D->GetX()[3595]
      (Double_t) -6.15436
      root [6] Graph2D->GetY()[3595]
      (Double_t) -11.8140
      root [7] Graph2D->GetZ()[3595]
      (Double_t) 109.216}}

      For example, the last point retrieved in the above commands is not drawn, while only point �3523 among the points with Y of -11.8140 is drawn.

      {{root [17] Graph2D->GetY()[3523]
      (Double_t) -11.8141
      root [18] Graph2D->GetX()[3523]
      (Double_t) -13.3549
      root [19] Graph2D->GetZ()[3523]
      (Double_t) 109.214}}

        Attachments

        1. c1.png
          c1.png
          94 kB
        2. graph.root
          36 kB
        3. Screen Shot 2016-11-11 at 10.02.12.png
          Screen Shot 2016-11-11 at 10.02.12.png
          482 kB

          Activity

            People

            Assignee:
            couet Olivier Couet
            Reporter:
            5634f7f540ef3ba1605e oxon@mac.com
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual Start:
              Actual End: