aestheticMinimum Function (GPL)

Syntax

aestheticMinimum(<aesthetic type>.<aesthetic constant>)

or

aestheticMinimum(<aesthetic type>."<aesthetic value>")

<aesthetic type>. An aesthetic type indicating the specific aesthetic for which a minimum value is being specified. This is an aesthetic created as the result of an aesthetic function (such as size) in the ELEMENT statement.

<aesthetic constant>. A constant for the aesthetic (for example, size.tiny). Valid constants depend on the aesthetic.

"aesthetic value". A specific value for the aesthetic (for example, size."1px". Valid values depend on the aesthetic.

Description

Specifies an aesthetic value that is mapped to the minimum data value for a scale. The minimum data value may be a "nice value" based on the data (the default), the exact data minimum (if using the dataMinimum function on the scale), or a specified value (if using the min function on the scale). For example, a graphic element may be sized by a continuous value. By default, the continuous scale has a "nice value" minimum. The aestheticMinimum function can map a size to this minimum value.

Examples

Figure 1. Example: Specifying a minimum and maximum size for points in a bubble plot
SCALE: linear(aesthetic(aesthetic.size), aestheticMinimum(size."1px"),
              aestheticMaximum(size."5px"))
ELEMENT: point(position(x*y), size(z))