Skip to content

Instantly share code, notes, and snippets.

@amicuscertus
Created June 6, 2018 06:46
Show Gist options
  • Save amicuscertus/5724c858aa36e870d234417cc27378b9 to your computer and use it in GitHub Desktop.
Save amicuscertus/5724c858aa36e870d234417cc27378b9 to your computer and use it in GitHub Desktop.
% R
> data=read.csv("data.csv", header=F, sep="")
> plot(data$V1, data$V2, col='#0000ff80', pch=16, tck=1, xlim=c(-30,20), ylim=c(-30,20), xlab='Station1 SNR [dB]', ylab='Station2 SNR [dB]', main='10MHz non-JA stations')
> hist(data$V1-data$V2, col="#00ff8f80", breaks=seq(-25.5,25,1), main='10MHz non-JA stations', xlab='SNR(1)-SNR(2) [dB]')
> curve(dnorm(x,0,3)*190, add=TRUE, col='blue', lwd=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment