[pstricks] pst-3dplot

Patrice MEGRET Patrice.MEGRET at umons.ac.be
Fri Jan 7 18:08:31 CET 2022


Dear Herbert,

I have a small problem with pst-3dplot.

\documentclass{report}
\usepackage{pstricks}
\usepackage{pst-3dplot}


\begin{document}

\begin{pspicture}(-3,-3)(3,3)
\psset{Alpha=55,Beta=30}
\pstThreeDCoor[linecolor=red,xMax=4,yMax=4.5,zMax=3.5]
\parametricplotThreeD[xPlotpoints=100,yPlotpoints=20](-90,90)(0,180){%
1.5 t cos u sin mul mul %
4 t sin u sin mul mul %
3 u cos mul}
\parametricplotThreeD[yPlotpoints=20,xPlotpoints=100](0,180)(-90,90){%
1.5 u cos t sin mul mul %
4 u sin t sin mul mul %
3 t cos mul}
\end{pspicture}


\begin{pspicture}(-3,-3)(3,3)
\psset{Alpha=90,Beta=30}
%\pstThreeDCoor[linecolor=red,xMax=4,yMax=4.5,zMax=3.5]
\parametricplotThreeD[xPlotpoints=100,yPlotpoints=20](-90,90)(0,180){%
1.5 t cos u sin mul mul %
4 t sin u sin mul mul %
3 u cos mul}
\parametricplotThreeD[yPlotpoints=20,xPlotpoints=100](0,180)(-90,90){%
1.5 u cos t sin mul mul %
4 u sin t sin mul mul %
3 t cos mul}
\end{pspicture}

\end{document}


When I used  "\pstThreeDCoor[linecolor=red,xMax=4,yMax=4.5,zMax=3.5]" the first graph, the second is wrong if "\pstThreeDCoor[linecolor=red,xMax=4,yMax=4.5,zMax=3.5]" is commented out.
If there are no \pstThreeDcoor at all, it is also correct.
It seems that Alpha and Beta are not set properly.


*File List*
  report.cls    2019/12/20 v1.4l Standard LaTeX document class
  size10.clo    2019/12/20 v1.4l Standard LaTeX file (size option)
pstricks.sty    2020/06/11 v0.70 LaTeX wrapper for `PSTricks' (RN,HV)
   iftex.sty    2020/03/06 v1.0d TeX engine tests
  xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)
   color.cfg    2016/01/02 v1.6 sample color configuration
   dvips.def    2017/06/20 v3.1d Graphics/color driver for dvips
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty    2014/12/03 v2.7a package option processing (HA)
xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
pstricks.tex    2020/09/18 v3.01 `PSTricks' (tvz,hv)
  pst-fp.tex    2020/09/18 v3.01 `PST-fp' (hv)
pst-3dplot.sty    2010/01/01 package wrapper for pst-3dplot.tex (hv)
  pst-3d.sty    2009/07/28 package wrapper for pst-3d.tex (hv)
  pst-3d.tex    2010/02/14 v1.11 `PST-3d' (hv)
pst-plot.sty    2011/04/13 package wrapper for pst-plot.tex (hv)
pst-xkey.sty    2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA)
multido.sty    2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN)
multido.tex    2010/05/14 v1.42 `multido' (tvz,hv)
pst-plot.tex    2019/05/16 1.92 `pst-plot' (tvz,hv)
pst-node.sty    2010/04/22 package wrapper for pst-node.tex
pst-node.tex    2019/05/16 1.92 `pst-node' (tvz,hv)
pst-3dplot.tex    2021/09/23 v2.07 `PST-3dplot' (hv)
l3backend-dvips.def    2020-09-24 L3 backend support: dvips
***********

Best regards,
Patrice




UMONS
__________________________________________________________
Prof. Dr Ir Patrice Mégret
Université de Mons - University of Mons
Faculté Polytechnique - Faculty of Engineering
Head of Electromagnetism and Telecommunication Department
Boulevard Dolez 31
7000 Mons
Belgium
+32(0)65/37.41.91 (direct)
+32(0)65/37.41.47 (secretary)
+32(0)65/37.41.99 (fax)
Site web telecom<https://www.umons.ac.be/telecom>
Staff<staff.umons.ac.be/patrice.megret>
Page personnelle <https://hosting.umons.ac.be/aspnet/set/member.asp?au=PM>
__________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20220107/e4490889/attachment-0001.html>


More information about the PSTricks mailing list.