summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-3dplot/examples/3d1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-3dplot/examples/3d1.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-3dplot/examples/3d1.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/examples/3d1.tex b/Master/texmf-dist/doc/generic/pst-3dplot/examples/3d1.tex
new file mode 100644
index 00000000000..12def4d2fe4
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-3dplot/examples/3d1.tex
@@ -0,0 +1,14 @@
+\documentclass[12pt]{article}
+\usepackage{pst-3dplot}
+\begin{document}
+
+\psset{unit=3cm,Beta=10,Alpha=60}
+
+\begin{pspicture}(-1,-1)(1,1)
+\pstThreeDCoor[xMax=2.5,yMax=2.5,zMax=2.5,drawing=false]
+\pstThreeDBox(1,1,-1)(-2,0,0)(0,-2,0)(0,0,2)
+\psplotThreeD[linecolor=blue,drawStyle=xyLines](-1,1)(-1,1){x 2 exp y mul}
+\psplotThreeD[linecolor=red,drawStyle=yLines](-1,1)(-1,1){x 2 exp y mul}
+\end{pspicture}
+
+\end{document}