ggplot.color: A color vector from ggplot.color style

View source: R/ggplot.color.R

ggplot.colorR Documentation

A color vector from ggplot.color style

Description

This function can be used to produce color vector from ggplot2.

Usage

ggplot.color(n)

Arguments

n

the number of colors.

Examples

x <- 1:10
barplot(x,col=ggplot.color(length(x)))

liuguofang/figsci documentation built on Nov. 24, 2023, 1:45 p.m.