<font color='black' size='2' face='Arial, Helvetica, sans-serif'><span id="result_box" class="short_text" lang="en"><span title="Cliquer ici pour voir d'autres traductions" class="hps">A first</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">idea</span><span class="" title="Cliquer ici pour voir d'autres traductions">?<font size="2"><font face="Arial, Helvetica, sans-serif"> </font></font></span></span><span id="result_box" class="" lang="en"><span title="Cliquer ici pour voir d'autres traductions" class="hps">Choose</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">two</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">points</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">very close</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">on</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">the curve.</span></span><span id="result_box" class="short_text" lang="en"><span class="" title="Cliquer ici pour voir d'autres traductions"><font size="2"><br>
<font face="Arial, Helvetica, sans-serif"><br>
\documentclass{article}<br>
\usepackage{pst-solides3d}<br>
<br>
\begin{document}<br>
<br>
\begin{center}<br>
\psset{lightsrc=viewpoint,viewpoint=50 -20 30 rtp2xyz,Decran=50}<br>
\begin{pspicture}(-5,-4)(6,3)<br>
\pstVerb{/xTube {t Cos 2 mul} def /yTube {t Sin 2 mul} def /zTube {2 t mul Sin} def}%<br>
\defFunction{F}(t){xTube}{yTube}{zTube}<br>
% choix de deux points très voisins sur le tube<br>
\pstVerb{/t1 3 def /t2 3.1 def }%<br>
% l'extrémité<br>
\pstVerb{/tf1 1.45 pi mul def /tf2 1.51 pi mul def }%<br>
\psPoint(/t t1 def xTube ,yTube,zTube){A}<br>
\psPoint(/t t2 def xTube ,yTube,zTube){B}<br>
\psPoint(/t tf1 def xTube ,yTube,zTube){C}<br>
\psPoint(/t tf2 def xTube ,yTube,zTube){D}<br>
\psSolid[object=courbe,<br>
   r=0,<br>
   function=F,<br>
   range=0 1.5 pi mul,<br>
   linecolor=red,<br>
   linewidth=2\pslinewidth]<br>
\psline[arrowsize=0.2,linecolor=red]{->}(A)(B)<br>
\psline[arrowsize=0.2,linecolor=red]{->}(C)(D)<br>
\gridIIID[Zmin=-2,Zmax=2](-2,2)(-2,2)<br>
\end{pspicture}<br>
\end{center}<br>
\end{document}<br>
<br>
M.L.<br>
</font></font></span></span><font color="black" face="Arial, Helvetica, sans-serif" size="2">

<div> <br>

</div>



<div> <br>

</div>



<div style="clear: both;"></div>



<div> <br>

</div>



<div> <br>

</div>



<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">-----E-mail d'origine-----<br>

De : grivet <grivet@cnrs-orleans.fr><br>

A : pstricks@tug.org<br>

Envoyé le : Lundi, 21 Mars 2011 10:05<br>

Sujet : Re: [pstricks] PSTricks Digest, Vol 98, Issue 11<br>

<br>








<div id="AOLMsgPart_0_6af518f7-d01a-42a3-9b47-af1a9870bcb2" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">


> Am 15.03.2011 11:02, schrieb grivet: <br>


>> I use the object "vecteur" under pst-solides3d; this draws an arrow of <br>


>> prescribed origin and direction. However, the arrow head (a cone) is <br>


>> very large and independant of the linewidth. Is it possible to have <br>


>> smaller arrowheads ? <br>


> see <a __removedlink__895806582__href="http://melusine.eu.org/lab/bpst/pst-solides3d/vecteu" target="_blank">http://melusine.eu.org/lab/bpst/pst-solides3d/vecteu</a> <br>


Thank you, this is just what I needed; the use of "definition" to specify len gth and <br>


 width of a vector head doesn't seem to be documented in the user's manual (2010/09/22). <br>

 <br>


>> A further question about arrows. I use the object "courbe" (with zero <br>


>> radius) to draw magnetic field lines; how can I along or at the end of a <br>


>> field line? <br>


> did you know the package pst-magneticfield? <br>


> <br>


pst-magneticfield is a beautiful program; however, it is specific for current loops <br>


and coils; my case is somewhat more complicated. <br>


Let me restate my question, from which a sentence is missing. <br>

 <br>



A further question about arrows. I use the object "courbe" (with zero <br>


radius) to draw magnetic field lines; how can I draw arrows along or at the end of a <br>


field line? <br>

 <br>


TIA <br>


JP Grivet <br>

 <br>



_______________________________________________ <br>


PSTricks mailing list <br>


<a __removedlink__895806582__href="mailto:PSTricks@tug.org">PSTricks@tug.org</a> <br>


<a __removedlink__895806582__href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a> <br>


archive: <a __removedlink__895806582__href="http://www.tug.org/pipermail/pstricks/" target="_blank">http://www.tug.org/pipermail/pstricks/</a> <br>



</div>

 <!-- end of AOLMsgPart_0_6af518f7-d01a-42a3-9b47-af1a9870bcb2 -->

</div>

</font></font>