[pstricks] arrowhead size

Manuel Luque mluque5130 at aol.com
Sun Oct 14 11:47:39 CEST 2012


>Is this documented anywhere? 

It is a possibility that "Jean-Paul Vignault" was coded in pst-solides3d.pro, but unfortunately this has not been documented.
Except in these examples:

http://melusine.eu.org/lab/bpst/pst-solides3d

"Lundi 29 Juin 2009"

Your example can also be written:

\begin{pspicture}[showgrid=true](-5,-5)(5,5)
    \psset{viewpoint=30 10 20, lightsrc=viewpoint, Decran=100}
    \axesIIID(0,0,0)(3,3,3)
    \defFunction{spacecurve}(t){t Sin}{t 2 mul Sin}{t 3 mul Sin}        
    \psSolid[object=courbe,
        r=0,
        range=0 2 pi mul,
        linecolor=blue,
        linewidth=0.01,
        resolution=720,
        function=spacecurve]    
    \multido{\nx=1.50+0.20}{5}{
        \psSolid[object=vecteur,action=draw,
           definition={[0.05 0.1]},
            args=\nx\space Sin \nx\space 2 mul Sin \nx\space 3 mul Sin,
            linecolor=red]}    
\end{pspicture}

Manuel
 

 

 

-----E-mail d'origine-----
De : Jon Joseph <josco.jon at gmail.com>
A: pstricks <pstricks at tug.org>
Envoyé le : Di, 14 Oct 2012 11:01
Sujet : Re: [pstricks] arrowhead size


Thanks Manuel. Worked perfectly.  Is this documented anywhere?  

Jon

On Oct 14, 2012, at 12:54 AM, pstricks-request at tug.org wrote:

> 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. object vecteur arrowhead size (Jon Joseph)
>   2. Re: object vecteur arrowhead size (Manuel Luque)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 13 Oct 2012 15:03:19 -0500
> From: Jon Joseph <josco.jon at gmail.com>
> To: <pstricks at tug.org>
> Subject: [pstricks] object vecteur arrowhead size
> Message-ID: <B6418354-0B35-4816-85B2-00B451B885FA at ngsd.k12.wi.us>
> Content-Type: text/plain; charset="us-ascii"
> 
> All:  Is there anyway to control the size of the arrowhead in pst-solide3d?  
The following example shows a space curve and some vectors. The arrowheads are 
too large.  Thanks, Jon.
> 
> 
> \documentclass[12pt]{article}
> \usepackage[letterpaper,asymmetric=true, total={18cm,22cm}, 
> 		top=3cm, bindingoffset=1cm]{geometry}
> \usepackage[svgnames]{pstricks}
> \usepackage{pst-plot,pst-infixplot}
> \usepackage{pst-solides3d}
> \usepackage{pstricks-add}
> 
> 
> \begin{document}
> 
> 
> \begin{pspicture}[showgrid=true](-5,-5)(5,5)
> 	\psset{viewpoint=30 10 20, lightsrc=viewpoint, Decran=100}
> 	\axesIIID(0,0,0)(3,3,3)
> 	\defFunction{spacecurve}(t){t Sin}{t 2 mul Sin}{t 3 mul Sin}
> 	
> 	
> 	
> 	\psSolid[object=courbe,
> 		r=0,
> 		range=0 2 pi mul,
> 		linecolor=blue,
> 		linewidth=0.01,
> 		resolution=720,
> 		function=spacecurve]
> 	
> 	\multido{\nx=1.50+0.20}{5}
> 	{
> 		\psSolid[object=vecteur,
> 			args=\nx\space Sin \nx\space 2 mul Sin \nx\space 3 mul Sin,
> 			linecolor=red]
> 	}
> 	
> \end{pspicture}
> 
> 
> \end{document}
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Sun, 14 Oct 2012 01:54:18 -0400
> From: Manuel Luque <mluque5130 at aol.com>
> To: <pstricks at tug.org>
> Subject: Re: [pstricks] object vecteur arrowhead size
> Message-ID: <8CF77E77BE660FF-1094-4305C at Webmail-m104.sysops.aol.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Dear Jon Joseph,
> 
>> Is there anyway to control the size of the arrowhead in pst-solide3d?  The
>> following example shows a space curve and some vectors. The arrowheads are 
too 
>> large.
> 
> Use an argument vector, in addition to coordinates, the radius and height of 
the cone :
> args={x y z [r h]}
> 
> 
> \documentclass{article}
> \usepackage{pst-solides3d}
> \begin{document}
> \begin{pspicture}[showgrid=true](-5,-5)(5,5)
>    \psset{viewpoint=30 10 20, lightsrc=viewpoint, Decran=100}
>    \axesIIID(0,0,0)(3,3,3)
>    \defFunction{spacecurve}(t){t Sin}{t 2 mul Sin}{t 3 mul Sin}        
>    \psSolid[object=courbe,
>        r=0,
>        range=0 2 pi mul,
>        linecolor=blue,
>        linewidth=0.01,
>        resolution=720,
>        function=spacecurve]    
>    \multido{\nx=1.50+0.20}{5}{
>        \psSolid[object=vecteur,
>            args={\nx\space Sin \nx\space 2 mul Sin \nx\space 3 mul Sin [0.05 
0.1]},
>            linecolor=red]}    
> \end{pspicture}
> \end{document}
> 
> 
> 
> 
> 
> 
> Best regards,
> 
> Manuel
> 
> 
> 
> 
> 
> 
> 
> -----E-mail d'origine-----
> De : Jon Joseph <josco.jon at gmail.com>
> A: pstricks <pstricks at tug.org>
> Envoy? le : Sa, 13 Oct 2012 22:03
> Sujet : [pstricks] object vecteur arrowhead size
> 
> 
> All:  Is there anyway to control the size of the arrowhead in pst-solide3d?  
The 
> following example shows a space curve and some vectors. The arrowheads are too 

