[pstricks] Odd (?) behavior of \ThreeDput
Zbigniew Nitecki
zbigniew.nitecki at tufts.edu
Tue Jul 29 16:09:57 CEST 2008
From Section 28.31 of Voss's book (3rd ed.), I expect the following
************************************************************************************
\begin{pspicture}(-2.5,-2.0)(2.5,3.5)
\psset{xunit=2cm, yunit=2cm}
\pstThreeDSquare[fillstyle=solid, fillcolor=lightgray](0,0.5,0)
(1,0,0)(0,0,1)
\ThreeDput[normal=0 1 0]{
\rput(0.2,-0.2){$\vec{x_{0}}$}
\rput(0.25,0.45){$R$}
}
\end{pspicture}
*****************************************************************************************
*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
pstricks.sty 2008/01/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2008/02/01 v1.21 `PSTricks' (tvz)
xcolor.sty 2005/12/21 v2.09 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-3dplot.sty 2006/02/07 package wrapper for pst-3dplot.tex (hv)
pst-3dplot.tex 2008/02/08 v1.80 `PST-3dplot' (hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2005/11/25 v2.5e package option processing (HA)
xkeyval.tex 2005/11/25 v2.5e key=value parser (HA)
***********************************************************************************************
to print the labels on the square. However, I get
******************************************************************************************
On the other hand, changing the normal from 0 1 0 to 1 0 0 gives me
the correct placement.
What is going on? Shouldn't "normal=" specify the normal to the plane
containing the text?
Related question: It seemed to me that if I changed viewpoint (eg,
Alpha=30) without changing the normal, then again the plane of the
label was off: it looked as if this is in some absolute coordinate
system which does not change with viewpoint. Comment?
Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155
telephones:
Office (617)627-3843
Dept. (617)627-3234
Dept. fax (617)627-3966
http://www.tufts.edu/~znitecki/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080729/0309a391/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: picturetest1.pdf
Type: application/pdf
Size: 4627 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20080729/0309a391/attachment.pdf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080729/0309a391/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: picturetest1.pdf
Type: application/pdf
Size: 4628 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20080729/0309a391/attachment-0001.pdf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080729/0309a391/attachment-0002.html
More information about the PSTricks
mailing list