<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16766"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Hallo,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>I have tested the following example, but the direction 
of the fieldlines shows wrong, if the current shows the direction of 
electrons.</FONT></DIV>
<DIV><FONT face=Calibri>Do anybody knows how I can change the 
direction?</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT 
face=Calibri>\documentclass[]{article}<BR>\pagestyle{empty}<BR>\setlength\textwidth{392.64803pt}<BR>\setlength\parindent{0pt}<BR>\newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Calibri>\usepackage{pst-magneticfield} 
%\psset{unit=0.7cm}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT 
face=Calibri>\begin{document}<BR>\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10}<BR>\newpsstyle{cadre}{linecolor=yellow!50}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT 
face=Calibri>\begin{pspicture}(-7,-6)(7,6)<BR>\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=1000,styleCourant={->}](-7,-8)(7,8)<BR>\end{pspicture}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT 
face=Calibri>{%<BR>\psset{unit=0.5cm}<BR>\begin{pspicture*}(-7,-7)(7,7)<BR>\psmagneticfield<BR>\rput(0,-6.5){[Standard]}<BR>\end{pspicture*}<BR>\begin{pspicture*}[showgrid](-7,-7)(7,7)<BR>\psframe*[linecolor={[HTML]{99FF66}}](-7,-7)(7,7)<BR>\psmagneticfield[linecolor={[HTML]{006633}},L=5,N=8,nS=1,PasB=0.0025,pointsB=5500,numSpires=1 
3 5 
7]<BR>\rput(0,-6.5){[\Cadre{\textcolor{white}{L=5}},N=(8,R=2,nS=1]}<BR>\end{pspicture*}<BR>}%</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>\end{document}</FONT></DIV></BODY></HTML>