\documentclass[10pt]{article} \usepackage{pstricks-add} \pagestyle{empty} \begin{document} \newrgbcolor{xdxdff}{0.49 0.49 1} \psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25} \begin{pspicture*}(-5,-3.31)(4.97,4.24) \psline(-2,-2)(2,-2) \psline[linestyle=dashed,dash=2pt 2pt](-2,-2)(0,0) \psline[linestyle=dashed,dash=2pt 2pt](0,0)(4,0) \psline(4,0)(2,-2) \psline[linestyle=dashed,dash=2pt 2pt](2,-2)(0,0) \psline[linestyle=dashed,dash=2pt 2pt](-2,-2)(4,0) \psline[linestyle=dashed,dash=2pt 2pt](1,-1)(1,3) \psline[linestyle=dashed,dash=2pt 2pt](1,3)(0,0) \psline(1,3)(-2,-2) \psline(1,3)(2,-2) \psline(1,3)(4,0) \psdots[dotstyle=*,linecolor=blue](-2,-2) \rput[bl](-2.2,-1.93){\blue{$A$}} \psdots[dotstyle=*,linecolor=blue](2,-2) \rput[bl](2.16,-2.16){\blue{$B$}} \psdots[dotstyle=*,linecolor=darkgray](0,0) \rput[bl](-0.2,0.09){\darkgray{$C$}} \psdots[dotstyle=*,linecolor=xdxdff](4,0) \rput[bl](4.06,0.07){\xdxdff{$D$}} \psdots[dotstyle=*,linecolor=darkgray](1,-1) \rput[bl](1.13,-0.84){\darkgray{$O$}} \psdots[dotstyle=*,linecolor=blue](1,3) \rput[bl](1.06,3.07){\blue{$S$}} \end{pspicture*} \end{document}