logit Scale (GPL)

Syntax

logit(dim(<numeric>), <function>)

or

logit(aesthetic(aesthetic.<aesthetic type>), <function>)

<numeric>. A numeric value indicating the dimension to which the scale applies. See the topic dim Function (GPL) for more information.

<function>. One or more valid functions.

<aesthetic type>. An aesthetic type indicating the aesthetic to which the scale applies. This is an aesthetic created as the result of an aesthetic function (such as size) in the ELEMENT statement.

Description

Creates a logit-transformed scale. The formula for the transformation is log(1/(1-x)). Data values for this scale must fall in the open interval (0, 1). That is, for any data value x, 0 < x < 1.

Example

Figure 1. Example: Specifying a logit scale
SCALE: logit(dim(2))