set term pdf fontscale 0.5 size 3in,3in outfile='rotating_field.pdf' set output outfile unset border unset xtics unset ytics unset ztics set parametric set samples 100000 set zrange [0:1] set xrange [-1.0:1.0]; set yrange [-1.0:1.0] set arrow from 0,0,0 to 0,0,1.4 ; set label 'z' at 0.05,0.05,1.1 set arrow from 0,0,0 to 0,1,0 ; set label 'y' at 0,0.9,-0.05 set arrow from 0,0,0 to 1.3,0,0 ; set label 'x' at 1.5,0,0 set label at 0.05,0.05,-0.05 '0' #set xlabel 'x'; set ylabel 'y'; set zlabel 'z' #set arrow from 0,0,-1 to 0,0,20; set label 'B_z' at 0.5,0.5,18 theta = pi/4 radius = 1 set arrow from 0,0,0 to radius*cos(theta)+0.1,radius*sin(theta)+0.1, 1 lw 2 x1=-3*pi/8 x2=4*pi/8 set arrow from 0,0,0 to radius*cos(x1),radius*sin(x1), 1 lw 1 nohead set arrow from 0,0,0 to radius*cos(x2),radius*sin(x2), 1 lw 1 nohead set label at radius*cos(theta)/2-0.1,radius*sin(theta)/2-0.1, 0.55 'B' t3=pi/4; delta =pi/20 #set arrow from radius*cos(t3),radius*sin(t3),1 to radius*cos(t3+delta),radius*sin(t3+delta),1 lt -1 lw 1 size 0.5,4,60 set arrow from radius*cos(t3+delta),radius*sin(t3+delta),1 to radius*cos(t3),radius*sin(t3),1 lt -1 lw 1 size 0.5,4,60 set label at radius*cos(t3),radius*sin(t3),1.1 '{/Symbol w}' #set arrow from 1,0,1 to 0.1,0.1, 1 lt 2 set view 70,110,1,1 set timestamp offset 2.0,1.8,-0.1 font ',8' set label 'examples/example10/fixed_pitch/rotating_field.gnu' at 0.9,-1.4,-0.4 left font ',8' noenhance splot [t=0:10] radius*cos(t), radius*sin(t), t/t not print 'write '.outfile