[pstricks] psbrace

赵劲松 jszhao at mail.hzau.edu.cn
Sat Sep 17 01:21:29 CEST 2005


Hi all,

I have one question about psbrace in pstricks-add package. when I set the xunit =
yunit in the following code, the psbrace seem work well. However, when xunit do
not equal to yunit, it seems in a wrong way. How to get a similar figure whether
the xunit equal to yunit or not. 

Thanks in advane!  


    \psset{xunit=0.5cm,yunit=0.5cm}
    \begin{pspicture}(16,18)
        \psbrace[linewidth=0.25pt,ref=lC](5,2)(5,6.286){\fbox{ABC}}
        \psaxes[linecolor=blue,Ox=0,Oy=0,Dx=1,Dy=1,ticksize=0
5pt]{->}(2,2)(16,18)
        \psplot[plotstyle=line]{2}{15}{1.143 x mul 0.571 add}
        \psline[linestyle=dotted](5,2)(5,6.286)
        \psline[linestyle=dotted](11,2)(11,15)
        \psdots(4,5)
        \psdots(5,6)
        \psdots[linecolor=red](7,8)
        \psdots(10,11)
        \psdots(11,14)
        \psdots(14,16)
    \end{pspicture}





More information about the PSTricks mailing list