show.available.palettes {BoutrosLab.plotting.general} | R 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
);
[Package BoutrosLab.plotting.general version 7.1.0 Index]