show.available.palettes: Display the available colour palettes

View source: R/show.available.palettes.R

show.available.palettesR Documentation

Display the available colour palettes

Description

Displays the available colour palettes

Usage

show.available.palettes(
	type = 'general',
	filename = NULL,
	height = 5,
	width = 8,
	resolution = 300
	);

Arguments

type

Either “general”, “specific”, or “both” (default)

filename

Filename for tiff output, or if NULL returns the trellis object itself

height

Figure height, defaults to 8 inches – this is optimal for the specific schemes

width

Figure width, defaults to 12 – this is optimal for the specific schemes

resolution

Figure resolution in dpi, defaults to 300

Author(s)

Christine P'ng

Examples

show.available.palettes(
	# filename = tempfile(pattern = 'show_case_specific_schemes', fileext = '.tiff'),
	type = 'specific',
	width = 10
	);

show.available.palettes(
	# filename = tempfile(pattern = 'default_schemes', fileext = '.tiff'),
	type = 'general',
	height = 6,
	width = 8
	);

BoutrosLab.plotting.general documentation built on Nov. 2, 2023, 6:01 p.m.