[pstricks] object vecteur arrowhead size

Jon Joseph josco.jon at gmail.com
Sat Oct 13 22:03:19 CEST 2012


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}


More information about the PSTricks mailing list