ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Can you chart an equation (y=mx+b)? (https://www.excelbanter.com/charts-charting-excel/60504-can-you-chart-equation-y%3Dmx-b.html)

Adam

Can you chart an equation (y=mx+b)?
 
I am trying to set up a graph in MS Excel where you can enter in the values
for X and B and it will graph the line, like a graphing caluclator would. Is
that possible?

Jerry W. Lewis

Can you chart an equation (y=mx+b)?
 
Excel graphs points, not equations. For a straight line, you would only
need to calculate the first and last points on the line and plot them as
an "XY (Scatter)" chart with points connected by a line. Alternately,
Tushar Mehta has written an add-in for plotting functions
http://www.tushar-mehta.com/excel/so...ger/index.html

Jerry

Adam wrote:

I am trying to set up a graph in MS Excel where you can enter in the values
for X and B and it will graph the line, like a graphing caluclator would. Is
that possible?



Jon Peltier

Can you chart an equation (y=mx+b)?
 
If the relationship is not necessarily linear, and you just want to hack out
a series without using an add-in, you can simply put a set of X values into
one column, then in the next column insert formulas that calculate the
appropriate Y values. Then make the plot with these two columns.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


"Jerry W. Lewis" wrote in message
...
Excel graphs points, not equations. For a straight line, you would only
need to calculate the first and last points on the line and plot them as
an "XY (Scatter)" chart with points connected by a line. Alternately,
Tushar Mehta has written an add-in for plotting functions
http://www.tushar-mehta.com/excel/so...ger/index.html

Jerry

Adam wrote:

I am trying to set up a graph in MS Excel where you can enter in the
values for X and B and it will graph the line, like a graphing caluclator
would. Is that possible?






All times are GMT +1. The time now is 10:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com