Stat.yticks

Compute an appealing set of ticks that encompass the data.

Arguments

Aesthetics

All y-axis aesthetics are considered, and ticks are output to the ytick and ygrid aesthetics.

Examples

# Providing a fixed set of ticks
plot(x=rand(10), y=rand(10),
     Stat.yticks(ticks=[0.0, 0.1, 0.9, 1.0]), Geom.point)
x 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.1 0.9 1.0 y