## How to graph an equation

*Article last updated on February 05, 2018*

The picture above shows the following equation

plotted on an x y scatter chart. Here are the instructions on how I built this chart:

- Type -10 and -9 in cell A2:A3
- Select cell A2:A3 and click and hold on the black dot.
- Drag down until you see the number 10.

- Release the mouse button
- Select cell B2 and type: =A2^3+3*A2^2-3
- Press Enter
- Double click on dot in the lower right corner. This copies the formula to cells below as far as there are cells containing values in column A.

### Insert x y scatter chart

- Go to tab "Insert" on the ribbon
- Click on scatter chart icon
- Click on the scatter chart you prefer, I chose Scatter with straight lines.

### Change the x and y axis minimum and maximum value

- Right-click on x axis
- Click on "Format axis..."
- Change minimum and maximum value
- Change major units

Repeat with y axis.

### Format x and y axis

- Select x axis again
- Click on Fill and Line icon

- Select "Solid Line" and pick a color.

- Repeat with y axis

### Download Excel *.xlsx file

Excelxor is such a great website for inspiration, I am really impressed by this post Which numbers add up to […]

Return multiple matches with wildcard vlookup

Mr.Excel had a "challenge of the month" June/July 2008 about Wildcard VLOOKUP: "The data in column A contains a series […]

Count overlapping days in multiple date ranges

The MEDIAN function lets you count overlapping dates between two date ranges. If you have more than two date ranges […]

In this article I will demonstrate two techniques for counting per row. The first example is simple and straightforward. The second example is a […]

The POWER function calculates a number raised to a power. Excel Function Syntax POWER(number, power) Arguments number Required. The number […]

This post describes how to add a map (background picture) to a chart. The following animated picture shows a scatter […]

Improve your X Y Scatter Chart with custom data labels

The picture above shows a chart that has custom data labels, they are linked to specific cell values. What's on […]

This picture below shows you a column chart with pictures (flags) below each column. Watch this video to learn how […]

Dynamic data labels in a chart

My fascination for charts and vba continues (see previous posts). This post demonstrates how to highlight a group of values […]

How to graph a Normal Distribution

The chart above is built using the NORM.DIST function and is called Normal Distribution or Bell Curve chart. This curve is often […]

### Leave a Reply

### How to comment

**How to add a formula to your comment**

<code>Insert your formula here.</code>

**Convert less than and larger than signs**

Use html character entities instead of less than and larger than signs.

< becomes < and > becomes >

**How to add VBA code to your comment**

[vb 1="vbnet" language=","]

Put your VBA code here.

[/vb]

**How to add a picture to your comment:**

Upload picture to postimage.org or imgur

Use the img tag, like this: <img src="Insert pic link here">

**Contact Oscar**

You can contact me through this contact form