In this graph you may find plotNum, which is my enumerator or iterator. But it is quite complex and I’m wondering if there’s an easier way to put to do something like this in activities:
list.map((e, i) => ...)
and bring it into Desmos graphs using actions. Thanks
You can do list mapping in CL and define a list in the graph that you use to define actions, but may get a circular dependency if you’re using the result of the action to define the CL list.
I do see that y_{plot} is basically p_{list} reversed, so you’ve got some unnecessary calculations going on since you’re just reversing y_plot anyway for your point list (i.e. just use p_{list} and you can remove y_{plot} entirely).
Positive self talk! There are many times I’ve completely restarted graphs because I got tunnel vision following one idea only to realize there was a ridiculously simpler solution!