[pstricks] object vecteur arrowhead size

Manuel Luque mluque5130 at aol.com
Sun Oct 14 07:54:18 CEST 2012


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-0001.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-0001.png>


More information about the PSTricks mailing list