Skip to content

Instantly share code, notes, and snippets.

@chaoxu
Created May 21, 2010 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaoxu/408461 to your computer and use it in GitHub Desktop.
Save chaoxu/408461 to your computer and use it in GitHub Desktop.
\documentclass[10pt]{article}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\pagestyle{empty}
\begin{document}
\definecolor{xdxdff}{rgb}{0.66,0.66,0.66}
\definecolor{qqqqff}{rgb}{0.33,0.33,0.33}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=0.5cm,y=0.5cm]
\clip(0,-20) rectangle (30,0);
\draw (8.55,-9.69)-- (17.64,-15.71);
\draw (18.63,-10.13)-- (17.64,-15.71);
\draw (-3.94,-13.11)-- (8.55,-9.69);
\draw (8.55,-9.69)-- (8.55,3.38);
\draw (17.14,3.69)-- (18.63,-10.13);
\draw (18.63,-10.13)-- (36.34,1.67);
\draw (17.64,-15.71)-- (20.09,-22.01);
\fill [color=qqqqff] (4.1,5.8) circle (1.5pt);
\draw[color=qqqqff] (-9.81,5.36) node {$A$};
\fill [color=qqqqff] (6.7,15.3) circle (1.5pt);
\draw[color=qqqqff] (-9.77,5.36) node {$B$};
\fill [color=qqqqff] (4.1,-5.8) circle (1.5pt);
\fill [color=qqqqff] (6.7,-15.3) circle (1.5pt);
\fill [color=qqqqff] (13,-5.8) circle (1.5pt);
\fill [color=qqqqff] (23.2,-4.7) circle (1.5pt);
\fill [color=qqqqff] (25.4,-8) circle (1.5pt);
\fill [color=xdxdff] (-3.94,-13.11) circle (1.5pt);
\fill [color=xdxdff] (8.55,3.38) circle (1.5pt);
\fill [color=xdxdff] (17.14,3.69) circle (1.5pt);
\fill [color=xdxdff] (36.34,1.67) circle (1.5pt);
\fill [color=xdxdff] (20.09,-22.01) circle (1.5pt);
\end{tikzpicture}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment