BoutrosLab.plotting.general (version 5.9.2)

show.available.palettes: 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

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
show.available.palettes(
	filename = paste0(tempdir(),'/show_case_specific_schemes.tiff'),
	type = 'specific',
	width = 10
	);

show.available.palettes(
	filename = paste0(tempdir(),'/default_schemes.tiff'),
	type = 'general',
	height = 6,
	width = 8
	);
# }

Run the code above in your browser using DataLab