# Transmission grating in pst-optexp

It seems that transmission gratings have not been implemented yet in the pst-optexp. Does anyone know whether there exists a workaround?

• write to the PSTricks mailing list and you'll get an answer of the package author. – user2478 Jul 11 '13 at 19:52

Version 4.4 of the pst-optexp package includes a \transmissiongrating:

\documentclass[pstricks, margin=5pt]{standalone}
\usepackage{pst-optexp}
\begin{document}
\begin{pspicture}(4.1,1.6)
\pnodes(0,1){A}(2,1){B}(4,0.5){C}
\transmissiongrating[reverse, gratingcount=9](A)(B)(C){TG}
\optplane[angle=-10](C)