Fork me on GitHub

ggplot from ŷhat


scale_x_log

Usage

scale_x_log(name = ..., breaks = ..., labels = ..., limits = ...)

Arguments

Name Description
name Label for x axis.
breaks Points at which x gridlines appear.
labels Labels for x ticks.
limits Where x axis starts/stops.

Examples

ggplot(aes('carat', 'price'), data=diamonds) + geom_point()
ggplot(aes('carat', 'price'), data=diamonds) + geom_point() + scale_x_log()