Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm drawing the following cylinder which represents a water flowing and cooling down

\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}

I would like the black lines to disappear, or atleast partially merge with the image. Is there anyway to perform this ?

share|improve this question
    
Did you try to use 0pt for the line width? –  Sigur Mar 30 '13 at 0:03
1  
Yes, it makes white lines which are not really pretty. I have found a way though. Set linewidth = 0pt and plot a second cylinder on top of the first with a slightly different ngrid. –  Mathusalem Mar 30 '13 at 8:09
    
@Mathusalem, if you have resolved the issue, please post your solution as an answer so others can benefit from the knowledge. :-) –  Paul Gessler Feb 22 at 5:32
    
@Mathusalem: linewidth=0pt is not the correct way. See my answer –  Herbert Aug 3 at 13:45
    

1 Answer 1

Use option 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}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.