R/penobscot.R

#' Seismic data horizon offshore of Nova Scotia.
#'
#' Seismic data offsore of Nova Scotia in Canada. The data have some
#' subtle structures that are interesting for comparing colormaps.
#' Full details can be found at https://www.opendtect.org/osr/Main/PENOBSCOT3DSABLEISLAND
#' License CC-BY.
#'
#' @name penobscot
#' @docType data
#' @format A matrix 463 x 595.
#' @usage data(penobscot)
#' 
#' @source 
#' \url{https://github.com/agilescientific/notebooks}
#' \url{https://github.com/agilescientific/notebooks/blob/master/Filtering_horizons.ipynb}
#'
#' @examples 
#' #
#' library(pals)
#' data(penobscot)
#' 
#' # Hall used cubehelix palette
#' # http://wiki.seg.org/wiki/Smoothing_surfaces_and_attributes#External_links
#' image(penobscot, col=rev(cubehelix(99)))
#' 
#' # Niccoli suggested LinearL palette
#' # http://wiki.seg.org/wiki/How_to_evaluate_and_compare_color_maps
#' image(penobscot, col=linearl(99))
#' 
#' # Use this version to get a colorkey
#' # library(lattice)
#' # levelplot(penobscot, col.regions=rev(cubehelix(99)), 
#' #   cuts=97, asp=0.7, scale=list(draw=FALSE))
#'
#' @keywords datasets
"penobscot"

Try the pals package in your browser

Any scripts or data that you put into this service are public.

pals documentation built on Aug. 23, 2023, 9:07 a.m.