Last data update: 2014.03.03

R: add_colorbar
add_colorbarR Documentation

add_colorbar

Description

add colorbar legend

Usage

add_colorbar(p, color, x = NULL, ymin = NULL, ymax = NULL,
  font.size = 4)

Arguments

p

tree view

color

output of scale_color function

x

x position

ymin

ymin

ymax

ymax

font.size

font size

Value

ggplot2 object

Author(s)

Guangchuang Yu

Results