# Graphing functions from table component

**URL:** https://cl.desmos.com/t/graphing-functions-from-table-component/3055
**Category:** Questions
**Created:** [April 5, 2021, 8:31pm UTC](https://cl.desmos.com/t/graphing-functions-from-table-component/3055 "2021-04-05T20:31:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dbrudzinski](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/dbrudzinski/32/514_2.png) [@dbrudzinski](https://cl.desmos.com/u/dbrudzinski)
#### Post date: [April 5, 2021, 8:31pm UTC](https://cl.desmos.com/t/graphing-functions-from-table-component/3055/1 "2021-04-05T20:31:26Z")

</div>

I would like to pass a function to a Graph from a table component. Each line is a different function.  
I’ve tried:

function(`f`): simpleFunction(table2.cellContent(2,2))

but it does not work. Appreciate any help.

Thank you,  
David

---

<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, 2:59am UTC](https://cl.desmos.com/t/graphing-functions-from-table-component/3055/2 "2021-04-06T02:59:41Z")

</div>

That should work, but it will only graph if you put `y=f(x)` into the actual graph.

---

<div class="post-metadata">

### Author: ![dbrudzinski](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/dbrudzinski/32/514_2.png) [@dbrudzinski](https://cl.desmos.com/u/dbrudzinski)
#### Post date: [April 6, 2021, 3:13am UTC](https://cl.desmos.com/t/graphing-functions-from-table-component/3055/3 "2021-04-06T03:13:20Z")

</div>

Thank you so much for your response!
