wccv_get_y: Mapping to log10 scale

wccv_get_yR Documentation

Mapping to log10 scale

Description

Map x to the value in log10 scale

Usage

wccv_get_y(x, tick_y_min, tick_y_step)

Arguments

x

A vector with dimensions J x 1.

tick_y_min

A negtive integer the minimum power of 10, which corresponds to the smallest scale on y-axis.

tick_y_step

An integer indicating the increment of the sequence.

Details

tick_y_min is usually chosen as floor(min(log10(abs(x))))

Value

A field<vec> that contains values in log10 scale.

Author(s)

James Balamuta and Justin Lee

Examples

x = 2^(-1:-9)
y.min = floor(min(log10(abs(x))))
y.step = 2
wccv_get_y(x, y.min, y.step)

SMAC-Group/wv documentation built on Sept. 4, 2023, 5:15 a.m.