convertTri: convertTri

View source: R/draw.colorkey.R

convertTriR Documentation

convertTri

Description

Setting 'open.lower' and 'open.upper' to non-zero makes colorkey end with triangular extensions, indicating open-ended intervals. Set to non-zero by default only if first/last intervals are unbounded (-Inf / +Inf). (NOTE: default should perhaps be 0 for back-compatibility, but currently these are simply not shown in the legend, so probably new behaviour is no worse). When non-zero, controls fraction of key$height to be used for triangles at ends.

Usage

convertTri(x, inf = FALSE, height = 0.05)

Arguments

x

height of triangle. If x in the range of ⁠[0, 0.25]⁠, height will be ignored.

inf

boolean

height

height of triangle


kongdd/latticeGrob documentation built on March 30, 2024, 3:35 a.m.