[pstricks] Transparent Solid

mary montenegro mary_sioque at hotmail.com
Mon Nov 23 13:51:13 CET 2009





Thanks Herbert!
But it don't work like I want. The mimimal is this:

\listfiles
\documentclass{article}

\usepackage{pst-solides3d,pstricks-add}

\begin{document}
\begin{center}
\psset{unit=0.8}
\begin{pspicture}[showgrid=false](-4,-2)(3,3.5)
 \psset{viewpoint=100 27.5 20,Decran=60}
 \psSolid[object=face,base=0 -3 9 -3  9 3 0 3,action=draw*,fillcolor=white,linestyle=dashed]
 \defFunction{F}(t){t 2 exp}{t}{}
 \psSolid[object=face,base=3 -3 {F} CourbeR2+,resolution=360,action=draw]
 \psSolid[object=face,base=3.25 3 {F} CourbeR2+,resolution=360,action=draw]
 \psSolid[object=face,base=-3 -3.25 {F} CourbeR2+,resolution=360,action=draw]
 \psSolid[object=plan,definition=equation,args={[1 0 0 -9]},base=-5 0 -3 3,action=draw*,fillcolor=gray!20,opacity=0.4]
 \axesIIID[showOrigin=true](0,-5,0)(14,4,5)
 \end{pspicture}
\end{center}
\end{document}

and the list of files is this:

*File List*
 article.cls    2005/09/16 v1.4f Standard LaTeX document class
  size10.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
pst-solides3d.sty    2007/10/12 package wrapper for pst-solides3d
pstricks.sty    2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2009/01/25 v1.27 `PSTricks' (tvz,hv)
  xcolor.sty    2007/01/21 v2.11 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-solides3d.tex    2008/10/29 v4.11 `PST-solides3D'
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
pstricks-add.sty    2007/09/03 v. 0.11 package wrapper for pstricks-add.tex (hv
)
pstricks-add.tex    2009/01/21 v3.17 `PSTricks-add' (hv)

Please, how can I do visible the full parabola?

> From: pstricks-request at tug.org
> Subject: PSTricks Digest, Vol 82, Issue 30
> To: pstricks at tug.org
> Date: Fri, 20 Nov 2009 12:00:02 +0100
> 
> 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. how can I do transparent a solid? (mary montenegro)
>    2. Re: how can I do transparent a solid? (Herbert Voss)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 19 Nov 2009 11:15:56 -0500
> From: mary montenegro <mary_sioque at hotmail.com>
> To: <pstricks at tug.org>
> Subject: [pstricks] how can I do transparent a solid?
> Message-ID: <COL102-W5125A317D6DEA7ACDBABDE83A20 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 
> 
> Hello!
> I would like to be able to use pstricks solides-3d to draw a transparent solid.
> I have successfully constructed a graph using this code:
> 
> \begin{pspicture}[showgrid=false](-4,-2)(3,3.5)
>  \psset{viewpoint=100 27.5 20,Decran=60}
>  \psSolid[object=face,base=0 -3 9 -3  9 3 0 3,action=draw*,fillcolor=white,linestyle=dashed]
>  \defFunction{F}(t){t 2 exp}{t}{}
>  \psSolid[object=face,base=3 -3 {F} CourbeR2+,resolution=360,action=draw]
>  \psSolid[object=face,base=3.25 3 {F} CourbeR2+,resolution=360,action=draw]
>  \psSolid[object=face,base=-3 -3.25 {F} CourbeR2+,resolution=360,action=draw]
>  \psSolid[object=plan,definition=equation,args={[1 0 0 -9]},base=-5 0 -3 3,action=draw*,
>  fillcolor=gray!20,fillstyle=opacity]% this is the solid that I need to be transparnt
>  \axesIIID[showOrigin=true](0,-5,0)(14,4,5)
> \end{pspicture}
> 
> It constructs a parbola in the plane xy and a parallel plane to axes z.
> The plane is gray color and it don't  permit see the parabola.
> 
> How can I do visible the parabola with this gray plane above?
> 
> Thanks!
> 
>  		 	   		  
> _________________________________________________________________
> Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://tug.org/pipermail/pstricks/attachments/20091119/a8e7e255/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 19 Nov 2009 18:11:14 +0100
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: pstricks at tug.org
> Subject: Re: [pstricks] how can I do transparent a solid?
> Message-ID: <4B057C32.7010600 at FU-Berlin.DE>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Am 19.11.2009 17:15, schrieb mary montenegro:
> 
> > I would like to be able to use pstricks solides-3d to draw a transparent solid.
> > I have successfully constructed a graph using this code:
> > 
> > \begin{pspicture}[showgrid=false](-4,-2)(3,3.5)
> >  \psset{viewpoint=100 27.5 20,Decran=60}
> >  \psSolid[object=face,base=0 -3 9 -3  9 3 0 3,action=draw*,fillcolor=white,linestyle=dashed]
> >  \defFunction{F}(t){t 2 exp}{t}{}
> >  \psSolid[object=face,base=3 -3 {F} CourbeR2+,resolution=360,action=draw]
> >  \psSolid[object=face,base=3.25 3 {F} CourbeR2+,resolution=360,action=draw]
> >  \psSolid[object=face,base=-3 -3.25 {F} CourbeR2+,resolution=360,action=draw]
> >  \psSolid[object=plan,definition=equation,args={[1 0 0 -9]},base=-5 0 -3 3,action=draw*,
> >  fillcolor=gray!20,fillstyle=opacity]% this is the solid that I need to be transparnt
> 
>  fillcolor=gray!20,opacity=0.4]
> 
> Herbert
> 
> 
> >  \axesIIID[showOrigin=true](0,-5,0)(14,4,5)
> > \end{pspicture}
> > 
> > It constructs a parbola in the plane xy and a parallel plane to axes z.
> > The plane is gray color and it don't  permit see the parabola.
> > 
> > How can I do visible the parabola with this gray plane above?
> 
> 
> ------------------------------
> 
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> 
> 
> End of PSTricks Digest, Vol 82, Issue 30
> ****************************************
 		 	   		  
Discover the new Windows Vista Learn more! 		 	   		  
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20091123/49098aa3/attachment.html>


More information about the PSTricks mailing list