[pstricks] \pscustom

Herbert Voss Herbert.Voss at fu-berlin.de
Mon Nov 12 18:08:04 CET 2007


Hamed schrieb:

> Is there a way to get rid of the thick line to the right of the cone in the
> following example

no need for pscustom ...

Herbert


\documentclass[11pt,epsfig]{article}

\usepackage{pstricks}
\usepackage{pstricks-add}
\pagestyle{empty}

\begin{document}

\psset{unit=.75}
\begin{pspicture}(-3,-3)(6,6)
\psset{linewidth=0.3pt,fillstyle=solid}
\psline(-3,6)(0,0)(3,6)
\psellipse[fillcolor=white](0,6)(64pt,6pt)
\pspolygon[linecolor=blue!20,fillcolor=brown!10](0,0)(3,6)(-3,6)
\psellipse[linestyle=solid,fillcolor=brown!10](0,6)(64pt,6pt)
\pspolygon[linecolor=red!20,fillcolor=blue!20](0,0)(1.5,3)(-1.5,3)
\psellipse[fillcolor=blue!20,linewidth=.5pt](0,3)(32pt,3pt)
\psset{fillstyle=none}
%\psline[linecolor=brown](0,6)(6,0)
%\psline(0,.3)(.3,.3)
%\psline(.3,0)(.3,.3)
\psline[linestyle=dashed]{-}(0,0)(0,6)(3,6)
\psline[linestyle=dashed]{-}(0,3)(1.5,3)
\end{pspicture}

\end{document}




More information about the PSTricks mailing list