Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Graphical Representation of Experimental Data

From an examination of the tabulated values of a number of measurements of related quantities, it is often difficult to grasp the relationships existing between the numbers. A method widely used to discover such relationships is the graphical method, which gives a pictorial view of the results and makes it possible to interpret the data by a quick glance.


Independent and Dependent Variables

In any experimental study of cause and effect the aim is to vary just one condition at a time (the cause) and to observe the corresponding values of another quantity (the effect), which is suspected of being related to the first. The existing relationship is most easily interpreted from the graph if the first of these quantities, the independent variable, is plotted on the abscissa scale (xx-axis), and the dependent variable is plotted on the ordinate scale (yy-axis). For example,

y=f(x)y = f(x)

means that for each value xx, the independent variable, there is a corresponding value of yy, or, yy is a function of xx.

Graphs should have the following features:

An example of how a graph should look is shown in Figure 1.

Example of a graph for the pendulum experiment showing the length as a function of the period squared.

Figure 1:Example of a graph for the pendulum experiment showing the length as a function of the period squared.

How to Produce Graphs

There are many ways to produce graphs and just as many computer programs that will aid in the representation of data. This section will give simple instructions on how to make data graphs, using Excel.

Figure 2 shows again the length as a function of the period squared for a pendulum with a linear trendline. The line is the best fit to the points and the equation shows the resulting slope and intercept. Theoretically the intercept is expected to be zero, and the slope is excepted to be 4π2/g=0.248s2/m{4\pi^2}/{g}=0.248\,\text{s}^2/\text{m}. In Excel you can set the equation properties to force the intercept to zero. Often you need to reformat the displayed equation to show enough significant figures.

Example of a graph with the trendline and the corresponding equation.

Figure 2:Example of a graph with the trendline and the corresponding equation.