Select range values

DataGraph Forums Technical Support Support Desk Select range values

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2810
    joem
    Participant

      Hello,

      I have 2 columns of values to create a stress-strain curve.

      I would like to select a certain number of values to create a linear fit (let’s say in the first 50 values) to find the angular coefficient (Modulus of Elasticity).

      Is it possible without creating 2 new columns with just the values I need?

      #2811
      dgteam
      Moderator

        Yes – there are a couple of ways to limit the data included.  Here is what I would recommend for the specific example of wanting the first 50 rows.

        Say you have a Fit command and a Points command drawing the data …

        Mask-on-Fit

        If you expand the fit you can see how many points are included.  There is also a place to add a filter, or ‘Use as Mask’.  By default, it is set to ‘Fit all’.

        Mask-on-Fit1

        Masks allow you to set up a logical statement for including or excluding data based on some criteria.

        Create a Mask in the Fit command

        Step 1:  Set the Use as Mask menu to the ‘#’ row counter.

        Step 2: Select the logical criteria,  ‘≤’

        Step 3:  Select the number to compare to, ’50’

        When you are done, note the change in the same size.

        Mask-on-Fit2

        The problem with creating the mask in the Fit command is that now the Points command would show all the data, while the Fit is only a portion.

        You can add the same criteria to the Points command, but another way is to use a group.

        Create the mask at the group level

        Step 1: Select both commands (Points & Fit) (hold down the shift-key and click each)

        Step 2:  Click the Group icon short-cut on the right side of the tool bar.  This places both commands in a common group.

        Group-Icon

        Step 3:  Create a shared mask at the group level …

        Mask-on-Fit5

        Now the points that are plotted have the same filter as the fit.

        Does this make sense?

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

      DataGraph Forums Technical Support Support Desk Select range values