Message Boards Message Boards

0
|
8511 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Multiple Outputs on an Interactive Graph

Posted 9 years ago

Is it possible to have multiple outputs on an interactive graph. I am creating a demonstration for a econometrics class. I want to plot a series of fixed data points. Then I want to have sliders for two parameters of a linear function that will plotted on top of the points. On the same graph I would like to display the sum of squared residuals where each residual is the distance between the line and a point on the graph. The students would then use the sliders to select parameters that seem to fit the line to the points in the best way that they can. That is, in such a way as to minimize the sum of squared residuals.

In short, my question is. Can I plot fixed point, an interactive line, and an interactive numeric output all on the same interactive graph? I have been looking around and can't find anything like it.

POSTED BY: Joseph Cullen
2 Replies
POSTED BY: Sean Clarke
Posted 9 years ago

This is what I needed to know. I know a very little about programming in Mathematica. I didn't want to invest time in learning what I needed to if it was not possible. Now I know that it is possible. Thanks!

POSTED BY: Joseph Cullen
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract