# Label point with list value

**URL:** <https://cl.desmos.com/t/label-point-with-list-value/8833>\
**Category:** Questions\
**Created:** [September 21, 2026, 1:10am UTC](https://cl.desmos.com/t/label-point-with-list-value/8833 "2026-09-21T01:10:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Draki38](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/draki38/32/10831_2.png) [@Draki38](https://cl.desmos.com/u/Draki38)\
**Post date:** [September 21, 2026, 1:10am UTC](https://cl.desmos.com/t/label-point-with-list-value/8833/1 "2026-09-21T01:10:37Z")

</div>

As some people here probably know, you can make a label that shows the value of a variable in real time by using ${variable name} in the label. I am trying to find a way to make it so I can get a value at a list index and put it in the label. For example:

p\_1 = (0,0)

L = [5,3,2,7]

Label: ${L[1]}

p\_1 should be labeled with 5 in this case. Any idea how I could achieve this?

---

<div class="post-metadata">

**Author:** ![Claudine\_Graphs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/claudine_graphs/32/10128_2.png) [@Claudine\_Graphs](https://cl.desmos.com/u/Claudine_Graphs)\
**Post date:** [September 21, 2026, 4:18pm UTC](https://cl.desmos.com/t/label-point-with-list-value/8833/2 "2026-09-21T16:18:40Z")

</div>

You can define a variable which is defined as L[1] and then call that variable in the label field. Here’s an [example](https://www.desmos.com/calculator/itrzpnn2ss) with your point, p\_1, and list, L.

---

<div class="post-metadata">

**Author:** ![Draki38](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/draki38/32/10831_2.png) [@Draki38](https://cl.desmos.com/u/Draki38)\
**Post date:** [September 24, 2026, 7:13pm UTC](https://cl.desmos.com/t/label-point-with-list-value/8833/3 "2026-09-24T19:13:58Z")

</div>

Actually, I’ve found something that works. I don’t know why this wasn’t working before. Thanks anyways.
