-
Notifications
You must be signed in to change notification settings - Fork 2
/
gscript_example2_logcb.plt
77 lines (59 loc) · 1.48 KB
/
gscript_example2_logcb.plt
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
69
70
71
72
73
74
75
76
77
# Gnuplot script file
set terminal postscript eps color enhanced "Arial" 20 size 7in,21in
set output "I_example2_logcb.eps"
set palette defined ( 0 '#000090',1 '#000fff',2 '#0090ff',3 '#0fffee',4 '#90ff70',5 '#ffee00',6 '#ff7000',7 '#ee0000',8 '#7f0000')
set pm3d map
set size square
set multiplot layout 6,2
set xrange [-1 : 1]
set yrange [-1 : 1]
set xtics -1, 0.5, 1
set ytics -1, 0.5, 1
# y=0
set title "electric field intensity on y=0 plane"
set xlabel "{/Arial-Italic x}"
set ylabel "{/Arial-Italic z}"
splot "Ie_xz.txt"
set logscale cb
splot "Ie_xz.txt"
unset logscale cb
# x=0
set title "electric field intensity on x=0 plane"
set xlabel "{/Arial-Italic y}"
splot "Ie_yz.txt"
set logscale cb
splot "Ie_yz.txt"
unset logscale cb
# z=0
set title "electric field intensity on z=0 plane"
set xlabel "{/Arial-Italic x}"
set ylabel "{/Arial-Italic y}"
splot "Ie_xy.txt"
set logscale cb
splot "Ie_xy.txt"
unset logscale cb
# y=0
set title "magnetic field intensity on y=0 plane"
set xlabel "{/Arial-Italic x}"
set ylabel "{/Arial-Italic z}"
splot "Ih_xz.txt"
set logscale cb
splot "Ih_xz.txt"
unset logscale cb
# x=0
set title "magnetic field intensity on x=0 plane"
set xlabel "{/Arial-Italic y}"
splot "Ih_yz.txt"
set logscale cb
splot "Ih_yz.txt"
unset logscale cb
# z=0
set title "magnetic field intensity on z=0 plane"
set xlabel "{/Arial-Italic x}"
set ylabel "{/Arial-Italic y}"
splot "Ih_xy.txt"
set logscale cb
splot "Ih_xy.txt"
unset logscale cb
unset multiplot
set terminal x11