%% %% A DANTE-Edition example %% %% Example 33-03-35 on page 705. %% %% Copyright (C) 2011 Herbert Voss %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% %% See http://www.latex-project.org/lppl.txt for details. %% %% %% ==== % Show page(s) 1 %% \documentclass[]{article} \pagestyle{empty} \setlength\textwidth{375.57637pt} \setlength\parindent{0pt} \usepackage{pst-diffraction} \begin{document} \begin{pspicture}(-4.5,-1.5)(4.5,1.5) \psdiffractionRectangle[a=0.5e-3,k=10,f=10,pixel=0.5,lambda=550,twoSlit, s=2e-3,colorMode=0] \end{pspicture} \end{document}