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/ux.fig/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ figs/ux.fig/ux-0001.gnuplot | 26 ++++++++++++++++++++++++++ figs/ux.fig/ux-02.gnuplot | 26 ++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 figs/ux.fig/Makefile create mode 100644 figs/ux.fig/ux-0001.gnuplot create mode 100644 figs/ux.fig/ux-02.gnuplot (limited to 'figs/ux.fig') diff --git a/figs/ux.fig/Makefile b/figs/ux.fig/Makefile new file mode 100644 index 0000000..bd20f97 --- /dev/null +++ b/figs/ux.fig/Makefile @@ -0,0 +1,43 @@ +PROJECTNAME=ux-02 ux-0001 + +SIMPLEQ=simpleq + +DATS=simpleq16-0.02.dat mueq16-0.02.dat bigeq16-0.02.dat simpleq16-0.0001.dat mueq16-0.0001.dat bigeq16-0.0001.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, $@) + +simpleq16-0.02.dat: + julia $(SIMPLEQ)/main.jl -p "v_a=16;xmax=10;nx=200;rho=2e-2" -M simpleq ux >$@ +mueq16-0.02.dat: + julia $(SIMPLEQ)/main.jl -p "v_a=16;xmax=10;nx=200;rho=2e-2" -M mueq ux > $@ +bigeq16-0.02.dat: + julia $(SIMPLEQ)/main.jl -p "rho=2e-2;minlrho=-6;nlrho=60;v_a=16;eq=bigeq;N=16;P=8;xmax=10;nx=200;N=16;P=8" -M medeq ux > $@ + +simpleq16-0.0001.dat: + julia $(SIMPLEQ)/main.jl -p "v_a=16;xmax=40;nx=200;rho=1e-4" -M simpleq ux >$@ +mueq16-0.0001.dat: + julia $(SIMPLEQ)/main.jl -p "v_a=16;xmax=40;nx=200;rho=1e-4" -M mueq ux > $@ +bigeq16-0.0001.dat: + julia $(SIMPLEQ)/main.jl -p "rho=1e-4;minlrho=-6;nlrho=20;v_a=16;eq=bigeq;N=16;P=8;xmax=40;nx=200;N=16;P=8" -M medeq ux > $@ + +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/ux.fig/ux-0001.gnuplot b/figs/ux.fig/ux-0001.gnuplot new file mode 100644 index 0000000..4cc6fd7 --- /dev/null +++ b/figs/ux.fig/ux-0001.gnuplot @@ -0,0 +1,26 @@ +set title "$\\rho=0.0001$" +set ylabel "$\\tilde g_2$" norotate offset -1,0 +set xlabel "$|\\mathbf x|$" + +# default output canvas size: 12.5cm x 8.75cm +set term lua tikz size 8,6 standalone + +set key bottom right 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 "#555500" linewidth 2 + +set pointsize 1 + +plot \ + "simpleq16-0.0001.dat" using 1:(1-$2) with lines ls 1 title "simple",\ + "mueq16-0.0001.dat" using 1:(1-$2) with lines ls 3 title "med",\ + "bigeq16-0.0001.dat" using 1:(1-$2) with lines ls 5 title "big",\ + "2020-10-01+u16-0001.dat" using 1:2 ls 2 title "QMC" + diff --git a/figs/ux.fig/ux-02.gnuplot b/figs/ux.fig/ux-02.gnuplot new file mode 100644 index 0000000..6379449 --- /dev/null +++ b/figs/ux.fig/ux-02.gnuplot @@ -0,0 +1,26 @@ +set title "$\\rho=0.02$" +set ylabel "$\\tilde g_2$" norotate offset -1,0 +set xlabel "$|\\mathbf x|$" + +# default output canvas size: 12.5cm x 8.75cm +set term lua tikz size 8,6 standalone + +set key bottom right 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 "#555500" linewidth 2 + +set pointsize 0.5 + +plot \ + "simpleq16-0.02.dat" using 1:(1-$2) with lines ls 1 title "simple",\ + "mueq16-0.02.dat" using 1:(1-$2) with lines ls 3 title "med",\ + "bigeq16-0.02.dat" using 1:(1-$2) with lines ls 5 title "big",\ + "2020-08-27+u.dat" using 1:2 ls 2 title "QMC" + -- cgit v1.2.3-54-g00ecf