Menu

Error bars

Phil von D
2018-10-04
2018-10-05
  • Phil von D

    Phil von D - 2018-10-04

    I run into a problem in the following scenario. I have one table with the following columns:

    X1, Y1, yEr1, X2, Y2, yEr2

    When selecting the whole table the error bars of the second set are associated with the first set. Plotting only the second data set associates the error bars correctly. Something is going wrong. Any help is appreciated.

     
    • Fellype

      Fellype - 2018-10-05

      Hi Phil,

      This is a bug. See:
      https://sourceforge.net/p/scidavis/scidavis-bugs/178/
      https://sourceforge.net/p/scidavis/scidavis-bugs/270/

      The best option at the moment is to select only the X1, Y1, yEr1, X2 and Y2 columns to plot and to add the yEr2 error bars to Y2 using the Graph menu -> Add Error Bars... (or type Ctrl + B)
      You can see more on the SciDAVis manual at https://highperformancecoder.github.io/scidavis-handbook/sec-graph-menu.html

      Best regards.

       
      • gbm

        gbm - 2018-10-05

        Hi Fellype,
        Can you try attached patch and see if it fixes the bug?

         
        • Fellype

          Fellype - 2018-10-05

          Hi Miquel!

          Yes, the patch fix the issue (tested using version 1.23.2 on Slackware; built with qt4 and python2).
          Good job.

           
  • Phil von D

    Phil von D - 2018-10-05

    Thanks a lot. It worked.

     

Log in to post a comment.