[pstricks] linecolor in pstricks

赵劲松 jszhao at mail.hzau.edu.cn
Sat Sep 17 07:00:24 CEST 2005


Dear all,

There is some different in the output figure, when the
``linecolor=blue'' were removed from the following code or not. Why?

Any help will be appreciated!

---------->start code<------------------
\documentclass{article}
\usepackage{pstricks,pstricks-add}
\listfiles
\begin{document}
\begin{pspicture}(12,7)%\psgrid
\psbrace[linecolor=blue,linewidth=0.5pt,ref=rC,rot=180,linearc=2pt,braceWidth=0.2]
(7.75,5.40)(7.75,4.8861){\color{blue}$e_5$}
\psbrace[linecolor=blue,linewidth=0.5pt,ref=rC,rot=180,linearc=4pt,braceWidth=0.3]
(7.75,4.8861)(7.75,0){\color{blue}$\hat{y}_5$}
\psbrace[linecolor=blue,linewidth=0.5pt,ref=lC,linearc=4pt,braceWidth=0.3](7.75,0)
(7.75,5.40){\color{blue}$y_5$}
\psaxes[Ox=0,Oy=0,Dx=1,Dy=1,dy=0.45,dx=0.75,ticksize=0 3pt]{->}(1,0)(11,7)
\psplot[plotstyle=line]{1}{10.5}{0.6858 x mul 0.42885 sub}
\psline[linestyle=dotted](7.75,0)(7.75,5.40)
\psdots(3.25,1.80)
\psdots(4.75,2.70)
\psdots(2.50,1.35)
\psdots(7.00,4.05)
\psdots(7.75,5.40)
\psdots(10.00,6.30)
\end{pspicture}
\end{document}
---------->end code<------------------

 *File List*
 article.cls    2001/04/21 v1.4e Standard LaTeX document class
  size10.clo    2001/04/21 v1.4e Standard LaTeX file (size option)
pstricks.sty    2004/05/12 v0.2l LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2004/06/22 v1.04 `PSTricks' (tvz)
  xcolor.sty    2004/07/04 v2.00 LaTeX color extensions (UK)
   color.cfg    2001/08/31 v1.1 color configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.sty    2004/07/18 package wrapper for pstricks-add.tex
(hv)
pstricks-add.tex    2004/11/13 v2.25 `PSTricks-add' (hv)
pst-xkey.tex    2005/02/22 v1.5 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2005/08/12 v2.5d package option processing (HA)
 xkeyval.tex    2005/08/12 v2.5d key=value parser (HA)
 ***********





More information about the PSTricks mailing list