[pstricks] conic sections

Herbert Voss LaTeX at zedat.fu-berlin.de
Fri Jun 3 14:52:21 CEST 2005


juanleal at cantv.net wrote:
> Before of all, I am sorry if my question has been prompted before; it is 
> my first try with this list.
> 
> Woud it be possible that any of you can help me to draw via pstricks the 
> classic illustrations of the conic sections i. e. a right circular cone 
> and its intersection with a plane?

here is an example with pst-vue3d

Herbert

\documentclass[12pt]{article}
\usepackage{pst-vue3d}
\begin{document}

\psset{unit=1cm,Dobs=10,PHI=30,THETA=0}
\begin{pspicture}(-5,-3)(5,6)
   \ConeThreeD(0,0,0){4}{5}
   \FrameThreeD[linecolor=blue,fillstyle=solid,fillcolor=lightgray,%
       normaleLatitude=90,normaleLongitude=0](0,0,1)(-4,-3.5)(4,3.5)
   \ConeThreeD(0,0,1){3.2}{4}
\end{pspicture}
\end{document}


Herbert




More information about the PSTricks mailing list