#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "poldat_4" jsdir "." # set output 'poldat.4.js' 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 polar set size ratio 0.5 1,1 unset xtics unset ytics set title "yerrors in polar mode" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ 0.00000 : 1.50000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback 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: "$DATA" plot $DATA with yerrorbars lw 1.5 title "polar error bars"