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

Matlab: Orthogonal Projection

  1. Oct 17, 2006 #1
    Hey folks,

    I'm trying to make a matlab script which projects a tetrahedron on a plane.

    I manage to display the plane, the tetrahedron and the orthogonal projection of the edges of the tetrahedron on the plane. But I don't know how to shade or fill the space of the projection.

    Also how do I change the color of the plane? The multicoloring is annoying in this case.

    I read that it's possible to use fill3 or patch. But I don't get how those two functions work.

    I've got 4 coords in a plane and want to fill/shade up the space they "cover". How do I do?

    Thanks in advance,
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

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