Learn R Programming

PortfolioEffectHFT (version 1.7)

util_plotTheme: Plot style settings for PortfolioEffect theme

Description

Customizable plot style for PortfolioEffect color theme.

Usage

util_plotTheme(base_size = 10, base_family = "sans", horizontal = TRUE, dkpanel = FALSE, bw = FALSE, axis.text.size=1.5, title.size=2, has.subtitle = FALSE)

Arguments

base_size
Base font size.
base_family
Base font family.
horizontal
Horizontal alignment flag.
dkpanel
dkpanel flag.
bw
Black and white color scheme flag.
axis.text.size
Axis font size.
title.size
Title font size.
has.subtitle
Subtitle flag.

Value

Examples

Run this code
## Not run: 
# data(aapl.data) 
# aapl.frame=data.frame(Data=aapl.data[,2],Time=as.POSIXct(aapl.data[,1]/1000, 
# origin = "1970-01-01", tz = "America/New_York"),legend='AAPL')
# ggplot() + geom_line(data=aapl.frame, aes(x=Time,y=Data,col=legend))+
# util_plotTheme()+util_colorScheme()+util_fillScheme()
# ## End(Not run)

Run the code above in your browser using DataLab