Guide.xticks

Formats the tick marks and labels for the x-axis

Arguments

Examples

ticks = [0.1, 0.3, 0.5]
plot(x=rand(10), y=rand(10), Geom.line, Guide.xticks(ticks=ticks))
x 0.1 0.3 0.5 0.0 0.5 1.0 y
plot(x=rand(10), y=rand(10), Geom.line, Guide.xticks(ticks=ticks, label=false))
x 0.0 0.2 0.4 0.6 0.8 1.0 y
plot(x=rand(10), y=rand(10), Geom.line, Guide.xticks(ticks=ticks, orientation=:vertical))
x 0.1 0.3 0.5 0.0 0.2 0.4 0.6 0.8 1.0 y