diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-12 00:12:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-12 00:12:11 +0000 |
commit | 452c9d0af12acb085390fe26cc37a9e93d689d5a (patch) | |
tree | 2a28496b755aa54c3ca3a7c8de80510899f14dbb /Master/texmf-dist/doc | |
parent | 3ca859b7c25a23c6fa253978191197782df3d799 (diff) |
pst-magneticfield 1.12 (11jun10)
git-svn-id: svn://tug.org/texlive/trunk@18901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
11 files changed, 823 insertions, 298 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/Changes b/Master/texmf-dist/doc/generic/pst-magneticfield/Changes index 2bf408e520e..ab18ab44275 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/Changes +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/Changes @@ -3,6 +3,12 @@ pst-magneticfield.sty -------- pst-magneticfield.tex -------- +1.12 2010-06-07 - allow density plots + - move PS code into a pro file 1.11 2010-05-20 - change order for the different lines in the 3d view (dashed lines first) (hv) 1.10 2010-05-16 - first CTAN version + + +pst-magneticfield.pro -------- +0.01 2010-06-07 - initial pro file diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/README b/Master/texmf-dist/doc/generic/pst-magneticfield/README index a7776adf323..f23740077a2 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/README +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/README @@ -1,3 +1,4 @@ +The files ---------------- Save the files pst-magneticfield.sty|tex in a directory, which is part of your local TeX tree. Then do not forget to run texhash to update this tree. @@ -6,3 +7,17 @@ on installing packages into your LATEX distribution or the TeX Frequently Asked Questions: (http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages). + +The documentation ------------------- +To get a smaller size of the generated pdf file run the +Makefile or by hand +"pst2pdf <file> --Iext=.png --Iscale=0.5 --DPI=150". This will +create eps/pdf/png images in a subdirectory images/ and then +using only the png ones for the last _pdflatex_ run. The +file size can be reduced to about 20% of the one created with +ps2pdf. The pdf file is saved as yfile>-pdf.pdf. + +When running the documentation in a traditional way, then +uncomment the line (in the preamble) + +%\newenvironment{postscript}{}{} % uncomment, when running with latex diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.bib b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.bib index b96d8703ff5..b96d8703ff5 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.bib +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-doc.bib diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.pdf b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.pdf Binary files differindex ffd5e4ffefd..4fef5b85367 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.pdf +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.pdf diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.tex b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.tex index 3f5c6492df4..441d705c0a5 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.tex +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docDE.tex @@ -1,19 +1,16 @@ -%% $Id: pst-magneticfield-docEN.tex 322 2010-05-16 08:07:26Z herbert $ +%% $Id: pst-magneticfield-docDE.tex 343 2010-06-10 15:08:37Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \usepackage[latin1]{inputenc} \usepackage{pst-magneticfield} \let\pstMFfv\fileversion + +%\newenvironment{postscript}{}{} % uncomment, when running with latex + \lstset{pos=t,language=PSTricks, morekeywords={psmagneticfield,psmagneticfieldThreeD},basicstyle=\footnotesize\ttfamily} \newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}} -\def\bgImage{% -\psset{unit=0.5cm} -\begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-8)(7,8) -\ThreeDput{\rput(0,-7){\textbf{HELMHOLTZ-Spule}}} -\end{pspicture} -} +\def\bgImage{} % \begin{document} @@ -80,56 +77,115 @@ Der Befehl \Lcs{psmagneticfieldThreeD} erlaubt eine 3D-Ansicht der Spule und der \section{Einfluss der physikalischen Gr\"{o}{\ss}en auf das Erscheinungsbild der Feldlinien} \subsection{Die L\"{a}nge der Spule} -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} +\psset{unit=0.5cm} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{L=4}},N=3,R=2,nS=1]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{L=8}},N=3,R=2,nS=1]} +\end{pspicture*} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.5cm} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1] +\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{L=4}},N=3,R=2,nS=1]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500] +\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{L=8}},N=3,R=2,nS=1]} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} + \textbf{Anmerkung:} Um das Erscheinungsbild der zweiten Spule zu verbessern, mussten wir die Anzahl der Berechungspunkte erh\"{o}hen und die Schrittweite verkleinern, - \Cadre{\textcolor{white}{pointsB=5500,PasB=0.0025}}, was jedoch eine Erh\"{o}hung der Rechenzeit mit sich brachte. + \begin{postscript} +\Cadre{\textcolor{white}{pointsB=5500,PasB=0.0025}} +\end{postscript}, +was jedoch eine Erh\"{o}hung der Rechenzeit mit sich brachte. \clearpage \subsection{Die Anzahl der Windungen} -\begin{LTXexample}[pos=t] + + +\begin{center} +\begin{postscript} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0] +\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=1}},R=2,nS=0]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2] +\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=2}},R=2,L=2,PasS=0.003,nS=2]} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} -\begin{LTXexample}[pos=t] +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3] +\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=1}},R=2,nS=0]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=2}},R=2,L=2,PasS=0.003,nS=2]} +\end{pspicture*} +\end{lstlisting} + + +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=4}},R=2,L=4]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,nS=2 3 4] +\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,numSpires=2 3 4](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=5}},R=2,L=5]} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=4}},R=2,L=4]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,numSpires=2 3 4](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=5}},R=2,L=5]} +\end{pspicture*} +\end{lstlisting} + + \clearpage \section{Optionen f\"{u}r die Linien} @@ -137,81 +193,156 @@ Der Befehl \Lcs{psmagneticfieldThreeD} erlaubt eine 3D-Ansicht der Spule und der Auf Grund der Symmetrie des Problems ist die gew\"{a}hlte Anzahl der Feldlinien \Lkeyword{nL} nur die H\"{a}lfte der tats\"{a}chlich gezeichneten Feldlinien. Hinzu kommt noch eine Feldlinie, die in Richtung der Symmetrieachse der Spule zeigt. Die Anzahl der Feldlinien um die Windungen herum \Lkeyword{nS} kommen auch noch hinzu, diese k\"{o}nnen jedoch mit \Lkeyword{numSpires} individuell ausgew\"{a}hlt werden. -\begin{LTXexample}[pos=t] + + +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{nL=8}},N=1,R=2]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{nL=12}},N=1,R=2]} +\end{pspicture*} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2] +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2](-7,-8)(7,8) \psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{nL=8}},N=1,R=2]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12] +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12](-7,-8)(7,8) \psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{nL=12}},N=1,R=2]} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} \clearpage \subsection{Die Anzahl der Berechnungspunkte und die Schrittweite} Die Feldlinien wurden mit einem numerischen Verfahren (Runge-Kutta 2) berechnet und dementsprechend h\"{a}ngt die Genauigkeit der Linien entscheidend ab von der Schrittweite und der Anzahl der Berechnungspunkte, wie in den folgenden zwei Beispielen gezeigt wird: -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{PasB=0.1,nL=4,pointsB=100}}]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{PasS=0.4,pointsB=100}}]} +\end{pspicture*} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100] +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100](-7,-8)(7,8) \psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{PasB=0.1,nL=4,pointsB=100}}]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100] +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100](-7,-8)(7,8) \psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{PasS=0.4,pointsB=100}}]} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} + Sollten die voreingestellten Werte f\"{u}r eine individuelle Gestaltung nicht passen, dann muss man mit den Werten \Lkeyword{pasB}, \Lkeyword{pointsB} (bzw. \Lkeyword{pasS}, \Lkeyword{pointsS}) spielen, bis es passt. + + \clearpage \section{Der Parameter \nxLkeyword{numSpires}} -\begin{LTXexample}[pos=t,wide] +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-8,-10)(8,10) +\psset{linecolor=blue} +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075](-8,-10)(8,10) +\psframe*[linecolor={[HTML]{99FF66}}](-8,-10)(8,-9) +\rput(0,-9.5){[\Cadre{\textcolor{white}{numSpires=1 3 6 8}},R=2,L=14]} +\multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} +\end{pspicture*}\quad +\begin{pspicture*}[showgrid](0,-10)(16,10) +\psset{linecolor=blue} +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075](0,-10)(16,10) +\psframe*[linecolor={[HTML]{99FF66}}](0,-10)(16,-9) +\rput(8,-9.5){[\Cadre{\textcolor{white}{numSpires=all}},R=2,L=14]} +\multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} +\end{pspicture*} +\end{postscript} +\end{center} + + +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-8,-10)(8,10) \psset{linecolor=blue} -\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075] +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075](-8,-10)(8,10) \psframe*[linecolor={[HTML]{99FF66}}](-8,-10)(8,-9) \rput(0,-9.5){[\Cadre{\textcolor{white}{numSpires=1 3 6 8}},R=2,L=14]} \multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} \end{pspicture*}\quad \begin{pspicture*}[showgrid](0,-10)(16,10) \psset{linecolor=blue} -\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075] +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075](0,-10)(16,10) \psframe*[linecolor={[HTML]{99FF66}}](0,-10)(16,-9) \rput(8,-9.5){[\Cadre{\textcolor{white}{numSpires=all}},R=2,L=14]} \multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} \clearpage \section{Der Parameter \nxLkeyword{AntiHelmholtz}} -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.75,AntiHelmholtz,N=2, R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} \newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} \newpsstyle{cadre}{linecolor=yellow!50} \begin{pspicture*}[showgrid](-7,-6)(7,6) -\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,6)(7,6) \psmagneticfield[linecolor={[HTML]{660066}}] \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} +\begin{lstlisting} +\psset{unit=0.75,AntiHelmholtz,N=2, + R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture*}[showgrid](-7,-6)(7,6) +\psframe*[linecolor={[HTML]{996666}}](-7,6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}}] +\end{pspicture*} +\end{lstlisting} \clearpage @@ -234,24 +365,48 @@ Koordinaten der linken unteren und rechten oberen Ecke des Gitternetzes festgele M\"{o}glichkeiten zur Gestaltung des Gitternetzes zeigen die folgenden zwei Beispiele: -\begin{LTXexample}[pos=t] + +\begin{center} +\begin{postscript} +\psset{unit=0.7cm} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=2000](-7,-6)(7,6) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.7cm} \newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} \newpsstyle{cadre}{linecolor=yellow!50} \begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=1000](-7,-8)(7,8) +\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=2000](-7,-6)(7,6) \end{pspicture} -\end{LTXexample} +\end{lstlisting} -\begin{LTXexample}[pos=t] + +\begin{center} +\begin{postscript} +\psset{unit=0.7cm} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-6)(7,6) +\ThreeDput{\rput(0,-7){\textbf{Bobines de HELMHOLTZ}}} +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.7cm} \begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-8)(7,8) -\ThreeDput{\rput(0,-7){\textbf{HELMHOLTZ-Spule}}} +\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-6)(7,6) +\ThreeDput{\rput(0,-7){\textbf{Bobines de HELMHOLTZ}}} \end{pspicture} -\end{LTXexample} +\end{lstlisting} -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.75cm,AntiHelmholtz,N=2, R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, nL=2,drawSelf,styleSpire=styleSpire,styleCourant=sensCourant} @@ -260,7 +415,76 @@ M\"{o}glichkeiten zur Gestaltung des Gitternetzes zeigen die folgenden zwei Beis \begin{pspicture}(-7,-6)(7,6) \psmagneticfieldThreeD[linecolor={[HTML]{660066}}](-7,-6)(7,6) \end{pspicture} -\end{LTXexample} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.75cm,AntiHelmholtz,N=2, + R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf,styleSpire=styleSpire,styleCourant=sensCourant} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[linecolor={[HTML]{660066}}](-7,-6)(7,6) +\end{pspicture} +\end{lstlisting} + +\clearpage + + +\section{Feldstärkendichte} + +\begin{center} +\begin{postscript} +\begin{pspicture}(-6,-4)(6,4) +\psmagneticfield[N=3,R=2,L=2,StreamDensityPlot](-6,-4)(6,4) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} +\begin{pspicture}(-6,-4)(6,4) +\psmagneticfield[N=3,R=2,L=2,StreamDensityPlot](-6,-4)(6,4) +\end{pspicture} +\end{lstlisting} + +\begin{center} +\begin{postscript} +\psset{unit=0.75} +\begin{pspicture}(-6,-5)(6,5) +\psmagneticfield[N=2,R=2,L=1,StreamDensityPlot,setgray](-6,-5)(6,5) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.75} +\begin{pspicture}(-6,-5)(6,5) +\psmagneticfield[N=2,R=2,L=1,StreamDensityPlot,setgray](-6,-5)(6,5) +\end{pspicture} +\end{lstlisting} + + +\begin{center} +\begin{postscript} +\psset{unit=0.75,AntiHelmholtz, + R=2,pointsB=500,pointsS=2000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\begin{pspicture*}(-7,-6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}},StreamDensityPlot](-7,-6)(7,6) +\end{pspicture*} +\end{postscript} +\end{center} + + +\begin{lstlisting} +\psset{unit=0.75,AntiHelmholtz, + R=2,pointsB=500,pointsS=2000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\begin{pspicture*}(-7,-6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}},StreamDensityPlot](-7,-6)(7,6) +\end{pspicture*} +\end{lstlisting} \clearpage @@ -272,7 +496,7 @@ M\"{o}glichkeiten zur Gestaltung des Gitternetzes zeigen die folgenden zwei Beis \bgroup \raggedright \bibliographystyle{plain} -\bibliography{\jobname} +\bibliography{pst-magneticfield-doc} \egroup \printindex diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.bib b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.bib deleted file mode 100644 index b96d8703ff5..00000000000 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.bib +++ /dev/null @@ -1,79 +0,0 @@ -%% -*-bibtex-*- -@STRING{tugboat = {TUGboat} } -@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } - -@Book{companion, - author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Dennis Roegel and Herbert Vo\ss}, - title = {The {\LaTeX} {G}raphics {C}ompanion}, - publisher = {{Addison-Wesley Publishing Company}}, - edition = {second}, - year = {2007}, - address = {Reading, Mass.} -} - -@Article{girou:01:, - author = {Denis Girou}, - title = {Pr\'esentation de {PST}ricks}, - journal = {Cahier {GUT}enberg}, - year = 1994, - volume = {16}, - month = apr, - pages = {21-70} -} - -@Article{girou:02:, - author = {{Timothy Van} Zandt and Denis Girou}, - title = {Inside {PST}ricks}, - journal = TUGboat, - year = 1994, - volume = {15}, - month = sep, - pages = {239-246} -} - -@Book{PostScript, - Author = {Kollock, Nikolai G.}, - Title = {Post{S}cript richtig eingesetzt: vom {K}onzept zum - praktischen {E}insatz}, - Publisher = {IWT}, - Address = {Vaterstetten}, - year = 1989, -} - -@Manual{multido, - Title = {\texttt{multido.tex} - a loop macro, that supports fixed-point addition}, - Author = {{Timothy Van} Zandt}, - Organization = {}, - Address = {\url{CTAN:/graphics/pstricks/generic/multido.tex}}, - Note = {}, - year = 1997 -} - -@Book{PSTricks2, - author = {Herbert Vo\ss{}}, - title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX}, - edition = {fifth}, - publisher = {DANTE -- Lehmanns}, - year = {2008}, - address = {Heidelberg/Hamburg} -} - -@Book{abramowitz, - author = {M. Abramowitz and I. A. Stegun }, - year = 1964, - title = {Handbook of {M}athematical {F}unctions with {F}ormulas, {G}raphs, and - {M}athematical {T}ables}, - publisher = {National Bureau of Standards Applied Mathematics Series, - U.S. Government Printing Office}, - address = {Washington, D.C., USA}, - Note = {Corrections appeared in later printings up to the 10th Printing}, -} - -@Book{dolan, -author = {Thomas~J. Dolan}, -title = {Fusion {R}esearch, {V}olume {III} ``{T}echnology''}, -publisher= {Pergamon Press}, -year=1982, -Note= {Chapter 20 ``Water-cooled magnets'' , - pages 600 ff ``circular loops'' -- Integrating the Biot-Savart Law (in cylindrical geometry)}, -} diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.pdf b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.pdf Binary files differindex 5cb39a83b04..fa7089315ae 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.pdf +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.pdf diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.tex b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.tex index 9425f93f6c5..6755a7eaa97 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.tex +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docEN.tex @@ -1,4 +1,4 @@ -%% $Id: pst-magneticfield-docEN.tex 323 2010-05-16 11:39:35Z herbert $ +%% $Id: pst-magneticfield-docEN.tex 343 2010-06-10 15:08:37Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \usepackage[latin1]{inputenc} @@ -6,21 +6,17 @@ \let\pstMFfv\fileversion \lstset{pos=t,language=PSTricks, morekeywords={psmagneticfield,psmagneticfieldThreeD},basicstyle=\footnotesize\ttfamily} + +%\newenvironment{postscript}{}{} % uncomment, when running with latex + \newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}} -\def\bgImage{% -\psset{unit=0.5cm} -\begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-8)(7,8) -\ThreeDput{\rput(0,-7){\textbf{Bobines de HELMHOLTZ}}} -\end{pspicture} -} +\def\bgImage{} % \begin{document} \title{\texttt{pst-magneticfield}} \subtitle{Magnetic field lines of a solenoid; v.\pstMFfv} \author{Juergen Gilg\\ Manuel Luque\\Herbert Vo\ss} -%\docauthor{Juergen Gilg\\Manuel Luque\\Herbert Vo\ss} \date{\today} \maketitle @@ -83,26 +79,54 @@ The route options, with the default values are as follows: A command \Lcs{psmagneticfieldThreeD} allows 3D visualization of the solenoid and field lines. +\begin{BDef} +\Lcs{psmagneticfield}\OptArgs\OptArg*{\coord1}\OptArg*{\coord2}\\ +\Lcs{psmagneticfieldThreeD}\OptArgs\OptArg*{\coord1}\OptArg*{\coord2} +\end{BDef} + +Missing coordinates are substituted to \verb+(-6,-5)(6,5)+! \clearpage \section{Influence of physical parameters on the map magnetic field} + \subsection{The length of the solenoid} -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.5cm} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1] +\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{L=4}},N=3,R=2,nS=1]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500] +\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{L=8}},N=3,R=2,nS=1]} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.5cm} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{L=4}},N=3,R=2,nS=1]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{L=8}},N=3,R=2,nS=1]} +\end{pspicture*} +\end{lstlisting} + + \textbf{Note:} To refine the layout of the second solenoid, we had to increase the -points and lower the pitch of the route: \Cadre{\textcolor{white}{pointsB=5500,PasB=0.0025}}, which +points and lower the pitch of the route: +\begin{postscript} +\Cadre{\textcolor{white}{pointsB=5500,PasB=0.0025}} +\end{postscript}, which takes more time for the calculations. @@ -110,35 +134,70 @@ takes more time for the calculations. \clearpage \subsection{The number of turns} -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0] +\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=1}},R=2,nS=0]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2] +\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=2}},R=2,L=2,PasS=0.003,nS=2]} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} -\begin{LTXexample}[pos=t] +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3] +\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=1}},R=2,nS=0]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=2}},R=2,L=2,PasS=0.003,nS=2]} +\end{pspicture*} +\end{lstlisting} + + +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=4}},R=2,L=4]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,numSpires=2 3 4](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=5}},R=2,L=5]} +\end{pspicture*} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=4}},R=2,L=4]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,numSpires=2 3 4] +\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,numSpires=2 3 4](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=5}},R=2,L=5]} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} \clearpage @@ -152,19 +211,35 @@ these turns can be selected individually \Lkeyword{numSpires}. -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{nL=8}},N=1,R=2]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{nL=12}},N=1,R=2]} +\end{pspicture*} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2] +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2](-7,-8)(7,8) \psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{nL=8}},N=1,R=2]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12] +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12](-7,-8)(7,8) \psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{nL=12}},N=1,R=2]} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} \clearpage \subsection{The number of points for the path} @@ -173,23 +248,43 @@ follows the step of the route and the number of selected points affect the accur as in the two examples below: -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100] +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100](-7,-8)(7,8) \psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{PasB=0.1,nL=4,pointsB=100}}]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100] +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100](-7,-8)(7,8) \psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{PasS=0.4,pointsB=100}}]} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{PasB=0.1,nL=4,pointsB=100}}]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{PasS=0.4,pointsB=100}}]} +\end{pspicture*} +\end{lstlisting} If the defaults do not suit it must be found by testing the @@ -200,38 +295,72 @@ values that give a correct path. \clearpage \section{The parameter \nxLkeyword{numSpires}} -\begin{LTXexample}[pos=t,wide] +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-8,-10)(8,10) +\psset{linecolor=blue} +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075](-8,-10)(8,10) +\psframe*[linecolor={[HTML]{99FF66}}](-8,-10)(8,-9) +\rput(0,-9.5){[\Cadre{\textcolor{white}{numSpires=1 3 6 8}},R=2,L=14]} +\multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} +\end{pspicture*}\quad +\begin{pspicture*}[showgrid](0,-10)(16,10) +\psset{linecolor=blue} +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075](0,-10)(16,10) +\psframe*[linecolor={[HTML]{99FF66}}](0,-10)(16,-9) +\rput(8,-9.5){[\Cadre{\textcolor{white}{numSpires=all}},R=2,L=14]} +\multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} +\end{pspicture*} +\end{postscript} +\end{center} + + +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-8,-10)(8,10) \psset{linecolor=blue} -\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075] +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075](-8,-10)(8,10) \psframe*[linecolor={[HTML]{99FF66}}](-8,-10)(8,-9) \rput(0,-9.5){[\Cadre{\textcolor{white}{numSpires=1 3 6 8}},R=2,L=14]} \multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} \end{pspicture*}\quad \begin{pspicture*}[showgrid](0,-10)(16,10) \psset{linecolor=blue} -\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075] +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075](0,-10)(16,10) \psframe*[linecolor={[HTML]{99FF66}}](0,-10)(16,-9) \rput(8,-9.5){[\Cadre{\textcolor{white}{numSpires=all}},R=2,L=14]} \multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} \clearpage \section{The parameter \nxLkeyword{AntiHelmholtz}} -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.75,AntiHelmholtz,N=2, R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} \newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} \newpsstyle{cadre}{linecolor=yellow!50} \begin{pspicture*}[showgrid](-7,-6)(7,6) -\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,6)(7,6) \psmagneticfield[linecolor={[HTML]{660066}}] \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} +\begin{lstlisting} +\psset{unit=0.75,AntiHelmholtz,N=2, + R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture*}[showgrid](-7,-6)(7,6) +\psframe*[linecolor={[HTML]{996666}}](-7,6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}}] +\end{pspicture*} +\end{lstlisting} \clearpage @@ -255,24 +384,59 @@ is encapsulated as the field map for \Lcs{psframe}. We can use the option In the following example we can see the handling of these two psstyles. -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} +\psset{unit=0.7cm} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=2000](-7,-6)(7,6) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.7cm} \newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} \newpsstyle{cadre}{linecolor=yellow!50} \begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=1000](-7,-8)(7,8) +\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=2000](-7,-6)(7,6) +\end{pspicture} +\end{lstlisting} + + +\begin{center} +\begin{postscript} +\psset{unit=0.7cm} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-6)(7,6) +\ThreeDput{\rput(0,-7){\textbf{Bobines de HELMHOLTZ}}} \end{pspicture} -\end{LTXexample} +\end{postscript} +\end{center} -\begin{LTXexample}[pos=t] +\begin{lstlisting} \psset{unit=0.7cm} \begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-8)(7,8) +\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-6)(7,6) \ThreeDput{\rput(0,-7){\textbf{Bobines de HELMHOLTZ}}} \end{pspicture} -\end{LTXexample} +\end{lstlisting} + +\begin{center} +\begin{postscript} +\psset{unit=0.75cm,AntiHelmholtz,N=2, + R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf,styleSpire=styleSpire,styleCourant=sensCourant} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[linecolor={[HTML]{660066}}](-7,-6)(7,6) +\end{pspicture} +\end{postscript} +\end{center} -\begin{LTXexample}[pos=t] +\begin{lstlisting} \psset{unit=0.75cm,AntiHelmholtz,N=2, R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, nL=2,drawSelf,styleSpire=styleSpire,styleCourant=sensCourant} @@ -281,9 +445,65 @@ In the following example we can see the handling of these two psstyles. \begin{pspicture}(-7,-6)(7,6) \psmagneticfieldThreeD[linecolor={[HTML]{660066}}](-7,-6)(7,6) \end{pspicture} -\end{LTXexample} +\end{lstlisting} + +\clearpage +\section{Density plots} +The optional argument \Lkeyword{StreamDensityPlot} allows to plot the +magnetic field as a colored stream density. A gray colored output is possioble +with setting the keyword \Lkeyword{setgray}. + +\begin{center} +\begin{postscript} +\begin{pspicture}(-6,-4)(6,4) +\psmagneticfield[N=3,R=2,L=2,StreamDensityPlot](-6,-4)(6,4) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} +\begin{pspicture}(-6,-4)(6,4) +\psmagneticfield[N=3,R=2,L=2,StreamDensityPlot](-6,-4)(6,4) +\end{pspicture} +\end{lstlisting} + +\begin{center} +\begin{postscript} +\psset{unit=0.75} +\begin{pspicture}(-6,-5)(6,5) +\psmagneticfield[N=2,R=2,L=1,StreamDensityPlot,setgray](-6,-5)(6,5) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.75} +\begin{pspicture}(-6,-5)(6,5) +\psmagneticfield[N=2,R=2,L=1,StreamDensityPlot,setgray](-6,-5)(6,5) +\end{pspicture} +\end{lstlisting} + + +\begin{center} +\begin{postscript} +\psset{unit=0.75,AntiHelmholtz, + R=2,pointsB=500,pointsS=2000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\begin{pspicture*}(-7,-6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}},StreamDensityPlot](-7,-6)(7,6) +\end{pspicture*} +\end{postscript} +\end{center} +\begin{lstlisting} +\psset{unit=0.75,AntiHelmholtz, + R=2,pointsB=500,pointsS=2000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\begin{pspicture*}(-7,-6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}},StreamDensityPlot](-7,-6)(7,6) +\end{pspicture*} +\end{lstlisting} \clearpage @@ -295,7 +515,7 @@ In the following example we can see the handling of these two psstyles. \bgroup \raggedright \bibliographystyle{plain} -\bibliography{\jobname} +\bibliography{pst-magneticfield-doc} \egroup diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.bib b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.bib deleted file mode 100644 index 14a8466e948..00000000000 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.bib +++ /dev/null @@ -1,79 +0,0 @@ -%% -*-bibtex-*- -@STRING{tugboat = {TUGboat} } -@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } - -@Book{companion, - author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Dennis Roegel and Herbert Vo\ss}, - title = {The {\LaTeX} {G}raphics {C}ompanion}, - publisher = {{Addison-Wesley Publishing Company}}, - edition = {second}, - year = {2007}, - address = {Reading, Mass.} -} - -@Article{girou:01:, - author = {Denis Girou}, - title = {Pr\'esentation de {PST}ricks}, - journal = {Cahier {GUT}enberg}, - year = 1994, - volume = {16}, - month = apr, - pages = {21-70} -} - -@Article{girou:02:, - author = {{Timothy Van} Zandt and Denis Girou}, - title = {Inside {PST}ricks}, - journal = TUGboat, - year = 1994, - volume = {15}, - month = sep, - pages = {239-246} -} - -@Book{PostScript, - Author = {Kollock, Nikolai G.}, - Title = {Post{S}cript richtig eingesetzt: vom {K}onzept zum - praktischen {E}insatz}, - Publisher = {IWT}, - Address = {Vaterstetten}, - year = 1989, -} - -@Manual{multido, - Title = {\texttt{multido.tex} - a loop macro, that supports fixed-point addition}, - Author = {{Timothy Van} Zandt}, - Organization = {}, - Address = {\url{CTAN:/graphics/pstricks/generic/multido.tex}}, - Note = {}, - year = 1997 -} - -@Book{PSTricks2, - author = {Herbert Vo\ss{}}, - title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX}, - edition = {fifth}, - publisher = {DANTE -- Lehmanns}, - year = {2008}, - address = {Heidelberg/Hamburg} -} - -@Book{abramowitz, - author = {M. Abramowitz and I. A. Stegun }, - year = 1964, - title = {Handbook of {M}athematical {F}unctions with {F}ormulas, {G}raphs, and - {M}athematical {T}ables}, - publisher = {National Bureau of Standards Applied Mathematics Series, - U.S. Government Printing Office}, - address = {Washington, D.C., USA}, - Note = {Corrections appeared in later printings up to the 10th Printing}, -} - -@Book{dolan, -author = {Thomas~J. ,Dolan}, -title = {Fusion {R}esearch, {V}olume {III} ``{T}echnology''}, -publisher= {Pergamon Press}, -year=1982, -Note= {Chapter 20 ``Water-cooled magnets'' , - pages 600 ff ``circular loops'' -- Integrating the Biot-Savart Law (in cylindrical geometry)}, -} diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.pdf b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.pdf Binary files differindex 3eff5d5d839..4e5dd583c65 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.pdf +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.pdf diff --git a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.tex b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.tex index 6a13361b7f4..6b0e5a2b96a 100644 --- a/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.tex +++ b/Master/texmf-dist/doc/generic/pst-magneticfield/pst-magneticfield-docFR.tex @@ -1,19 +1,16 @@ -%% $Id: pst-magneticfield-docFR.tex 323 2010-05-16 11:39:35Z herbert $ +%% $Id: pst-magneticfield-docFR.tex 343 2010-06-10 15:08:37Z herbert $ \documentclass[11pt,english,french,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \usepackage[latin1]{inputenc} \usepackage{pst-magneticfield} \let\pstMFfv\fileversion + +%\newenvironment{postscript}{}{} % uncomment, when running with latex + \lstset{pos=t,language=PSTricks, morekeywords={psmagneticfield,psmagneticfieldThreeD},basicstyle=\footnotesize\ttfamily} \newcommand\Cadre[1]{\psframebox[fillstyle=solid,fillcolor=black,linestyle=none,framesep=0]{#1}} -\def\bgImage{% -\psset{unit=0.5cm} -\begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-8)(7,8) -\ThreeDput{\rput(0,-7){\textbf{Bobines de HELMHOLTZ}}} -\end{pspicture} -} +\def\bgImage{} % \begin{document} @@ -85,22 +82,42 @@ des lignes de champ. \section{Influence des paramètres physiques sur la carte du champ magnétique} \subsection{La longueur du solénoïde} -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.5cm} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1] +\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{L=4}},N=3,R=2,nS=1]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500] +\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{L=8}},N=3,R=2,nS=1]} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.5cm} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=3,R=2,nS=1](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{L=4}},N=3,R=2,nS=1]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},L=8,N=3,R=2,nS=1,PasB=0.0025,pointsB=5500](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{L=8}},N=3,R=2,nS=1]} +\end{pspicture*} +\end{lstlisting} + \textbf{Remarque :} pour affiner le tracé du deuxième solénoïde, on a du augmenter -le nombre de points et diminuer le pas du tracé : \Cadre{\textcolor{white}{pointsB=5500,PasB=0.0025}}, +le nombre de points et diminuer le pas du tracé : +\begin{postscript} +\Cadre{\textcolor{white}{pointsB=5500,PasB=0.0025}} +\end{postscript}, ce qui rallonge la durée des calculs. @@ -108,35 +125,70 @@ ce qui rallonge la durée des calculs. \clearpage \subsection{Le nombre de spires} -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0] +\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=1}},R=2,nS=0]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2] +\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=2}},R=2,L=2,PasS=0.003,nS=2]} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=1,R=2,nS=0](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=1}},R=2,nS=0]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=2,R=2,L=2,PasS=0.003,nS=2](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=2}},R=2,L=2,PasS=0.003,nS=2]} +\end{pspicture*} +\end{lstlisting} + + +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=4}},R=2,L=4]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,numSpires=2 3 4](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{N=5}},R=2,L=5]} +\end{pspicture*} +\end{postscript} +\end{center} -\begin{LTXexample}[pos=t] +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3] +\psmagneticfield[linecolor={[HTML]{006633}},N=4,R=2,numSpires=2 3](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=4}},R=2,L=4]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,numSpires=2 3 4] +\psmagneticfield[linecolor={[HTML]{006633}},N=5,R=2,L=5,PasS=0.004,numSpires=2 3 4](-7,-8)(7,8) \psframe*[linecolor={[HTML]{99FF66}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{N=5}},R=2,L=5]} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} \clearpage @@ -150,19 +202,35 @@ avec \Lkeyword{numSpires}. -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{nL=8}},N=1,R=2]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{nL=12}},N=1,R=2]} +\end{pspicture*} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2] +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2](-7,-8)(7,8) \psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{nL=8}},N=1,R=2]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12] +\psmagneticfield[linecolor={[HTML]{000099}},N=1,R=2,nL=12](-7,-8)(7,8) \psframe*[linecolor={[HTML]{3399FF}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{nL=12}},N=1,R=2]} \end{pspicture*} -\end{LTXexample} +\end{lstlisting} \clearpage \subsection{Le nombre de points et le pas du tracé} @@ -170,23 +238,44 @@ Le tracé des lignes de champ est réalisé par une méthode numérique (RK2) et il s le pas du tracé et le nombre de points choisis influent sur la précision du tracé, comme dans les deux exemples ci-dessous : -\begin{LTXexample}[pos=t] +\begin{center} +\begin{postscript} \psset{unit=0.5} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100] +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100](-7,-8)(7,8) \psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{PasB=0.1,nL=4,pointsB=100}}]} \end{pspicture*} \begin{pspicture*}[showgrid](-7,-8)(7,8) -\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100] +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100](-7,-8)(7,8) \psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) \rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} \psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) \rput(0,-7.5){[\Cadre{\textcolor{white}{PasS=0.4,pointsB=100}}]} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.1,nS=0,nL=7,pointsB=100](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{PasB=0.1,nL=4,pointsB=100}}]} +\end{pspicture*} +\begin{pspicture*}[showgrid](-7,-8)(7,8) +\psmagneticfield[linecolor={[HTML]{660066}},N=2,R=2,L=2,PasB=0.4,nS=0,nL=7,pointsB=100](-7,-8)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\rput(0,7.5){\Cadre{\textcolor{white}{Bobines de Helmholtz}}} +\psframe*[linecolor={[HTML]{996666}}](-7,-8)(7,-7) +\rput(0,-7.5){[\Cadre{\textcolor{white}{PasS=0.4,pointsB=100}}]} +\end{pspicture*} +\end{lstlisting} + Si les valeurs par défaut ne conviennent pas il faut donc trouver par des essais les valeurs qui donnent un tracé correct. @@ -195,38 +284,72 @@ essais les valeurs qui donnent un tracé correct. \clearpage \section{Le paramètre: numSpires} -\begin{LTXexample}[pos=t,wide] +\begin{center} +\begin{postscript} \psset{unit=0.5} \begin{pspicture*}[showgrid](-8,-10)(8,10) \psset{linecolor=blue} -\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075] +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075](-8,-10)(8,10) \psframe*[linecolor={[HTML]{99FF66}}](-8,-10)(8,-9) \rput(0,-9.5){[\Cadre{\textcolor{white}{numSpires=1 3 6 8}},R=2,L=14]} \multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} \end{pspicture*}\quad \begin{pspicture*}[showgrid](0,-10)(16,10) \psset{linecolor=blue} -\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075] +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075](0,-10)(16,10) \psframe*[linecolor={[HTML]{99FF66}}](0,-10)(16,-9) \rput(8,-9.5){[\Cadre{\textcolor{white}{numSpires=all}},R=2,L=14]} \multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} +\begin{lstlisting} +\psset{unit=0.5} +\begin{pspicture*}[showgrid](-8,-10)(8,10) +\psset{linecolor=blue} +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,nS=1,numSpires=1 3 6 8,PasB=0.075](-8,-10)(8,10) +\psframe*[linecolor={[HTML]{99FF66}}](-8,-10)(8,-9) +\rput(0,-9.5){[\Cadre{\textcolor{white}{numSpires=1 3 6 8}},R=2,L=14]} +\multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} +\end{pspicture*}\quad +\begin{pspicture*}[showgrid](0,-10)(16,10) +\psset{linecolor=blue} +\psmagneticfield[R=2,L=12,N=8,pointsS=500,nL=14,numSpires=,nS=1,PasB=0.075](0,-10)(16,10) +\psframe*[linecolor={[HTML]{99FF66}}](0,-10)(16,-9) +\rput(8,-9.5){[\Cadre{\textcolor{white}{numSpires=all}},R=2,L=14]} +\multido{\i=0+1}{8}{\rput[l](!6 6 12 7 div \i\space mul sub){\the\multidocount}} +\end{pspicture*} +\end{lstlisting} + \clearpage -\section{The parameter \nxLkeyword{AntiHelmholtz}} -\begin{LTXexample}[pos=t] +\section{Le param\`etre \nxLkeyword{AntiHelmholtz}} +\begin{center} +\begin{postscript} \psset{unit=0.75,AntiHelmholtz,N=2, R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} \newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} \newpsstyle{cadre}{linecolor=yellow!50} \begin{pspicture*}[showgrid](-7,-6)(7,6) -\psframe*[linecolor={[HTML]{996666}}](-7,7)(7,8) +\psframe*[linecolor={[HTML]{996666}}](-7,6)(7,6) \psmagneticfield[linecolor={[HTML]{660066}}] \end{pspicture*} -\end{LTXexample} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.75,AntiHelmholtz,N=2, + R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture*}[showgrid](-7,-6)(7,6) +\psframe*[linecolor={[HTML]{996666}}](-7,6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}}] +\end{pspicture*} +\end{lstlisting} \clearpage @@ -251,24 +374,61 @@ Les options du cadre sont, par défaut, les suivantes : \end{verbatim} Ce sont donc celles-ci qu'il faudra modifier si on souhaite en changer, comme dans l'exemple ci-dessous. -\begin{LTXexample}[pos=t] -\psset{unit=0.7} + + +\begin{center} +\begin{postscript} +\psset{unit=0.7cm} \newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} \newpsstyle{cadre}{linecolor=yellow!50} \begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=1000](-7,-8)(7,8) +\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=2000](-7,-6)(7,6) \end{pspicture} -\end{LTXexample} +\end{postscript} +\end{center} -\begin{LTXexample}[pos=t] -\psset{unit=0.7} +\begin{lstlisting} +\psset{unit=0.7cm} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[N=8,R=2,L=8,pointsB=1200,linecolor=blue,pointsS=2000](-7,-6)(7,6) +\end{pspicture} +\end{lstlisting} + + +\begin{center} +\begin{postscript} +\psset{unit=0.7cm} \begin{pspicture}(-7,-6)(7,6) -\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-8)(7,8) +\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-6)(7,6) \ThreeDput{\rput(0,-7){\textbf{Bobines de HELMHOLTZ}}} \end{pspicture} -\end{LTXexample} +\end{postscript} +\end{center} -\begin{LTXexample}[pos=t] +\begin{lstlisting} +\psset{unit=0.7cm} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[N=2,R=2,L=2,linecolor=blue](-7,-6)(7,6) +\ThreeDput{\rput(0,-7){\textbf{Bobines de HELMHOLTZ}}} +\end{pspicture} +\end{lstlisting} + +\begin{center} +\begin{postscript} +\psset{unit=0.75cm,AntiHelmholtz,N=2, + R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf,styleSpire=styleSpire,styleCourant=sensCourant} +\newpsstyle{grille}{subgriddiv=0,gridcolor=blue!50,griddots=10} +\newpsstyle{cadre}{linecolor=yellow!50} +\begin{pspicture}(-7,-6)(7,6) +\psmagneticfieldThreeD[linecolor={[HTML]{660066}}](-7,-6)(7,6) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} \psset{unit=0.75cm,AntiHelmholtz,N=2, R=2,pointsB=500,pointsS=1000,PasB=0.02,PasS=0.00275,nS=10, nL=2,drawSelf,styleSpire=styleSpire,styleCourant=sensCourant} @@ -277,7 +437,65 @@ Ce sont donc celles-ci qu'il faudra modifier si on souhaite en changer, comme da \begin{pspicture}(-7,-6)(7,6) \psmagneticfieldThreeD[linecolor={[HTML]{660066}}](-7,-6)(7,6) \end{pspicture} -\end{LTXexample} +\end{lstlisting} + +\clearpage + +\section{Density plots} +\begin{center} +\begin{postscript} +\begin{pspicture}(-6,-4)(6,4) +\psmagneticfield[N=3,R=2,L=2,StreamDensityPlot](-6,-4)(6,4) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} +\begin{pspicture}(-6,-4)(6,4) +\psmagneticfield[N=3,R=2,L=2,StreamDensityPlot](-6,-4)(6,4) +\end{pspicture} +\end{lstlisting} + +\begin{center} +\begin{postscript} +\psset{unit=0.75} +\begin{pspicture}(-6,-5)(6,5) +\psmagneticfield[N=2,R=2,L=1,StreamDensityPlot,setgray](-6,-5)(6,5) +\end{pspicture} +\end{postscript} +\end{center} + +\begin{lstlisting} +\psset{unit=0.75} +\begin{pspicture}(-6,-5)(6,5) +\psmagneticfield[N=2,R=2,L=1,StreamDensityPlot,setgray](-6,-5)(6,5) +\end{pspicture} +\end{lstlisting} + + +\begin{center} +\begin{postscript} +\psset{unit=0.75,AntiHelmholtz, + R=2,pointsB=500,pointsS=2000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\begin{pspicture*}(-7,-6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}},StreamDensityPlot](-7,-6)(7,6) +\end{pspicture*} +\end{postscript} +\end{center} + + +\begin{lstlisting} +\psset{unit=0.75,AntiHelmholtz, + R=2,pointsB=500,pointsS=2000,PasB=0.02,PasS=0.00275,nS=10, + nL=2,drawSelf=true,styleSpire=styleSpire,styleCourant=sensCourant} +\begin{pspicture*}(-7,-6)(7,6) +\psmagneticfield[linecolor={[HTML]{660066}},StreamDensityPlot](-7,-6)(7,6) +\end{pspicture*} +\end{lstlisting} + + + \clearpage @@ -289,7 +507,7 @@ Ce sont donc celles-ci qu'il faudra modifier si on souhaite en changer, comme da \bgroup \raggedright \bibliographystyle{plain} -\bibliography{\jobname} +\bibliography{pst-magneticfield-doc} \egroup |