summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/tikzscale/3Dplot.tikz
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pgf/contrib/tikzscale/3Dplot.tikz
Initial commit
Diffstat (limited to 'graphics/pgf/contrib/tikzscale/3Dplot.tikz')
-rw-r--r--graphics/pgf/contrib/tikzscale/3Dplot.tikz10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/tikzscale/3Dplot.tikz b/graphics/pgf/contrib/tikzscale/3Dplot.tikz
new file mode 100644
index 0000000000..2875de72c2
--- /dev/null
+++ b/graphics/pgf/contrib/tikzscale/3Dplot.tikz
@@ -0,0 +1,10 @@
+\tdplotsetmaincoords{77}{-8}%
+\begin{tikzpicture}[tdplot_main_coords]
+ x={(2 cm, 2 cm)},%
+ y={(2 cm, 2 cm)},%
+ z={(2 cm, 2 cm)}%
+ ]%
+ \draw [->] (0,0,0) -- (1,0,0) node[below] {$x_1$};%
+ \draw [->] (0,0,0) -- (0,0,1) node[left] {$x_2$};%
+ \draw [->] (0,0,0) -- (0,1,0) node[left] {$x_3$};%
+\end{tikzpicture}% \ No newline at end of file