All or nothing error bars

DataGraph Forums Technical Support Support Desk All or nothing error bars

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4699
    jordan
    Participant

      How DG team,

      Quick question. Is there a way to reduce the number of error bars in a plot so that only every other point, or every 4th point is shown? With thousands of points in a plot, it can look a little messy. Thanks!

       

      Jordan

      #4700
      kourosh kalayeh
      Participant

        I guess one way to do it is to  use an expression column to create a mask (something like mod(#, 2)) and then use it to mask your error column.

        Kourosh

        #4703
        dgteam
        Moderator

          As suggested, use an Expression column to mask the error bar values.  You can also using a Logical in a mask directly.

          In the example below, there are two Points commands, one that only plots the points and the other that plots the points and an error bar.

          The logical statement in the mask is ‘mod(v, skip)==0’, where skip is a slider that is set to integers from 1 to 10.  This way you can interactively change the number of values you skip.

          Using Mod

          Does this help with your case?

          #4704
          jordan
          Participant

            Thanks so much, I will give it a go.

             

            #4708
            jordan
            Participant

              This solution worked beautifully. Thanks!

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.

            DataGraph Forums Technical Support Support Desk All or nothing error bars