fix case of C
This commit is contained in:
parent
c4ca8c63d5
commit
cddfdc366e
4
ch01.jl
4
ch01.jl
@ -100,8 +100,8 @@ plot(map([:time, :size],
|
|||||||
["execution time (relative to C)",
|
["execution time (relative to C)",
|
||||||
"code size (relative to C)"]) do col, title
|
"code size (relative to C)"]) do col, title
|
||||||
df_plot = unstack(df, :problem, :language, col)
|
df_plot = unstack(df, :problem, :language, col)
|
||||||
df_plot[!, Not(:problem)] ./= df_plot.c
|
df_plot[!, Not(:problem)] ./= df_plot.C
|
||||||
select!(df_plot, Not(:c))
|
select!(df_plot, Not(:C))
|
||||||
scatter(df_plot.problem, Matrix(select(df_plot, Not(:problem)));
|
scatter(df_plot.problem, Matrix(select(df_plot, Not(:problem)));
|
||||||
labels=permutedims(names(df_plot, Not(:problem))),
|
labels=permutedims(names(df_plot, Not(:problem))),
|
||||||
ylabel=title,
|
ylabel=title,
|
||||||
|
Loading…
Reference in New Issue
Block a user