[Mathematica]Plotting 3D line with data point

  • Mathematica
  • Thread starter whizsix
  • Start date
  • #1
2
0

Main Question or Discussion Point

I can use the Show function to combine multiple plots, so I know how to plot data points and a calculated fit line in 2D, but now I want to do the same in 3 dimensions. I can plot the data points just fine in 3D, but I don't know how to draw a straight line with a know equation in 3D.
My equation is of the form z=beta0 + beta1 x + beta2 y, and Plot3D just gives a blank output with that equation as input (I think because it expects to plot a surface a not a line). Thanks in advanced for any help!
 

Answers and Replies

Related Threads on [Mathematica]Plotting 3D line with data point

Replies
6
Views
4K
Replies
7
Views
25K
Replies
7
Views
4K
  • Last Post
Replies
1
Views
972
  • Last Post
Replies
1
Views
710
Replies
2
Views
5K
  • Last Post
Replies
10
Views
7K
Replies
4
Views
3K
Replies
12
Views
24K
Top