Rdocumentation
powered by
Learn R Programming
EGRET (version 2.3.0)
yPretty: Sets up tick marks for an axis for a graph with an arithmetic scale which starts at zero
Description
Axis tick marks that run from zero to some specified maximum, creates about 4 to 8 ticks marks.
Usage
yPretty(yMax)
Arguments
yMax
A numeric value for the maximum value to be plotted, it must be >0
Value
yTicks A numeric vector representing the values for each of the tick marks
Examples
Run this code
yPretty(
7.8
)
yPretty(
125
)
Run the code above in your browser using
DataLab