[pstricks] PSTricks Digest, Vol 171, Issue 3

cyrille.piatecki cyrille.piatecki at univ-orleans.fr
Thu May 18 12:18:40 CEST 2017


Thanks Herbert, I have not seen randInit because I was search something 
like seed.


Le 18/05/2017 à 12:00, pstricks-request at tug.org a écrit :
> 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. \psrandom (cyrille.piatecki)
>     2. Re: \psrandom (Herbert Voss)
>     3. Re: PSTricks Digest, Vol 171, Issue 1 (Herbert Voss)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 17 May 2017 19:32:43 +0200
> From: "cyrille.piatecki" <cyrille.piatecki at univ-orleans.fr>
> To: pstricks at tug.org
> Subject: [pstricks] \psrandom
> Message-ID: <142dc7fe-d267-2ef9-8b7b-6d92eb55c0a0 at univ-orleans.fr>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Dear Herbert,
>
> I have to request :
>
> 1) could you add a seed to the command \psrandom  ; for instance I need
> to project dots of two colors in the same space the simplest way I have
> found is the following
>
> \begin{pspicture}(0,0)(14,6)
> \psgrid
> \psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=red,randomPoints=100,
> dotstyle=o,linecolor=red](1,1)(4.5,5){\pspolygon[,
> linecolor=blue!50,fillstyle=solid,
> fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)}
> \rput(-8,0){\psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=blue,randomPoints=100,
> dotstyle=o,linecolor=blue,linewidth=1.2](8,1)(12.5,5){\pspolygon[origin={8,0},linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)}}
> \end{pspicture}
>
> 2) I need to project both type of points on a surface --- a torus. Could
> the clipping path be a surface ?
>
> Hope it is possible
>
> Thanks
>
>
> Cyrille Piatecki
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 17 May 2017 20:11:07 +0200
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: pstricks at tug.org
> Subject: Re: [pstricks] \psrandom
> Message-ID: <bfb1bcf4-fe1a-3798-619f-23d9b658f132 at FU-Berlin.DE>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Am 17.05.2017 um 19:32 schrieb cyrille.piatecki:
>> Dear Herbert,
>>
>> I have to request :
>>
>> 1) could you add a seed to the command \psrandom  ; for instance I need
>> to project dots of two colors in the same space the simplest way I have
>> found is the following
>>
>> \begin{pspicture}(0,0)(14,6)
>> \psgrid
>> \psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=red,randomPoints=100,
>>
>> dotstyle=o,linecolor=red](1,1)(4.5,5){\pspolygon[,
>> linecolor=blue!50,fillstyle=solid,
>> fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)}
>> \rput(-8,0){\psRandom[dotsize=3pt,linestyle=none,fillstyle=solid,fillcolor=blue,randomPoints=100,
>>
>> dotstyle=o,linecolor=blue,linewidth=1.2](8,1)(12.5,5){\pspolygon[origin={8,0},linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)}}
>>
>> \end{pspicture}
> see documentation of pstricks-add:
>
>
> \documentclass[11pt,a4paper]{report}
> \usepackage{pstricks-add}
>
> \begin{document}
> \begin{pspicture}[showgrid](0,0)(14,6)
> \psRandom[dotsize=3pt,randomPoints=100,
>     dotstyle=o,linecolor=red,fillcolor=red](1,1)(4.5,5)%
>     {\pspolygon[linecolor=blue!50,fillstyle=solid,
> 	fillcolor=blue!20](1,1)(3,1)(4.5,5)(2.5,5)}
> \psRandom[dotsize=3pt,fillcolor=blue,
>     randomPoints=100,randInit=42,
>     dotstyle=o,linecolor=blue](1,1)(4.5,5)%
>     {\pspolygon[linestyle=none](1,1)(3,1)(4.5,5)(2.5,5)}
> \end{pspicture}
>
> \end{document}
>
>> 2) I need to project both type of points on a surface --- a torus. Could
>> the clipping path be a surface ?
>>
>> Hope it is possible
> I never tried it but suppose that it is not possible.
> You can show the coordinates and then create a 2d
> clipping path.
>
> Herbert
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 18 May 2017 10:29:57 +0200
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: pstricks at tug.org
> Subject: Re: [pstricks] PSTricks Digest, Vol 171, Issue 1
> Message-ID: <14a1881b-83c0-9e35-dd18-a6ea6b38be39 at FU-Berlin.DE>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Am 17.05.2017 um 08:50 schrieb cyrille.piatecki:
>> This is perhaps clearerR?sultat de recherche d'images pour "how to draw
>> an arrow in 3D"
> For straight lines it can be done with pst-solides 3d.
> See documentation
>
> Herbert
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
> ------------------------------
>
> End of PSTricks Digest, Vol 171, Issue 3
> ****************************************
>



More information about the PSTricks mailing list