Skip to content

Instantly share code, notes, and snippets.

@brendan-w
Last active July 7, 2016 22:44
Show Gist options
  • Save brendan-w/a18ea8f6dfe11563eb28f240ec35f713 to your computer and use it in GitHub Desktop.
Save brendan-w/a18ea8f6dfe11563eb28f240ec35f713 to your computer and use it in GitHub Desktop.
gnuplot file for displaying my Sr90's emission characteristics
set polar
set grid polar
set angle degrees
unset xtics
unset ytics
set border 0
set rrange [0 : 300]
set size square
set_label(x, text) = sprintf("set label '%s' at (330*cos(%f)), (330*sin(%f)) center", text, x, x) #this places a label on the outside
# angle marks
eval set_label(90, "Top (label side)")
eval set_label(120, "30°")
eval set_label(150, "60°")
eval set_label(180, "90°")
eval set_label(210, "120°")
eval set_label(240, "150°")
eval set_label(270, "Bottom")
# radial unit
set label "CPM" at 340, 0 center
plot "-" with filledcurve above r=17.2 fs solid 0.5 lc rgb "blue" notitle
0.0 23.6
7.5 20.8
15.0 20.6
22.5 20.6
30.0 37.0
37.5 52.4
45.0 60.0
52.5 91.2
60.0 109.6
67.5 122.8
75.0 140.8
82.5 140.4
90.0 162.0
97.5 149.0
105.0 138.0
112.5 134.8
120.0 119.8
127.5 93.8
135.0 78.8
142.5 52.8
150.0 44.8
157.5 29.8
165.0 20.2
172.5 20.4
180.0 18.4
187.5 33.0
195.0 67.2
202.5 127.2
210.0 185.2
217.5 221.0
225 238.4
232.5 251.4
240 243.8
247.7 251.0
255 242.8
262.5 239.8
270 256.8
277.5 266.4
285 276.2
292.5 283.4
300 285.2
307.5 278.6
315 294.2
322.5 300.4
330 255.6
337.5 219.6
345 145.4
352.5 72.2
360 23.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment