Learn R Programming

ProgGUIinR (version 0.0-4)

make_graph_icon: make an icon for type of graph

Description

Stolen from ggplot -- but this is now deprecated!

Usage

make_graph_icon(x, ...)

Arguments

x
type of graph. E.g., "boxplot", "abline", ...
...
dots

Value

a recipe to draw an icon

Examples

Run this code
##' ## Doesn't work as of ggplot2 version 0.9.2
##library(grid); grid.newpage(); grid.draw(make_graph_icon("hist"))

Run the code above in your browser using DataLab