Using a list as independent variable in graph component

Why is it that I cannot use a list for the independent variable of a table within a graph component? I want my students to fill in a table on a slide and then create a scatterplot of the table and have students practice creating a line of best fit using y1~ax1+b, thus I need the table to be within the graphing component. I can use numberList(“y_1”): table1.columnNumericValues(2) to autogenerate the y-values but I can’t do this for the x-values because tables always say “This column header can’t be defined elsewhere in the calculator”

1 Like

If you just want the points graphed, you don’t need to use a table in the graph:

1 Like

That works. Then, you can still use x1 and y1 in your regression formula.