Skip to content

Commit

Permalink
update plot axis
Browse files Browse the repository at this point in the history
  • Loading branch information
axsk committed Dec 11, 2023
1 parent 8fab238 commit 89c3b77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/benchmark.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ function paperplot()
r = @time run(b)
try
plotperf(r)
savefig("bench.png")
savefig("benchmark.png")
savefig("benchmark.pdf")
catch err
println("plotting failed with $err:")
showerr(stdout, err)
Expand Down Expand Up @@ -70,5 +71,5 @@ function plotperf(data_dict)
end
linecolor += 1
end
plot!(legend=:bottomright, xaxis=:log, yaxis=:log)
plot!(legend=:bottomright, xaxis=:log, yaxis=:log, xlabel="n", ylabel="time [s]", title="Compute time")
end
Binary file modified scripts/benchmark.pdf
Binary file not shown.
Binary file modified scripts/benchmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 89c3b77

Please sign in to comment.