我正在绘制下面的圆柱体,它代表水流动和冷却
\documentclass[a4paper,10pt]{article}
\usepackage{pstricks}
\usepackage{auto-pst-pdf}
\usepackage{pst-solides3d}
\usepackage{xcolor}
\usepackage{epstopdf}
\usepackage[english]{babel} %change language if necessary
\usepackage[english,verbose]{layout}%change language if necessary
\begin{document}
\begin{pspicture}(-3,-4)(3,4)
\psset{viewpoint=50 50 20 rtp2xyz,Decran=50,lightsrc=viewpoint
}
\psset{color1=cyan,color2=red}
\psSolid[h=8,r=0.5, object=cylindre, ngrid=50 15, RotZ=30,
hue =1 0 0 0 0 1,linewidth=0.01pt ](0,0,-2.5) \end{pspicture}
\end{document}
我希望黑线消失,或者至少部分与图像融合。有什么方法可以做到这一点?
答案1
使用选项grid
:
\documentclass{article}
\usepackage{auto-pst-pdf}
\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}(-3,-4)(3,4)
\psset{viewpoint=50 50 20 rtp2xyz,Decran=50,lightsrc=viewpoint,
color1=cyan,color2=red}
\psSolid[h=8,r=0.5, object=cylindre, ngrid=50 15, RotZ=30,
hue =1 0 0 0 0 1,grid=false](0,0,-2.5)
\end{pspicture}
\end{document}