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

Mathematica - Lines in 3D figure

  1. Sep 19, 2008 #1

    How do I make a line from a point to another point in Mathmatica, a 3D image?

    Also, if you got any tips on how to do this:
    I have a 3D pyramid and a plane("a window"). Behind the plane there is a point "An eye looking at the pyramid". I need a line from every corner of the pyramid, to go to this point behind the plane, and explain where in the plane the the lines will hit.

    Any tips will be of help!

    PS: Sorry for my bad English
  2. jcsd
  3. Sep 21, 2008 #2


    Staff: Mentor

    Hi chrismeister, welcome to PF

    There is a graphic primitive "Line", which accepts two points as arguments. Unfortunately, I cannot be more specific right now (my computer with Mathematica is down), but look up the help topic on "Line" and it should get you started.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Mathematica - Lines in 3D figure
  1. [Mathematica] Plot 3D (Replies: 1)