summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-base/examples/tkzbase-12-10-2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-base/examples/tkzbase-12-10-2.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-base/examples/tkzbase-12-10-2.tex12
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-base/examples/tkzbase-12-10-2.tex b/macros/latex/contrib/tkz/tkz-base/examples/tkzbase-12-10-2.tex
new file mode 100644
index 0000000000..3a975adeb6
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-base/examples/tkzbase-12-10-2.tex
@@ -0,0 +1,12 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=3]
+ \tkzGrid[sub,orange]
+ \tkzAxeXY
+ \tkzDefPoint(1,0){A}
+ \tkzDefPoint(4,2){B}
+ \tkzGetPointCoord(A){a}
+ \tkzGetPointCoord(B){b}
+ \tkzDefPoint(\ax,\ay){C}
+ \tkzDefPoint(\bx,\by){D}
+ \tkzDrawPoints[color=red](C,D)
+\end{tikzpicture}