I need to plot a plane and a line vertical on the plane in latex with tikz or pgf for a math assignment.

How do I do that?

  • Probably the tikz manual is a good place to start. Providing a minimal working example is always greatly appreciated. This way people can see what you have already tried and they have something work from. This makes it much easier for people to help you - and much more likely that they will! :) – Andrew Aug 29 '14 at 15:58
  • You could also try looking at intersection-of-line-and-plane. – Andrew Aug 29 '14 at 16:00

You can use some thing like this:


\begin{tikzpicture}[plane/.style={trapezium,draw,fill=black!20,trapezium left angle=60,trapezium right angle=120,minimum height=1.5cm},scale=0.7]
\node (p)[plane] at (0,0){.};
\draw (p.center) edge ++(0,2cm) edge[densely dashed] (p.south) (p.south) edge ++(0,-1cm);


The output is this:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.