Ian Jauslin
summaryrefslogtreecommitdiff
blob: 3d5d50154e1fcc2ebfe79e04c4b877c6be413201 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## can also set the following options
set title "$E=4\\ \\mathrm{V}\\cdot\\mathrm{nm}^{-1}$"
set ylabel "$\\displaystyle\\frac J{k^2}$" norotate
set xlabel "$t$ (fs)"
#
## start ticks at 0, then every x
#set xtics 0,x
#set ytics 0,x
## puts 4 minor tics between tics (5 intervals, i.e. every 0.01)
set mxtics 5
set mytics 5

# default output canvas size: 12.5cm x 8.75cm
set term lua tikz size 12.5,8.75 standalone

set key  spacing 1.5

# 3=1+2 draw bottom and left sides of the box
set border 3
# don't show tics on opposite sides
set xtics nomirror
set ytics nomirror

# My colors
## 4169E1 (pastel blue)
## DC143C (bright red)
## 32CD32 (bright green)
## 4B0082 (deep purple)
## DAA520 (ochre)

# 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 pointsize 0.6

set xrange [:12]

plot "current_density-8.dat" using 1:4 every ::1 with lines linestyle 1 title "$x=x_0$",\
     "current_density-8.dat" using 5:8 every ::1 with lines linestyle 2 title "$x=10x_0$"