[pstricks] \pscustom | pst-3dplot (Herbert Voss)
robert.fischer10 at arcor.de
robert.fischer10 at arcor.de
Sun Oct 4 22:00:19 CEST 2009
Hello Herbert,
I have just replaced \pstThreeDCircle in my previous example with \pstThreeDEllipse (accordingly to your example).
Than it works properly:
\documentclass{minimal}
\usepackage{xkeyval}% Important to have it before
\usepackage{pst-pdf}
\usepackage{pst-3dplot}
\begin{minipage}{0.49\textwidth}
%Basic Definitions
\def\MyCenter{-8 }
\def\MyRad{\MyCenter -1 mul 2 add }
\def\MyCI{30 sin \MyRad mul }
\def\MyRI{30 cos \MyRad mul }
\def\MyCII{15 sin \MyRad mul }
\def\MyRII{15 cos \MyRad mul }
\psset{coorType=2}
\begin{pspicture}(-3,-3)(5.5,4)
\psgrid[gridcolor=gray,subgridcolor=lightgray]
%Axes
\pstThreeDCoor[linecolor=black,IIIDticks=none,
arrowinset=0,arrowscale=1.5,
xMin=0,yMin=0,zMin=0,
xMax=5,yMax=5,zMax=3,
nameX=$x$,nameY=$y$,nameZ=$u$]%
%Dot Test
% \pstThreeDDot[SphericalCoor](1,90,60)
%Fillcolor
\pscustom[fillstyle=solid,fillcolor=lightgray]{
\pstThreeDEllipse[beginAngle=0,endAngle=30,arrows=->
](\MyCI,0,\MyCenter)(0,0,\MyRI)(0,\MyRI,0)
\pstThreeDEllipse[SphericalCoor,
beginAngle=60,endAngle=90,arrows=->
](\MyCenter,0,90)(\MyRad,0,0)(\MyRad,90,60)
\pstThreeDEllipse[beginAngle=30,endAngle=0,arrows=->
](0,0,\MyCenter)(0,0,\MyRad)(0,\MyRad,0)
\pstThreeDEllipse[SphericalCoor,
beginAngle=90,endAngle=60,arrows=->
](\MyCenter,0,90)(\MyRad,0,0)(\MyRad,0,90)
}
\end{pspicture}
\end{minipage}
Thanks for your help and have a nice week,
Best Regards Robert.
----- Original Nachricht ----
Von: pstricks-request at tug.org
An: pstricks at tug.org
Datum: 04.10.2009 12:00
Betreff: PSTricks Digest, Vol 81, Issue 3
> Send PSTricks mailing list submissions to
> pstricks at tug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://tug.org/mailman/listinfo/pstricks
> or, via email, send a message with subject or body 'help' to
> pstricks-request at tug.org
>
> You can reach the person managing the list at
> pstricks-owner at tug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PSTricks digest..."
>
>
> Today's Topics:
>
> 1. Re: \pscustom | pst-3dplot (Herbert Voss)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 04 Oct 2009 09:47:15 +0200
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: Graphics with PSTricks <pstricks at tug.org>
> Subject: Re: [pstricks] \pscustom | pst-3dplot
> Message-ID: <4AC85303.3070708 at FU-Berlin.DE>
> Content-Type: text/plain; charset=ISO-8859-1
>
> robert.fischer10 at arcor.de schrieb:
>
> > I have tried to draw a section of a sphere. This section should be filled
> similar to the example in pst-3dplot-doc.pdf for ellipsoid by using
> \pscustom. But something went wrong and I do not know why... Maybe only a
> simple mistake by me...
>
> look at this example:
> http://tug.org/PSTricks/main.cgi?file=pst-plot/3D/examples#sphere12
>
> Herbert
>
>
> ------------------------------
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
> End of PSTricks Digest, Vol 81, Issue 3
> ***************************************
>
More information about the PSTricks
mailing list