Skip to contents

Axis tick marks for a log scale for cases where the data cover many orders of magnitude and the graph is small. These tick marks are designed to progress by factors of 10.

Usage

logPretty1(xMin, xMax)

Arguments

xMin

A numeric value for the minimum value to be plotted, it must be > 0

xMax

A numeric value for the maximum value to be plotted, it must be > xMax

Value

xTicks A vector representing the values for each of the tick marks

Examples

xMin <- 0.7
xMax <- 990000
logPretty1(xMin, xMax)
#> [1] 1e-01 1e+00 1e+01 1e+02 1e+03 1e+04 1e+05 1e+06
xMin <- 3
xMax <- 15
logPretty1(xMin, xMax)
#> [1]   1  10 100