-
Notifications
You must be signed in to change notification settings - Fork 0
/
gscript_example4.plt
28 lines (23 loc) · 1.01 KB
/
gscript_example4.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
# Gnuplot script file
set terminal postscript eps color enhanced "Arial" 20 size 7in,4in
set output "I_example4.eps"
set encoding iso
#set multiplot layout 2,1
set angle degree
set polar
set grid polar
set border 0
set view equal xy
set size square
set noxtics
set noytics
set ttics format "%g{\260}"
set ttics 0,30,330
set rrange [0.0 : 1]
unset raxis
set key outside
set title "normalized scattered field intensity (electric field)"
plot "fsIe_yz.txt" using 1:3 w l title "x=0 plane, 0{\260}: z-axis, 270{\260}: y-axis", "fsIe_xz.txt" using 1:3 w l title "y=0 plane, 0{\260}: z-axis, 90{\260}: x-axis", "fsIe_xy.txt" using 1:3 w l title "z=0 plane, 0{\260}: x-axis, 90{\260}: y-axis"
# for verification
#set title "normalized scattered field intensity (magnetic field)"
#plot "fsIh_yz.txt" using 1:3 w l title "x=0 plane, 0{\260}: z-axis, 270{\260}: y-axis", "fsIh_xz.txt" using 1:3 w l title "y=0 plane, 0{\260}: z-axis, 90{\260}: x-axis", "fsIh_xy.txt" using 1:3 w l title "z=0 plane, 0{\260}: x-axis, 90{\260}: y-axis"