How to draw the four of geometry of conic sections from TikZ, circle parabola ellipse and hyperbola. I want 3D bi-cones figure like this:conic sections for my student in analytic geometry.
Just for typing exercise with PSTricks.
\documentclass[pstricks,border=12pt]{standalone}
\usepackage{pst-plot}
\psset{plotpoints=100,algebraic,polarplot}
\pstVerb{/LL 2 def}
\begin{document}
\multido{\r=.0+.1}{20}{%
\begin{pspicture}[showgrid](-6,-6)(6,6)
\pstVerb{/EE \r\space def}%
\psplot{0}{TwoPi}{LL/(1-EE*cos(x))}
\end{pspicture}}
\end{document}
Edit:
PSTricks' blog has a special page about conic section in 3D, visit the blog here but it was written in French.
-
I guess the OP wants to draw the origin of these curve in intersections … like this: upload.wikimedia.org/wikipedia/commons/thumb/1/11/… – Tobi Aug 14 '13 at 15:16
-
-
Thanks for your pst-plot code and suggest blog, I want TikZ or pgfplot for my student in analytic geometry (output same in the blog). Thanks – somkiat_t Aug 15 '13 at 0:17
-
I want 3D bi-cones figure like this:!lh6.ggpht.com/-QlPR2LJwMIo/SwG06HzEfcI/AAAAAAAAAEA/Pp7RaURjYXg/… – somkiat_t Aug 15 '13 at 5:01
-
1@somkiat_t: You should edit your question to include that information (and really, you should have already specified that when you first asked the question). Please also show what you've tried so far and what aspect of the figure you're struggling with. – Jake Aug 15 '13 at 7:56
pgfmanual
will give you direct constructions for at least three of these. – Andrew Swann Aug 14 '13 at 10:47tikz
questions we have had on this site that have shown the same amount of effort and have been upvoted highly, I propose we leave this question open. – cmhughes Aug 14 '13 at 12:52