Learn R Programming

EGRET (version 3.0.9)

logPretty1: 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)

Value

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

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

Examples

Run this code
xMin <- 0.7
xMax <- 990000
logPretty1(xMin, xMax)
xMin <- 3
xMax <- 15
logPretty1(xMin, xMax)

Run the code above in your browser using DataLab