Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a set of data points that I have plotted. I also have an equation of a line that I am supposed to plot on the same graph, in order to compare the data values to the line. I can't use a line chart because Excel gives their own equation. Is there anyway I can plot the points and somehow plot the line using my equation? And if not on Excel, where can I go to do this?


share|improve this question
Can't you seed your equation with some data to get the values it outputs for each input, then plot that? – Paul Nov 26 '12 at 4:46
Got it, thanks! – Alti Nov 26 '12 at 5:13
up vote 1 down vote accepted

If you were to seed your equation with some data, you would produce output that you could then plot.

For example, if your equation was

x = y * y

Then using the data:

1 2 3 4 5 6

Would produce

1 4 9 16 25 36

Plotting this data is equivalent to plotting the equation.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .