Points on the line chart show error bars

DataGraph Forums General Getting Started Points on the line chart show error bars

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5973
    zsw0414
    Participant

      1.When I draw a line chart (such as the picture below), how to make this line chart with error bars.截屏2021-02-22 下午7.13.07

       

      2.How to make this two-line alignment comparison effect, as shown in the figure below.

      截屏2021-02-22 下午7.14.33

      #5994
      dgteam
      Moderator

        We just added an article to explain How to add Error Bars.

        To add lines at specific locations you can use the Lines command and specify the extent of the line.

        Does this help?

         

        #5996
        zsw0414
        Participant

          It means that I first calculate the error value on the line chart and then add it to the line, right?

          #5998
          dgteam
          Moderator

            The Plot command does not perform any calculation, only draws data as specified in the table, so yes, you must have a column with the error value calculated.

            If you need to calculate use the Pivot command to group the data and calculate the means and error.  Then the Pivot command can output these values to the table for plotting.

            There are several examples files that demonstrate.  Try searching “Pivot mean SEM”.

            Pivot

            #6493
            jose silva
            Participant

              I have the confidence interval calculated (low and upper values). How can I use plot to fill the space between the main line and the confidence intervals with a different color while keeping the main line visible?

              #6496
              dgteam
              Moderator

                1111

                Do you mean something like this?envelope2

                The envelope here is drawn by using the upper and lower values in the data table.  This is done with one Plot command, in which you have to specify the column that the fill goes between, in this case the lower.

                envelope

                We just added a new example file that has this graph and a couple of other examples.

                Also make sure the line you want to show over is the last command in the list.  Each command is drawn in order.

                Does this help?

                 

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

              DataGraph Forums General Getting Started Points on the line chart show error bars