From 19042107cb35092c674517c8bfe476f1a66c5874 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Wed, 25 Nov 2020 01:10:59 -0500 Subject: Initial commit --- figs/tan.fig/Makefile | 35 ++++++++++++++++++++++++++++++++++ figs/tan.fig/tan4.gnuplot | 48 +++++++++++++++++++++++++++++++++++++++++++++++ figs/tan.fig/tan7.gnuplot | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 figs/tan.fig/Makefile create mode 100644 figs/tan.fig/tan4.gnuplot create mode 100644 figs/tan.fig/tan7.gnuplot (limited to 'figs/tan.fig') diff --git a/figs/tan.fig/Makefile b/figs/tan.fig/Makefile new file mode 100644 index 0000000..02ea899 --- /dev/null +++ b/figs/tan.fig/Makefile @@ -0,0 +1,35 @@ +PROJECTNAME=tan7 tan4 + +SIMPLEQ=simpleq + +DATS=bigeq7.dat bigeq4.dat +PDFS=$(addsuffix .pdf, $(PROJECTNAME)) +TEXS=$(addsuffix .tikz.tex, $(PROJECTNAME)) + +all: $(PDFS) + +$(PDFS): $(DATS) + gnuplot $(patsubst %.pdf, %.gnuplot, $@) > $(patsubst %.pdf, %.tikz.tex, $@) + pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@) + +bigeq7.dat: + julia $(SIMPLEQ)/main.jl -p "eq=bigeq;N=12;P=8;J=10;maxiter=100;v_a=1;rho=1e-7;minlrho=-7;nlrho=1" -M medeq momentum_distribution > $@ +bigeq4.dat: + julia $(SIMPLEQ)/main.jl -p "eq=bigeq;N=12;P=8;J=10;maxiter=100;v_a=1;rho=1e-4;minlrho=-4;nlrho=1" -M medeq momentum_distribution > $@ + +install: $(PDFS) + cp $^ $(INSTALLDIR)/ + +clean-aux: + rm -f $(addsuffix .tikz.tex, $(PROJECTNAME)) + rm -f $(addsuffix .aux, $(PROJECTNAME)) + rm -f $(addsuffix .log, $(PROJECTNAME)) + rm -f fit.log + +clean-dat: + rm -f $(DATS) + +clean-tex: + rm -f $(PDFS) + +clean: clean-aux clean-tex diff --git a/figs/tan.fig/tan4.gnuplot b/figs/tan.fig/tan4.gnuplot new file mode 100644 index 0000000..f1424b6 --- /dev/null +++ b/figs/tan.fig/tan4.gnuplot @@ -0,0 +1,48 @@ +set title "$\\rho=10^{-4}$" +set ylabel norotate "$\\tilde{\\mathcal M}$" +set xlabel "$|\\mathbf k|$" + +set xtics 1e-3, 100, 1e3 +set xtics add ("$10^{-3}$" 0.001, "$10^{-1}$" 1e-1, "$10^{1}$" 10, "$10^{3}$" 1000) +unset mxtics +set xrange [1e-3:2e3] + +set ytics 1e-40, 1e10, 1 +set ytics add ("$10^{-40}$" 1e-40, "$10^{-30}$" 1e-30, "$10^{-20}$" 1e-20, "$10^{-10}$" 1e-10) +unset mytics +set yrange [1e-41:1e10] + +# default output canvas size: 12.5cm x 8.75cm +set term lua tikz size 8,6 standalone + +set key off + + +# set linestyle +set style line 1 linetype rgbcolor "#4169E1" linewidth 3 +set style line 2 linetype rgbcolor "#DC143C" linewidth 2 +set style line 3 linetype rgbcolor "#32CD32" linewidth 2 +set style line 4 linetype rgbcolor "#4B0082" linewidth 3 +set style line 5 linetype rgbcolor "#DAA520" linewidth 3 +set style line 6 linetype rgbcolor "#660000" linewidth 3 +set style line 7 linetype rgbcolor "#003333" linewidth 3 + +set pointsize 1 + +set logscale xy + +f(x)=a-4*x +g(x)=c-12*x + +fit [-2:-1] f(x) "bigeq4.dat" u (log10($1)):(log10(abs($2))) via a +fit [1:] g(x) "bigeq4.dat" u (log10($1)):(log10(abs($2))) via c + +set label "$|\\mathbf k|^{-4}$" at 1e-2,10**(a) textcolor "#660000" +set label "$|\\mathbf k|^{-12}$" at 1e2,10**(c-22) textcolor "#003333" + +plot \ + "bigeq4.dat" using 1:(abs($2)) every::2::118 with lines ls 5 ,\ + 10**(f(log10(x))) ls 6 dashtype "." ,\ + 10**(g(log10(x))) ls 7 dashtype "." ,\ + + diff --git a/figs/tan.fig/tan7.gnuplot b/figs/tan.fig/tan7.gnuplot new file mode 100644 index 0000000..6ccda8b --- /dev/null +++ b/figs/tan.fig/tan7.gnuplot @@ -0,0 +1,48 @@ +set title "$\\rho=10^{-7}$" +set ylabel norotate "$\\tilde{\\mathcal M}$" +set xlabel "$|\\mathbf k|$" + +set xtics 1e-3, 1000, 1e6 +set xtics add ("$10^{-3}$" 0.001, "$10^{0}$" 1, "$10^{3}$" 1000, "$10^6$" 1000000) +unset mxtics +set xrange [1e-3:1000000] + +set ytics 1e-60, 1e20, 1 +set ytics add ("$10^{-60}$" 1e-60, "$10^{-40}$" 1e-40, "$10^{-20}$" 1e-20) +unset mytics +set yrange [1e-61:1e10] + +# default output canvas size: 12.5cm x 8.75cm +set term lua tikz size 8,6 standalone + +set key off + + +# set linestyle +set style line 1 linetype rgbcolor "#4169E1" linewidth 3 +set style line 2 linetype rgbcolor "#DC143C" linewidth 2 +set style line 3 linetype rgbcolor "#32CD32" linewidth 2 +set style line 4 linetype rgbcolor "#4B0082" linewidth 3 +set style line 5 linetype rgbcolor "#DAA520" linewidth 3 +set style line 6 linetype rgbcolor "#660000" linewidth 3 +set style line 7 linetype rgbcolor "#003333" linewidth 3 + +set pointsize 1 + +set logscale xy + +f(x)=a-4*x +g(x)=c-12*x + +fit [-2:-1] f(x) "bigeq7.dat" u (log10($1)):(log10(abs($2))) via a +fit [1:] g(x) "bigeq7.dat" u (log10($1)):(log10(abs($2))) via c + +set label "$|\\mathbf k|^{-4}$" at 1e-2,10**(a-4) textcolor "#660000" +set label "$|\\mathbf k|^{-12}$" at 1e3,10**(c-34) textcolor "#003333" + +plot \ + "bigeq7.dat" using 1:(abs($2)) with lines ls 5 ,\ + 10**(f(log10(x))) ls 6 dashtype "." ,\ + 10**(g(log10(x))) ls 7 dashtype "." ,\ + + -- cgit v1.2.3-54-g00ecf