Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'figs/hardcore.fig')
-rw-r--r--figs/hardcore.fig/Makefile47
-rw-r--r--figs/hardcore.fig/hardcore_condensate.gnuplot39
-rw-r--r--figs/hardcore.fig/hardcore_energy.gnuplot38
3 files changed, 124 insertions, 0 deletions
diff --git a/figs/hardcore.fig/Makefile b/figs/hardcore.fig/Makefile
new file mode 100644
index 0000000..1cf8737
--- /dev/null
+++ b/figs/hardcore.fig/Makefile
@@ -0,0 +1,47 @@
+PROJECTNAME=hardcore_energy hardcore_condensate
+SIMPLEQ=simpleq
+
+DATS=simpleq-energy.dat simpleq_soft-energy.dat mueq_soft-energy.dat bigeq_soft-energy.dat simpleq-condensate.dat simpleq_soft-condensate.dat mueq_soft-condensate.dat bigeq_soft-condensate.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, $@)
+
+simpleq-energy.dat:
+ julia -p 8 $(SIMPLEQ)/main.jl -p "N=12;P=8;J=5;nlrho=24;maxlrho=0.15" -M simpleq-hardcore energy_rho > $@
+simpleq_soft-energy.dat:
+ julia $(SIMPLEQ)/main.jl -p "maxiter=100;maxlrho=0.15;v_a=512;v_b=1.2494804800401416" -U tent -M simpleq energy_rho > $@
+mueq_soft-energy.dat:
+ julia $(SIMPLEQ)/main.jl -p "maxiter=100;maxlrho=0.15;v_a=512;v_b=1.2494804800401416" -U tent -M mueq energy_rho > $@
+bigeq_soft-energy.dat:
+ julia -p 8 $(SIMPLEQ)/main.jl -p "N=12;P=8;eq=bigeq;maxiter=100;maxlrho=0.15;nlrho=64;v_a=512;v_b=1.2494804800401416" -U tent -M medeq energy_rho_init_prevrho > $@
+
+simpleq-condensate.dat:
+ julia -p 8 $(SIMPLEQ)/main.jl -p "N=12;P=8;J=5;maxlrho=0.15;nlrho=24" -M simpleq-hardcore condensate_fraction_rho > $@
+simpleq_soft-condensate.dat:
+ julia $(SIMPLEQ)/main.jl -p "maxiter=100;maxlrho=0.15;v_a=512;v_b=1.2494804800401416" -U tent -M simpleq condensate_fraction_rho > $@
+mueq_soft-condensate.dat:
+ julia $(SIMPLEQ)/main.jl -p "maxiter=100;maxlrho=0.15;v_a=512;v_b=1.2494804800401416" -U tent -M mueq condensate_fraction_rho > $@
+bigeq_soft-condensate.dat:
+ julia -p 8 $(SIMPLEQ)/main.jl -p "N=12;P=8;eq=bigeq;maxiter=100;maxlrho=0.15;nlrho=64;v_a=512;v_b=1.2494804800401416" -U tent -M medeq condensate_fraction_rho > $@
+
+install: $(PDFS)
+ cp $^ $(INSTALLDIR)/
+
+clean-aux:
+ rm -f $(addsuffix .tikz.tex, $(PROJECTNAME))
+ rm -f $(addsuffix .aux, $(PROJECTNAME))
+ rm -f $(addsuffix .log, $(PROJECTNAME))
+
+clean-dat:
+ rm -f $(DATS)
+
+clean-tex:
+ rm -f $(PDFS)
+
+clean: clean-aux clean-tex
diff --git a/figs/hardcore.fig/hardcore_condensate.gnuplot b/figs/hardcore.fig/hardcore_condensate.gnuplot
new file mode 100644
index 0000000..974c9fd
--- /dev/null
+++ b/figs/hardcore.fig/hardcore_condensate.gnuplot
@@ -0,0 +1,39 @@
+set ylabel "$\\tilde\\eta$" norotate
+set xlabel "$\\rho$"
+
+set xtics 1e-6, 100, 1
+set xtics add ("$10^{-6}$" 0.000001, "$10^{-4}$" 0.0001, "$10^{-2}$" 0.01, "$1$" 1.0)
+unset mxtics
+
+set xrange [:sqrt(2)]
+
+#set ytics 1e-6, 10, 1
+#set ytics add ("$10^{-6}$" 0.000001, "$10^{-5}$" 1e-5, "$10^{-4}$" 0.0001, "$10^{-3}$" 1e-3, "$10^{-2}$" 0.01, "$10^{-1}$" 1e-1, "$1$" 1.0)
+#unset mytics
+set yrange [0:1]
+
+# default output canvas size: 12.5cm x 8.75cm
+set term lua tikz size 8,6 standalone
+
+set key top left box linetype rgbcolor"#999999" width 0.3 height 0.3 spacing 1.3
+
+
+# set linestyle
+set style line 1 linetype rgbcolor "#4169E1" linewidth 2 dashtype "."
+set style line 2 linetype rgbcolor "#DC143C" linewidth 2
+set style line 3 linetype rgbcolor "#32CD32" linewidth 2 dashtype "-"
+set style line 4 linetype rgbcolor "#4B0082" linewidth 2
+set style line 5 linetype rgbcolor "#DAA520" linewidth 2
+set style line 6 linetype rgbcolor "#999999" linewidth 2
+
+set pointsize 1
+
+set logscale x
+
+plot \
+ "simpleq-condensate.dat" using 1:($3<1e-2 ? $2 : 1/0) ls 6 title "simple hc",\
+ "simpleq_soft-condensate.dat" using 1:($3<1e-2 ? $2 : 1/0) with lines ls 1 title "simple" ,\
+ "mueq_soft-condensate.dat" using 1:($3<1e-2 ? $2 : 1/0) with lines ls 3 title "med",\
+ "bigeq_soft-condensate.dat" using 1:($3<1e-2 ? $2 : 1/0) with lines ls 5 title "big",\
+ "GBC99-condensate.dat" using 1:(1-$2) ls 2 title "QMC [15]"
+
diff --git a/figs/hardcore.fig/hardcore_energy.gnuplot b/figs/hardcore.fig/hardcore_energy.gnuplot
new file mode 100644
index 0000000..9967232
--- /dev/null
+++ b/figs/hardcore.fig/hardcore_energy.gnuplot
@@ -0,0 +1,38 @@
+set ylabel "$\\frac{\\tilde e}\\rho$" norotate
+set xlabel "$\\rho$"
+
+set xtics 1e-6, 100, 1
+set xtics add ("$10^{-6}$" 0.000001, "$10^{-4}$" 0.0001, "$10^{-2}$" 0.01, "$1$" 1.0)
+unset mxtics
+
+set xrange [:sqrt(2)]
+
+#set ytics 1e-6, 10, 1
+#set ytics add ("$10^{-6}$" 0.000001, "$10^{-5}$" 1e-5, "$10^{-4}$" 0.0001, "$10^{-3}$" 1e-3, "$10^{-2}$" 0.01, "$10^{-1}$" 1e-1, "$1$" 1.0)
+#unset mytics
+
+# default output canvas size: 12.5cm x 8.75cm
+set term lua tikz size 8,6 standalone
+
+set key top left box linetype rgbcolor"#999999" width 0.3 height 0.3 spacing 1.3
+
+
+# set linestyle
+set style line 1 linetype rgbcolor "#4169E1" linewidth 2 dashtype "."
+set style line 2 linetype rgbcolor "#DC143C" linewidth 2
+set style line 3 linetype rgbcolor "#32CD32" linewidth 2 dashtype "-"
+set style line 4 linetype rgbcolor "#4B0082" linewidth 2
+set style line 5 linetype rgbcolor "#DAA520" linewidth 2
+set style line 6 linetype rgbcolor "#999999" linewidth 2
+
+set pointsize 1
+
+set logscale xy
+
+plot \
+ "simpleq-energy.dat" using 1:($3<1e-2 ? $2/$1 : 1/0) ls 6 title "simple hc",\
+ "simpleq_soft-energy.dat" using 1:($3<1e-2 ? $2/$1 : 1/0) with lines ls 1 title "simple",\
+ "mueq_soft-energy.dat" using 1:($3<1e-2 ? $2/$1 : 1/0) every ::::95 with lines ls 3 title "med",\
+ "bigeq_soft-energy.dat" using 1:($3<1e-2 ? $2/$1 : 1/0) with lines ls 5 title "big",\
+ "GBC99-energy.dat" using 1:($2/(2*$1)) ls 2 title "QMC [15]"
+