由买买提看人间百态

topics

全部话题 - 话题: linestyle
(共0页)
s*****g
发帖数: 5159
1
Say I have drawn a cube
%%%%%
\begin{pspicture}(0,0)(12,3)
\psframe[linestyle=none,%
fillstyle=solid,%
fillcolor=Apricot]%
(0,0)(2,2)
\pspolygon[linestyle=none,%
fillstyle=solid,%
fillcolor=Tan]%
(0,2)(2,2)(3,3)(1,3)
\pspolygon[linestyle=none,%
fillstyle=solid,%
fillcolor=Mahogany]%
(2,0)(3,1)(3,3)(2,2)
\end{pspicture}
%%%%%
with starts at (0,0) and has a upper right corner of (3,3).
I wish to draw another two cubes looks the same at (4,0) (7,3) and (8,0) (11
,3).
Is there a way for me to use th
S**I
发帖数: 15689
2
\def\myCube{
\psframe[linestyle=none,%
fillstyle=solid,%
fillcolor=Apricot]%
(0,0)(2,2)
\pspolygon[linestyle=none,%
fillstyle=solid,%
fillcolor=Tan]%
(0,2)(2,2)(3,3)(1,3)
\pspolygon[linestyle=none,%
fillstyle=solid,%
fillcolor=Mahogany]%
(2,0)(3,1)(3,3)(2,2)
}
\begin{pspicture}(0,0)(12,3)
\rput(0,0){\myCube}
\rput(4,0){\myCube}
\rput(8,0){\myCube}
\end{pspicture}

11
SAME
r****y
发帖数: 1437
3
来自主题: Computation版 - errorbar问题

set LineStyle none?
(共0页)