colorMap.legend {graphics2D} R Documentation

create a new color map legend

Description

Usage

colorMap.legend(colors,
    ticks = "0,1",
    title = "Color Map",
    mapLevels = 60,
    format = "G3",
    tickAxisStroke = "stroke: black; stroke-width: 5px; stroke-dash: solid;",
    tickFont = "font-style: normal; font-size: 12; font-family: Bookman Old Style;",
    titleFont = "font-style: normal; font-size: 16; font-family: Bookman Old Style;",
    unmapColor = NULL,
    foreColor = "black",
    ppi = 300);

Arguments

colors

-

ticks

-

title

[as string]

mapLevels

[as integer]

format

[as string]

tickAxisStroke

-

tickFont

-

titleFont

-

unmapColor

-

foreColor

-

env

[as Environment]

Details

Authors

graphics

Value

this function returns data object of type ColorMapLegend.

clr value class

Examples


[Package graphics2D version 1.0.0.0 Index]