#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "poldat_2" jsdir "." # set output 'poldat.2.js' set clip points unset border set dummy t, y set angles degrees set grid polar 15.000000 set grid noxtics nomxtics noytics nomytics noztics nomztics rtics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault lt 0 linecolor -1 linewidth 0.500, lt 0 linecolor -1 linewidth 0.500 set raxis unset key set polar set size ratio 1 1,1 set style data lines unset xtics set ytics axis in scale 1,0.5 nomirror norotate autojustify set title "Antenna Pattern" set timestamp "%a %d %b %Y" set xlabel "Azimuth" set xrange [ -220.000 : 220.000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set ylabel "dBSM" set yrange [ -220.000 : 220.000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ -200.000 : 60.0000 ] noreverse nowriteback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault tv(t,r) = sin(t)/(1+r) tu(t,r) = (cos(t) +r)/(1+r) cu(t,x) = 1 + cos(t)/x cv(t,x) = (1+ sin(t))/x ## Last datafile plotted: "-" plot "-" using 1:5,"-"