Pulsars and neutron stars/Pulsar glitches/glitchDist figure script

From Wikibooks, open books for an open world
Jump to navigation Jump to search

This figure was made using the following commands (the catalogue data was copied into a file: glitchListRadio.dat)

using Winston
glt = readdlm("glitchListRadio.dat")
dnu = float(glt[:,7]*1e-9)
dnu = log10(dnu)
h = hist(dnu,50)
plothist(h)
xlabel("\log_{10}{\\Delta \\nu/\\nu}")
savefig("glitchDist.png")