# Clearing Data Input for a Graph (Stem & Leaf Plot)

**URL:** <https://cl.desmos.com/t/clearing-data-input-for-a-graph-stem-leaf-plot/7870>\
**Category:** Questions\
**Created:** [April 2, 2025, 2:12pm UTC](https://cl.desmos.com/t/clearing-data-input-for-a-graph-stem-leaf-plot/7870 "2025-04-02T14:12:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CAITLIN\_ADAMS](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/caitlin_adams/32/4323_2.png) [@CAITLIN\_ADAMS](https://cl.desmos.com/u/CAITLIN_ADAMS)\
**Post date:** [April 2, 2025, 2:12pm UTC](https://cl.desmos.com/t/clearing-data-input-for-a-graph-stem-leaf-plot/7870/1 "2025-04-02T14:12:48Z")

</div>

I have frankensteined several desmos activities to help cover the content of our curriculum. We are focusing on Data Displays, and I found a great desmos activity that showed Stem & Leaf plots. Unfortunately, have been having a BEAR of a time to get slide 3 to clear if students’ put the wrong answers in. I have tried several different sinks to try and reset the input to no avail. Any suggestions? Pretend I’m pretending to be a programmer, but really I’m just an overworked overwhelmed teacher trying to prevent kids from skipping over their work and submitting blank assignments.

> **[CPM 8.1.1 - Different Types of Data Displays • Activity Builder by Desmos...](https://teacher.desmos.com/activitybuilder/custom/643d3751a045ee346ece48bc?utm_campaign=share&utm_content=activity)**
>
> Students will explore different types of data displays (Box Plot, Histograms, Stem & Leaf Plots) and determine which one helps best display data.

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [April 2, 2025, 9:52pm UTC](https://cl.desmos.com/t/clearing-data-input-for-a-graph-stem-leaf-plot/7870/2 "2025-04-02T21:52:02Z")

</div>

When you say “reset the input”, do you mean you want the `capture` lists to be cleared? That is not possible.

Strategies will depend on when/how you want the reset to occur. Do you want it to clear after the animation of an incorrect answer? Do you want everything to clear or just the incorrect parts? You can, for example, filter the numberList that’s sent into the graph by correctness if you want to keep correct answers. More complex would be capturing the index of the last incorrect answer in order to constrain the list to entries _after_ that one.
