---
id: 6331d26fb51aeedd1a2bd64c
title: "Graphing"
challengeType: 15
videoId: vUefCkh8-wc
dashedName: graphing
---

# --description--

This next video will show you the connection between functions and graphing. Notice how the graph is a way to represent the inputs and outputs of a function. Then the video will show you how to graph a function with Python.

Here is the <a href="https://colab.research.google.com/drive/1UYorWd9-Btf_ZQyA9YdUzxzKR8rnVrSV#scrollTo=yJiVB8wdHRxS" target="_blank" rel="noopener noreferrer nofollow">Colab notebook to go with the last two videos</a> so you can start making your own graphs.

# --question--

## --assignment--

Add code to your algebra Colab notebook for functions and graphing.

---

Run the following notebook to see <a href="https://colab.research.google.com/drive/1UYorWd9-Btf_ZQyA9YdUzxzKR8rnVrSV#scrollTo=yJiVB8wdHRxS" target="_blank" rel="noopener noreferrer nofollow">more ways to create graphs using algebra and Python.</a>

## --text--

Which of the following would put a blue line on a graph?

## --answers--

`plt.plot([0,0],[10,10],'b-')`

---

`plt.plot([0,0],[10,10],'bo')`

---

`plt.plot([0,10],[0,10],'b')`

---

`plt.plot([10,10],[10,10],'b^')`

## --video-solution--

3
