Hallo,

möchte einen Vektor zwischen zwei vordefinierte Punkte zeichnen. Allerdings wird der Vektor immer vom Ursprung des Koordinatensystems und nicht zwischen den Punkten gezeichnet.

Dokumentation:
We can also define a vector with 2 given points A and B of R3.
One then uses the arguments [definition=vecteur3d] and [args=xA yA zA xB yB zB] where
(xA, yA, zA) and (xB, yB, zB) are the appropriate coordinates of the points A et B
If the points A and B were already defined, one can easily use the named variables: [args=A B].
Minimalbeispiel:
Code:
\documentclass[10pt,a4paper,twoside]{book}
\usepackage[latin1]{inputenc}
\usepackage{pst-solides3d}
%
\begin{document}
\begin{figure}[htbp]
	\begin{minipage}{0.70\textwidth}
		\centering
		\psset[pst-solides3d]{lightsrc=100 20 40,
		lightintensity=2,Decran=17}
		\begin{pspicture}(-2,-1.2)(2,3)
			\psset{solidmemory}
			%Point 1
			\psSolid[object=point,args=-0.9 0.8 3,%action=none,
			name=MyP1e]
			\psSolid[object=point,definition=scaleOpoint3d,args={MyP1e 0.7 0.7 0.7},
			name=MyP1s]
			\psSolid[object=vecteur,definition=vecteur3d,args={MyP1s MyP1e}]%
			\composeSolid
			%Axes
			\axesIIID[showOrigin=false,axisnames={e_{\xi},e_{\eta},e_{\zeta}},
			arrowinset=0,arrowscale=1.5](0,0,0)(2,2,3)
		\end{pspicture}
	\end{minipage}
	\begin{minipage}{0.25\textwidth}
		
	\end{minipage}
\end{figure}

\end{document}
Ausgabe: siehe Anhang. Hätte nun einen Vektor zwischen den Punkten erwartet...

Beste Grüße,
Robert.