View source: R/mipBarYearData.R
mipBarYearData | R Documentation |
Function for plotting (bar-plot) MAgPIE objects and compare different scenarios or models, on the x-axis for some time steps one bar for each scenario/model is generated
mipBarYearData(
x,
colour = NULL,
ylab = NULL,
xlab = NULL,
title = NULL,
scenario_markers = TRUE
)
x |
Data to plot. Allowed data formats: magpie or quitte |
colour |
Dimension to be colored, default: "Scenario" |
ylab |
y-axis text |
xlab |
x-axis text |
title |
title appearing at the top of the plot |
scenario_markers |
Use markers to conserve space with long scenario
names. Symbols are either picked automatically (default), or can be
passed as a named vector in the form of
|
Lavinia Baumstark, Oliver Richters
## Not run:
plotCompBarYearData(EnInv, ylab = "Energy Investments|Elec (billion US$2005/yr)",
colour = plotstyle(getNames(EnInv, dim = 2)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.