Skip to content

Commit

Permalink
plot fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Sep 25, 2023
1 parent f9a92a8 commit e834d67
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions post_processing/plot_scaling_results.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using CairoMakie
using JLD2

job_id = ARGS[1]
output_dir = "./"

secs_per_hour = 60 * 60
Expand Down Expand Up @@ -89,7 +88,8 @@ ax1 = Axis(
xgridvisible = true,
ygridvisible = false,
)
scatterlines!(ax1, nprocs_clima_atmos, sypd_clima_atmos)
scatterlines!(nprocs_clima_atmos, sypd_clima_atmos)
# Plot a second axis to display tick labels clearly
ax1 = Axis(
fig[1, 1],
yaxisposition = :right,
Expand All @@ -103,15 +103,7 @@ ax1 = Axis(
yscale = log10,
ytickformat = "{:.2f}",
)
hlines!(
ax1,
sypd_clima_atmos,
xscale = log10,
yscale = log10,
color = :gray,
alpha = 0.5,
linestyle = :dash,
)
scatterlines!(nprocs_clima_atmos, sypd_clima_atmos)

ax2 = Axis(
fig[2, 1],
Expand Down

0 comments on commit e834d67

Please sign in to comment.