Skip to content

Commit

Permalink
fix throughput subplot formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
prakaa committed Jan 11, 2024
1 parent 90211db commit 09cf989
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plotting/plot_throughputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ function _plot_throughputs(
for sim in selected_sims
sim_data = filter(:sim => x -> x == sim, tp_data)
(data_type, mw) = split(sim, "/")
mw = convert(Int64, parse(Float64, mw[1:end-2]))
data_type = uppercasefirst(data_type)
ax = Axis(fig[1, n]; title="$(mw)")
ax = Axis(fig[1, n]; title="$(mw) MW")
lookaheads = unique(sim_data.lookahead_minutes)
colors = [c for c in cgrad(:roma, length(lookaheads); categorical=true)]
for (i, lk) in enumerate(lookaheads)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 09cf989

Please sign in to comment.