> large.  Thanks, Jon.
> 
> 
> \documentclass[12pt]{article}
> \usepackage[letterpaper,asymmetric=true, total={18cm,22cm}, 
> 		top=3cm, bindingoffset=1cm]{geometry}
> \usepackage[svgnames]{pstricks}
> \usepackage{pst-plot,pst-infixplot}
> \usepackage{pst-solides3d}
> \usepackage{pstricks-add}
> 
> 
> \begin{document}
> 
> 
> \begin{pspicture}[showgrid=true](-5,-5)(5,5)
> 	\psset{viewpoint=30 10 20, lightsrc=viewpoint, Decran=100}
> 	\axesIIID(0,0,0)(3,3,3)
> 	\defFunction{spacecurve}(t){t Sin}{t 2 mul Sin}{t 3 mul Sin}
> 	
> 	
> 	
> 	\psSolid[object=courbe,
> 		r=0,
> 		range=0 2 pi mul,
> 		linecolor=blue,
> 		linewidth=0.01,
> 		resolution=720,
> 		function=spacecurve]
> 	
> 	\multido{\nx=1.50+0.20}{5}
> 	{
> 		\psSolid[object=vecteur,
> 			args=\nx\space Sin \nx\space 2 mul Sin \nx\space 3 mul Sin,
> 			linecolor=red]
> 	}
> 	
> \end{pspicture}
> 
> 
> \end{document}
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://tug.org/pipermail/pstricks/attachments/20121014/c15c08a5/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: vecteurs.png
> Type: image/png
> Size: 36031 bytes
> Desc: not available
> URL: <http://tug.org/pipermail/pstricks/attachments/20121014/c15c08a5/attachment.png>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> 
> 
> ------------------------------
> 
> End of PSTricks Digest, Vol 117, Issue 3
> ****************************************


_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20121014/6f63889c/attachment-0001.html>


More information about the PSTricks mailing list