% 12-6-3.tex
\documentclass{article}
\usepackage[dvipsnames]{pstricks}
\usepackage{pst-grad}
\usepackage{CJK}
\begin{document}
\begin{CJK*}{GBK}{song}
\CJKtilde
\begin{center}
\begin{pspicture}(0,0)(5,2)
\psline[linecolor=blue](1,1)(2,2)(3,1)(4,2)(5,1)
\psline[linearc=0.5,linecolor=red](1,1)(2,2)(3,1)(4,2)(5,1)
\end{pspicture}
图~18
\end{center}
\begin{center}
\begin{pspicture}(0,0)(3,3)
\psframe*[linecolor=yellow](0,0)(3,3)
\pscircle*[linecolor=green](1.5,1.5){1.5}
\end{pspicture}
图~19
\end{center}
\begin{center}
\begin{pspicture}(0,0)(3,3)
\psframe[fillstyle=solid,fillcolor=yellow](0,0)(3,3)
\pscircle[fillstyle=solid,fillcolor=green](1.5,1.5){1.5}
\end{pspicture}
图~20
\end{center}
\begin{center}
\begin{pspicture}(0,0)(3,3)
\psframe[linestyle=none,fillstyle=solid,fillcolor=yellow](0,0)(3,3)
\pscircle[linestyle=none,fillstyle=solid,fillcolor=green](1.5,1.5){1.5}
\end{pspicture}
图~21
\end{center}
\begin{center}
\begin{pspicture}(0,0)(3,3)
\psframe[linecolor=blue,fillstyle=solid,fillcolor=yellow](0,0)(3,3)
\pscircle[linecolor=red,fillstyle=solid,fillcolor=green](1.5,1.5){1.5}
\end{pspicture}
图~22
\end{center}
\begin{center}
\begin{pspicture}(0,0)(3,3)
\psframe[fillstyle=crosshatch,hatchcolor=Apricot](0,0)(2,2)
\pspolygon[fillstyle=hlines,hatchcolor=Tan](0,2)(2,2)(3,3)(1,3)
\pspolygon[fillstyle=vlines,hatchcolor=Mahogany](2,0)(3,1)(3,3)(2,2)
\end{pspicture}
图~23
\end{center}
\begin{center}
\begin{pspicture}(0,0)(4,4)
\psframe[linestyle=none,fillstyle=crosshatch*,hatchcolor=Tan,%
hatchwidth=1pt,fillcolor=Apricot](0,0)(2,2)
\pspolygon[linestyle=none,fillstyle=hlines*,hatchcolor=Mahogany,hatchwidth=1pt,fillcolor=Tan]%
(0,2)(2,2)(3,3)(1,3)
\pspolygon[linestyle=none,fillstyle=vlines*,hatchcolor=Apricot,hatchwidth=1pt,fillcolor=Mahogany]%
(2,0)(3,1)(3,3)(2,2)
\end{pspicture}
图~24
\end{center}
\begin{center}
\begin{pspicture}(0,0)(3,3)
\psframe[linestyle=none,fillstyle=crosshatch*,hatchcolor=Tan,hatchwidth=1pt,%
hatchangle=90,fillcolor=Apricot](0,0)(2,2)
\pspolygon[linestyle=none,fillstyle=hlines*,hatchcolor=Mahogany,hatchwidth=1pt,%
fillcolor=Tan](0,2)(2,2)(3,3)(1,3)
\pspolygon[linestyle=none,fillstyle=vlines*,hatchcolor=Apricot,hatchwidth=1pt,%
hatchangle=180,fillcolor=Mahogany](2,0)(3,1)(3,3)(2,2)
\end{pspicture}
图~25
\end{center}
\begin{center}
\definecolor{myblue}{rgb}{0.66,0.78,1.00}
\definecolor{mygreen}{rgb}{0.49,0.52,0.23}
\definecolor{mygray}{gray}{0.4}
\begin{pspicture}(0,0)(9,5)
\psframe[linestyle=none,%
linewidth=0pt,%
fillstyle=solid,%
fillcolor=myblue]%
(0,2)(9,5)
\pscircle[linestyle=none,%
linewidth=0pt,%
fillstyle=solid,%
fillcolor=RedOrange]%
(3,2.3){0.5}
\pspolygon[linestyle=none,%
linewidth=0pt,%
fillstyle=solid,%
fillcolor=mygray]%
(0,2)(1,2.2)(2,2.5)(3,2.2)(4,2.4)%
(5,2.5)(6,2.2)(7,2.2)(8,2.4)(9,2)
\psframe[linestyle=none,%
linewidth=0pt,%
fillstyle=solid,%
fillcolor=mygreen]%
(0,0)(9,2)
\end{pspicture}
图~26
\end{center}
\begin{center}
\definecolor{myblue}{rgb}{0.66,0.78,1.00}
\definecolor{mypink}{rgb}{1.00,0.70,0.72}
\definecolor{mygreen}{rgb}{0.49,0.52,0.23}
\begin{pspicture}(0,0)(9,5)
\psframe[linestyle=none,linewidth=0pt,fillstyle=gradient,%
gradbegin=myblue,gradend=mypink](0,2)(9,5)
\pscircle[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradbegin=YellowOrange,%
gradend=RedOrange]%
(3,2.3){0.5}
\pspolygon[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradbegin=Melon,%
gradend=gray]%
(0,2)(1,2.2)(2,2.5)(3,2.2)(4,2.4)%
(5,2.5)(6,2.2)(7,2.2)(8,2.4)(9,2)
\psframe[linestyle=none,
linewidth=0pt,
fillstyle=gradient,
gradbegin=Tan,
gradend=mygreen]
(0,0)(9,2)
\end{pspicture}
图~27
\end{center}
\begin{center}
\definecolor{myblue}{rgb}{0.66,0.78,1.00}
\definecolor{mypink}{rgb}{1.00,0.70,0.72}
\definecolor{mygreen}{rgb}{0.49,0.52,0.23}
\begin{pspicture}(0,0)(9,5)
\psframe[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradbegin=myblue,%
gradend=mypink,%
gradmidpoint=1]%
(0,2)(9,5)
\pscircle[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradangle=0,%
gradbegin=YellowOrange,%
gradend=RedOrange]%
(3,2.3){0.5}
\pspolygon[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradbegin=Melon,%
gradend=gray,%
gradmidpoint=1]%
(0,2)(1,2.2)(2,2.5)(3,2.2)(4,2.4)%
(5,2.5)(6,2.2)(7,2.2)(8,2.4)(9,2)
\psframe[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradbegin=Tan,%
gradend=mygreen,%
gradmidpoint=1]%
(0,0)(9,2)
\psline[linecolor=Tan](0,2)(9,2)
\end{pspicture}
图~28
\end{center}
\begin{center}
\definecolor{myblue}{rgb}{0.66,0.78,1.00}
\definecolor{mypink}{rgb}{1.00,0.70,0.72}
\definecolor{mygreen}{rgb}{0.49,0.52,0.23}
\begin{pspicture}(0,0)(9,5)
\psframe[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradangle=350,%
gradbegin=myblue,%
gradend=mypink,%
gradmidpoint=1]%
(0,2)(9,5)
\pscircle[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradangle=0,%
gradbegin=YellowOrange,%
gradend=RedOrange]%
(3,2.3){0.5}
\pspolygon[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradangle=90,%
gradbegin=Melon,%
gradend=gray,%
gradmidpoint=1]%
(0,2)(1,2.2)(2,2.5)(3,2.2)(4,2.4)%
(5,2.5)(6,2.2)(7,2.2)(8,2.4)(9,2)
\psframe[linestyle=none,%
linewidth=0pt,%
fillstyle=gradient,%
gradangle=10,%
gradbegin=Tan,%
gradend=mygreen,%
gradmidpoint=1]%
(0,0)(9,2)
\psline[linecolor=Tan](0,2)(9,2)
\end{pspicture}
图~28a
\end{center}
\end{CJK*}
\end{document}