Skip to content

Instantly share code, notes, and snippets.

@oscardelama
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oscardelama/7f0093f8c5e9176b9ec7 to your computer and use it in GitHub Desktop.
Save oscardelama/7f0093f8c5e9176b9ec7 to your computer and use it in GitHub Desktop.
rgb-noise: Draw SNR quality reference limits for 18% gray
# Draw SNR quality reference limits for 18% gray
add.snr.ref.limits <- function(p) {
p +
geom_hline(aes(yintercept=20), colour='red', linetype = 6, alpha = 0.4) +
geom_hline(aes(yintercept=32), colour='cyan', linetype = 6, alpha = 0.8) +
geom_hline(aes(yintercept=38), colour='green', linetype = 6, alpha = 0.8)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment