logPretty1: Sets up tick marks for an axis with a log scale, where the...

View source: R/logPretty.R

logPretty1R Documentation

Sets up tick marks for an axis with a log scale, where the graph is small

Description

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)
xMin <- 3
xMax <- 15
logPretty1(xMin, xMax)

USGS-R/EGRET documentation built on Nov. 20, 2024, 7:45 p.m.