Initial commit
This commit is contained in:
23
figs/cluster.fig/Makefile
Normal file
23
figs/cluster.fig/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
PROJECTNAME=$(basename $(basename $(wildcard *.tikz.tex)))
|
||||
|
||||
PDFS=$(addsuffix .pdf, $(PROJECTNAME))
|
||||
|
||||
all: $(PDFS)
|
||||
|
||||
$(PDFS):
|
||||
pdflatex -jobname $(basename $@) $(patsubst %.pdf, %.tikz.tex, $@)
|
||||
|
||||
|
||||
install: $(PDFS)
|
||||
cp $^ $(INSTALLDIR)/
|
||||
|
||||
|
||||
clean-aux:
|
||||
rm -f $(addsuffix .aux, $(PROJECTNAME))
|
||||
rm -f $(addsuffix .log, $(PROJECTNAME))
|
||||
rm -f $(addsuffix .out, $(PROJECTNAME))
|
||||
|
||||
clean-tex:
|
||||
rm -f $(PDFS) $(SYNCTEXS)
|
||||
|
||||
clean: clean-aux clean-tex
|
||||
33
figs/cluster.fig/cluster.tikz.tex
Normal file
33
figs/cluster.fig/cluster.tikz.tex
Normal file
@@ -0,0 +1,33 @@
|
||||
\documentclass{standalone}
|
||||
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{decorations.pathmorphing,decorations.markings}
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}
|
||||
|
||||
|
||||
\foreach \i in {1,...,7}{
|
||||
\draw[postaction=decorate, decoration={markings, mark=at position .5 with {\arrow{>}}}](2*\i-2,0)--(2*\i,0);
|
||||
\draw[decorate, decoration={snake}](2*\i,2)--++(0,-2);
|
||||
\fill(2*\i,0)circle(0.1);
|
||||
}
|
||||
\draw[postaction=decorate, decoration={markings, mark=at position .5 with {\arrow{>}}}](14,0)--(16,0);
|
||||
|
||||
\draw(1,0.25)node{$h$};
|
||||
\draw(3,0.25)node{$h_1$};
|
||||
\draw(5,0.25)node{$h_2$};
|
||||
\draw(7,0.25)node{$h_3$};
|
||||
\draw(9,0.25)node{$h_2$};
|
||||
\draw(11,0.25)node{$h_1$};
|
||||
\draw(13,0.25)node{$h_1$};
|
||||
\draw(15,0.25)node{$h$};
|
||||
|
||||
\draw[line width=0.25em](1.75,-1)--++(0,4)--++(12.5,0)--++(0,-4)--++(-12.5,0);
|
||||
\draw[line width=0.25em](3.75,-0.75)--++(0,3.5)--++(6.5,0)--++(0,-3.5)--++(-6.5,0);
|
||||
\draw[line width=0.25em](5.75,-0.5)--++(0,3)--++(2.5,0)--++(0,-3)--++(-2.5,0);
|
||||
\draw[line width=0.25em](11.75,-0.5)--++(0,3)--++(0.5,0)--++(0,-3)--++(-0.5,0);
|
||||
|
||||
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user