fancyRAxis: fancy R axis

Usage Arguments Examples

View source: R/fancyLaTexAxis.R

Usage

1
fancyRAxis(side = 1)

Arguments

side

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (side = 1) 
{
    text(0, 1, "")
    require("sfsmisc")
    axLabels <- axTexpr(side = side)
    axLabels[axTicks(side) == 0] <- "0"
    axis(side, at = axTicks(side), label = axLabels)
  }

tjconstant/photonMonkey documentation built on Feb. 19, 2018, 7:05 a.m.