Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

[Mathematica]Plotting 3D line with data point

  1. Mar 9, 2009 #1
    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!
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: [Mathematica]Plotting 3D line with data point
  1. Plotting 3D data (Replies: 10)

Loading...