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 076f436 commit 6bd1bd6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions finish-dimensionalstacking-gas_vensim_NO_policy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import matplotlib.pyplot as plt
import matplotlib as mpl
from ema_workbench import ema_logging, load_results
from ema_workbench.analysis import dimensional_stacking

ema_logging.log_to_stderr(level=ema_logging.INFO)

# load data
fn = './data/windhydrogen500.tar.gz'
x, outcomes = load_results(fn)

y = outcomes['Cumulative hydrogen production'][:, -1] > 18000

fig = dimensional_stacking.create_pivot_plot(x, y, 2, nbins=3)

plt.show()

0 comments on commit 6bd1bd6

Please sign in to comment.