diff options
Diffstat (limited to 'figs/trajectory.fig')
-rw-r--r-- | figs/trajectory.fig/Makefile | 30 | ||||
-rw-r--r-- | figs/trajectory.fig/trajectory.tikz.tex | 26 |
2 files changed, 56 insertions, 0 deletions
diff --git a/figs/trajectory.fig/Makefile b/figs/trajectory.fig/Makefile new file mode 100644 index 0000000..3af70f0 --- /dev/null +++ b/figs/trajectory.fig/Makefile @@ -0,0 +1,30 @@ +PROJECTNAME=trajectory + +SIMPLEQ=~/Work/Research/2018+bose_gas/cmp/simpleq + +PDFS=$(addsuffix .pdf, $(PROJECTNAME)) +TEXS=trajectory.tikz.tex + +all: $(PDFS) + +$(PDFS): $(TEXS) + pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@) + +trajectory.tikz.tex: + python trajectory.py > $@ + + +install: $(PDFS) + cp $^ $(INSTALLDIR)/ + +clean-aux: + rm -f $(addsuffix .aux, $(PROJECTNAME)) + rm -f $(addsuffix .log, $(PROJECTNAME)) + +clean-dat: + rm -f $(TEXS) + +clean-tex: + rm -f $(PDFS) + +clean: clean-aux clean-tex diff --git a/figs/trajectory.fig/trajectory.tikz.tex b/figs/trajectory.fig/trajectory.tikz.tex new file mode 100644 index 0000000..8854a5c --- /dev/null +++ b/figs/trajectory.fig/trajectory.tikz.tex @@ -0,0 +1,26 @@ +\documentclass{standalone} +\usepackage{tikz} +\begin{document} +\begin{tikzpicture} +\draw[rotate=263.6206297915572,line width=1,dashed](-4.47213595499958,0) ellipse (5.0 and 2.2360679774997902); +\begin{scope} +\clip(-5,2)--++(15,0)--++(0,8)--++(-15,0); +\draw[rotate=263.6206297915572,line width=2, color=blue](-4.47213595499958,0) ellipse (5.0 and 2.2360679774997902); +\end{scope} +\draw[rotate=231.45599405039505,line width=1,dashed](-3.725076664340498,0) ellipse (5.0 and 3.3352366999638683); +\begin{scope} +\clip(-5,2)--++(15,0)--++(0,8)--++(-15,0); +\draw[rotate=231.45599405039505,line width=2, color=blue](-3.725076664340498,0) ellipse (5.0 and 3.3352366999638683); +\end{scope} +\draw[rotate=172.42531416885245,line width=1,dashed](-1.2502080963147824,0) ellipse (5.0 and 4.841175447751193); +\begin{scope} +\clip(-5,2)--++(15,0)--++(0,8)--++(-15,0); +\draw[rotate=172.42531416885245,line width=2, color=blue](-1.2502080963147824,0) ellipse (5.0 and 4.841175447751193); +\end{scope} +\draw[line width=2](-5,2)--++(15,0); +\fill[color=red](0,0)circle(0.2); +\draw(0.5,0)node{\huge$O$}; +\draw[densely dotted,<->,line width=1](0,0)--++(0,2); +\draw(0.3,1)node{\huge$h$}; +\end{tikzpicture} +\end{document} |