Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
iddie1994 authored Feb 16, 2022
1 parent c011f66 commit 954ac73
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions finish-KDovertime_gas_vensim_NO_policy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import matplotlib.pyplot as plt

from ema_workbench import ema_logging, load_results
from ema_workbench.analysis.plotting import kde_over_time

ema_logging.log_to_stderr(ema_logging.INFO)

fn = r'./data/500 gass cases no policy.tar.gz'
experiments, outcomes = load_results(fn)

# the plotting functions return the figure and a dict of axes
fig, axes = kde_over_time(experiments, outcomes, outcomes_to_show=['NG Production capacity',
'H2 Production capacity'], log=True)
plt.show()

0 comments on commit 954ac73

Please sign in to comment.