Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2020-08-05 02:10:15 -0400
committerIan Jauslin <ian@jauslin.org>2020-08-05 02:10:15 -0400
commita5a98b541f816d41f213790eda9d0fa8054e7716 (patch)
treeac6d8ed3b9531470b4d078a47e3fcb348845282f /figs/avgcurrent.fig/avgcurrent.gnuplot
parent372628e8602e724a5cd0a6e211179255f4b75adb (diff)
Update to v1.0:HEADv1.0master
Through rewrite, almost from scratch, with a new emphasis on positive x.
Diffstat (limited to 'figs/avgcurrent.fig/avgcurrent.gnuplot')
-rw-r--r--figs/avgcurrent.fig/avgcurrent.gnuplot53
1 files changed, 43 insertions, 10 deletions
diff --git a/figs/avgcurrent.fig/avgcurrent.gnuplot b/figs/avgcurrent.fig/avgcurrent.gnuplot
index 8f4059c..070250f 100644
--- a/figs/avgcurrent.fig/avgcurrent.gnuplot
+++ b/figs/avgcurrent.fig/avgcurrent.gnuplot
@@ -1,24 +1,57 @@
+# default output canvas size: 12.5cm x 8.75cm
+set term lua tikz size 8,6 standalone
+
+set multiplot
+
set ylabel "$\\frac1k\\left<j\\right>_t$" norotate
set xlabel "$\\frac{t\\omega}{2\\pi}$"
set xtics 0,12
-set ytics 0,0.001
+set ytics 0,0.01
set xrange [0:48]
-# default output canvas size: 12.5cm x 8.75cm
-set term lua tikz size 8,6 standalone
-
# no key
set key off
# set linestyle
-set style line 1 linetype rgbcolor "#4169E1" linewidth 3
-set style line 2 linetype rgbcolor "#DC143C" linewidth 3
-set style line 3 linetype rgbcolor "#32CD32" linewidth 3
-set style line 4 linetype rgbcolor "#4B0082" linewidth 3
-set style line 5 linetype rgbcolor "#DAA520" linewidth 3
+set style line 1 linetype rgbcolor "#4169E1" linewidth 2
+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 2
+set style line 5 linetype rgbcolor "#DAA520" linewidth 2
set pointsize 0.6
-plot "avgcurrent.dat" using 1:($1>1 ? $6 : 1/0) with lines linestyle 1
+plot "avgcurrent.dat" using 1:($1>1 ? $6 : 1/0) with lines linestyle 1 ,\
+ "avgcurrent-x6.dat" using 1:($1>1 ? $2 : 1/0) with lines linestyle 2
+
+## inset
+set origin 0.631,0.65
+set size .3,.3
+
+# remove margins
+set lmargin 0
+set rmargin 0
+set tmargin 0
+set bmargin 0
+
+# clear background of inset
+clear
+
+# no labels
+unset ylabel
+unset xlabel
+
+#set ytics -0.025,0.005
+unset xtics
+unset ytics
+
+set x2tics 0,12
+set y2tics 0.0134,0.0006
+
+set yrange [0.0134:0.0146]
+set xrange [12:48]
+
+plot "avgcurrent.dat" using 1:6 with lines linestyle 1 ,\
+ "avgcurrent-x6.dat" using 1:2 with lines linestyle 2