Plotting selected row(s) from 2D data

DataGraph Forums General Getting Started Plotting selected row(s) from 2D data

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8888
    redhyka
    Participant

      I have 2D data with many rows and colums  look like this (in excel) :

      Screen Shot 2022-06-14 at 17.51.42

      Is it possible plot line only selected row(s) for data in all columns?
      I found mask but, it is exhaustive to create for each column one by one.

      Thanks.

      Grace

      • This topic was modified 2 years, 6 months ago by redhyka. Reason: clarification
      #8890
      redhyka
      Participant

        Nevermind, I found a solution.

        I flattened all the columns , and then plot the value vs category, and then mask using the selected row(s)

        #8891
        davidwhiteman@mac.com
        Participant

          Good. Sounds like you found a solution. Here is another way. Select the x and y columns to be plotted and use the Plots command and its Mask sub-command as shown in the following figure in which the # column is used to select the rows of interest:

          Screen Shot 2022-06-14 at 10.13.46 AM

          Hope this helps.

          -Dave Whiteman

          #8892
          dgteam
          Moderator

            Just wanted to point out the “Plot” command would require the flat format and then mask as needed.  And the “Plots” command, as shown nicely above, can work with a wide format.

            For anyone that wants to learn about the difference in formats see: How to flatten data.

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

          DataGraph Forums General Getting Started Plotting selected row(s) from 2D data