summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/voss/bsp63.tex
blob: 814a0da98278f62747390d03f29eaa13ade535ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-3dplot}

\parindent=0pt
\pagestyle{empty}
\begin{document}

\begin{pspicture}(-3,-1.5)(3,1.5)
\psset{Beta=15,linecolor=blue}
\pstThreeDCoor[drawing=false]
\pstThreeDBox(-1,-2,-1)(2,0,0)(0,4,0)(0,0,2)
\pstThreeDLine[linestyle=dashed,linecolor=red](-1,0,0)(1,0,0)
\pstThreeDLine[linecolor=red,linewidth=1.5pt,arrows=->](1,0,0)(4,0,0)
\pstThreeDPut(4.2,0,0){x}
\pstThreeDLine[linestyle=dashed,linecolor=red](0,-1,0)(0,2,0)
\pstThreeDLine[linecolor=red,linewidth=1.5pt,arrows=->](0,2,0)(0,4,0)
\pstThreeDPut(0,4.2,0){y}
\end{pspicture}

\end{document}