Graphing Functions Excel
Graphing Functions Excel
This activity will show you how to draw graphs of algebraic functions in Excel.
• Open a new Excel workbook and look for the Standard Toolbar.
• If it is not there, left click on View then Toolbars, then Chart to make it appear.
www.mathsroom.co.uk
To draw the graph of y = 3 x − 2 in Excel
x values Cell A1
• To obtain whole numbers from 0 to 10 in column A:
Left click on cell A2 and enter the value 0
Left click on cell A3 and enter the Excel formula =A2+1
Excel will put the value 1 in cell A3 as shown.
Now look for the little black ‘fill down’ square at the
bottom of the right-hand side of cell A3.
‘fill down’ square
• Move the mouse until the cursor (cross) is on this square then left click and at the
same time drag the mouse so that the cursor moves down column A.
Release the mouse button when you reach cell A12.
You should find that Excel enters values from 2 to 10 in cells A4 to A12.
Fill down copies the formula from A3 into the other cells, in each case increasing the cell
reference by 1, so that each value entered is one more than the last.
Excel will work out the value of 3 × 0 − 2 and put the result (i.e. – 2) in cell B2.
Values Formulae
www.mathsroom.co.uk
Now draw the graph as follows:
• Left click on
XY(Scatter) and
then the last
graph to give a
scatter graph
‘with data points
connected by
lines without
markers’.
www.mathsroom.co.uk
• Enter the title and labels for
your graph as shown.
www.mathsroom.co.uk
Your graph will appear, but its appearance may leave a lot to be desired!
• Before starting to improve it, Save your spreadsheet, giving it an appropriate name.
Remember to save the spreadsheet periodically whilst you work on it.
If you don’t like the changes you have made, left click on the Undo
button.
www.mathsroom.co.uk
Another way to obtain the Format menu for a feature is to right
click on the feature. This method lets you format the feature and
do other things as well.
This menu will appear. Selecting Format Chart Area would give the
menu for formatting the chart area again. Selecting Chart Type,
Source Data, Chart Options or Location takes you back to one of
the Chart Wizard Steps you followed when setting up the graph.
You can alter the scale and appearance of the axes and gridlines in a number of ways.
www.mathsroom.co.uk
• On the Chart toolbar select Value (X) Axis
Minor Gridlines then left click the Format
button.
www.mathsroom.co.uk
Your graph should now look like this.
www.mathsroom.co.uk
Use Excel to draw graphs of the following functions.
In the first three use a scatter graph ‘with data points connected by lines without
markers’
– the last Scatter Graph option.
In the others choose a scatter graph ‘with data points connected by smoothed lines
without markers’ – the 3rd Scatter Graph option.
www.mathsroom.co.uk