Description Usage Arguments Value Author(s) Examples
Customizable plot style for PortfolioEffect color theme.
1 2 3 4 5 6 7 8 | 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)
|
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. |
Void
Kostin Andrey <andrey.kostin@portfolioeffect.com>
1 2 3 4 5 6 7 8 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.