# Help with plotting points code

**URL:** <https://cl.desmos.com/t/help-with-plotting-points-code/3005>\
**Category:** Questions\
**Created:** [March 26, 2021, 5:16pm UTC](https://cl.desmos.com/t/help-with-plotting-points-code/3005 "2021-03-26T17:16:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarah\_Doody](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sarah_doody/32/2108_2.png) [@Sarah\_Doody](https://cl.desmos.com/u/Sarah_Doody)\
**Post date:** [March 26, 2021, 5:16pm UTC](https://cl.desmos.com/t/help-with-plotting-points-code/3005/1 "2021-03-26T17:16:52Z")

</div>

I can’t seem to get the grade #2 slide to work so that it counts finding each coordinate as a point towards the grade. Can someone check my code and help me?  
[https://teacher.desmos.com/activitybuilder/custom/605b6466d9a9800b00276565](https://teacher.desmos.com/activitybuilder/custom/605b6466d9a9800b00276565)

---

<div class="post-metadata">

**Author:** ![cwinske](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/cwinske/32/3106_2.png) [@cwinske](https://cl.desmos.com/u/cwinske)\
**Post date:** [March 28, 2021, 11:07am UTC](https://cl.desmos.com/t/help-with-plotting-points-code/3005/2 "2021-03-28T11:07:06Z")

</div>

I usually use lists if many points need to checked. I made some modifications to the graph to show that. You can copy and paste this graph’s URL into an expression line in your previous activity to overwrite it so you don’t need to copy and paste each line.

> **[Desmos | Graphing Calculator](https://www.desmos.com/calculator/mo5jcemjni)**

Then use this CL in the graph component.

```auto
check23 = this.number(`C_{heck}`)=1

correct: this.number(`C_{heck}`)=1

sum2 = when this.number(`P_{t1}`)=1 1 otherwise 0
sum3 = when this.number(`P_{t2}`)=1 1 otherwise 0

```

---

<div class="post-metadata">

**Author:** ![Sarah\_Doody](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sarah_doody/32/2108_2.png) [@Sarah\_Doody](https://cl.desmos.com/u/Sarah_Doody)\
**Post date:** [April 6, 2021, 1:19pm UTC](https://cl.desmos.com/t/help-with-plotting-points-code/3005/3 "2021-04-06T13:19:54Z")

</div>

It did not work. Can you do that graph as a Desmos slide so I can copy the whole thing pls?

---

<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 6, 2021, 5:30pm UTC](https://cl.desmos.com/t/help-with-plotting-points-code/3005/4 "2021-04-06T17:30:47Z")

</div>

You can copy Desmos calculator links directly into an activity graph. It will overwrite anything else in the graph.

---

<div class="post-metadata">

**Author:** ![cwinske](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/cwinske/32/3106_2.png) [@cwinske](https://cl.desmos.com/u/cwinske)\
**Post date:** [April 6, 2021, 8:50pm UTC](https://cl.desmos.com/t/help-with-plotting-points-code/3005/5 "2021-04-06T20:50:46Z")

</div>

I’m not sure what part didn’t work, but I did notice I forgot to include one of your lines of code in my original post that would have send the score from screen 12 to screen 15. I have updated my original post to include the updates.

---

<div class="post-metadata">

**Author:** ![Sarah\_Doody](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sarah_doody/32/2108_2.png) [@Sarah\_Doody](https://cl.desmos.com/u/Sarah_Doody)\
**Post date:** [April 7, 2021, 12:18pm UTC](https://cl.desmos.com/t/help-with-plotting-points-code/3005/6 "2021-04-07T12:18:22Z")

</div>

Thanks! My school network was having issues and that’s why I was struggling with the link part. Once the network resolved it’s issues I got the copy link to work.

---

<div class="post-metadata">

**Author:** ![Sarah\_Doody](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sarah_doody/32/2108_2.png) [@Sarah\_Doody](https://cl.desmos.com/u/Sarah_Doody)\
**Post date:** [April 7, 2021, 12:18pm UTC](https://cl.desmos.com/t/help-with-plotting-points-code/3005/7 "2021-04-07T12:18:43Z")

</div>

That was the piece that was missing, thanks for all of your help!
