-
Notifications
You must be signed in to change notification settings - Fork 0
/
elastic_tensor.gp
68 lines (38 loc) · 1.24 KB
/
elastic_tensor.gp
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
gnuplot
set terminal pngcairo color size 1500,500 enhanced "Times New Roman,30.0"
set palette rgbformulae 33,13,10 negative
set style line 1 \
linecolor rgb 'blue' \
linetype 1 linewidth 3 \
pointtype 7 pointsize 1.5
set style line 2 \
linecolor rgb 'red' \
linetype 1 linewidth 2 \
pointtype 7 pointsize 1.5
set style line 3 \
linecolor rgb 'black' \
linetype 1 linewidth 3 \
pointtype 7 pointsize 1.5
set style line 4 dt '-' \
linecolor rgb 'red' \
linetype 1 linewidth 2 \
pointtype 7 pointsize 1.5
#set ylabel "Absorption Intensity (a.u)" font "Times-Roman,20"
#set xlabel "Photon Energy (eV)" font "Times-Roman,20"
#set yrange[-6:6]
#set xrange[0:4]
set tics font ", 20"
set output 'elastic_constants.png'
unset key
set multiplot layout 1,3
set polar
set angles degrees
############################################################################
set title "(a) Young's Modulus" font "Times-Roman,20"
plot 'MECHANICS_2D.dat' u 1:2 w lines linestyle 1 \
set title "(b) Shear-Modulus" font "Times-Roman,20"
plot 'MECHANICS_2D.dat' u 1:3 w lines linestyle 2 \
set title "(c) Poisson's-Ratio" font "Times-Roman,20"
plot 'MECHANICS_2D.dat' u 1:4 w lines linestyle 3 \
unset multiplot
q