Welcome back – extract variables from fit to then plot

DataGraph Forums General Getting Started Welcome back – extract variables from fit to then plot

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #301
    pjuk
    Participant

      Firstly I’m pleased that the forums are back up and I’m happy to see that good progress has been made with the beta releases!

      What I’m looking to do is to extract one of the parameters from a series of fits (namely the slope from a linear fit) and then somehow populate a column so that I can generate another plot from this data. Is this possible?

       

      #303
      dgteam
      Moderator

        Hi!  Glad you are on the forum!

        You can do this. I just uploaded a simple example to the on-line examples, using three regressions and plotted the fit parameters in a bar graph.

        onlineexamples

        Basically, you extract the fit parameters into the global variables. Then type the variable names into a number column, back in the data table.  Details are in the file …

        Is this the kind of thing you wanted to do?  I’m also curious as to approximately how many regressions you want to compare.

        This approach can be scaled up, but could get tedious for say, more than 10 plots.

        Pamela

        Summary

        #305
        pjuk
        Participant

          This is perfect. I wasn’t aware of populating the cells by referencing the variables like this – it makes sense now. I’m not looking at a huge amount of fits, maybe 10-20 in total so yes it is slightly tedious but it gives me immediate access to play with fits to see how they behave as a group.

          On a slightly different topic, is there a way to copy a selection of cells in a column and paste them into other rows? I’m tending to go between Excel and DataGraph to create my data.

          The reason for this is that in some instances I’d like to fit a master curve to all my data on the graph (but also maintain individual fits) i.e. 3 datasets (x,y) which each have a separate fit, but then I want to fit a curve to all the data on the plot.

          • This reply was modified 5 years, 3 months ago by pjuk.
          #977
          pjuk
          Participant

            *bump*

            Any advice on the other question?

            #1017
            dgteam
            Moderator

              Thanks for the bump 🙂

              Do you mean like this … You want to copy the data from the B group and Paste into A.

              Step 1 – Highlight the columns and command-C to copy

              copy

              Step 2 – Highlight the last row

              copy-row

              Step 3 – Command -P to paste

              This brings up an interface where you can change the location where the data will be placed by dragging the ends of the arrow.  In this case, this is what we want ….

              so click the Import button ….

              copy-drag

              Done!

              copy-paste

              Is that what you wanted to do?

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

            DataGraph Forums General Getting Started Welcome back – extract variables from fit to then plot