Map x to the value in log10 scale
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.
Value
A field<vec>
that contains values in log10 scale.
Details
tick_y_min
is usually chosen as \(floor(min(log10(abs(x))))\)
Author
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)
#> [1] 2.349485 2.198970 2.048455 1.897940 1.747425 1.596910 1.446395 1.295880
#> [9] 1.145365