Skip to content

axes on time-series plots #12

@tverbeke

Description

@tverbeke

The following code uses the internal numerical representation of the dates (of class Date) rather than annotating the axes using e.g. the year in this case

library(imp.lattice)
x11()
.impenv$backend <- graphics_primitives
data(economics, package = "ggplot2")
p <- xyplot(uempmed ~ date, data = economics,
            pch = 19, xlab = "date", ylab = "uempmed") + ypanel.lines()
p

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions