Drawing using code below
p = scatter(; title = "a", titlefont=font(12),
xlabel = "message size",
xscale = :log10, xlims, xticks, ylabel = "time [sec]",
ylims, yscale = :log10, legend=:outertopright,
left_margin=15Plots.mm, bottom_margin=15Plots.mm,
guidefont=font(8), xtickfont=font(5),
width=2000,height=2000, legend_margin=5,
legendfont=font(5))
scatter!( p, data1[:, 1], data2[:, 5],
color=colors[index], ma=0.9 )
The legends is going outside of the plot. How to avoid it or increase the size of whole graph.
data1 = [0,4,8,16, ,32 ,64 ,128 ,256 ,512 ,1024 ,2048 ,4096 ,8192 ,16384 ,32768 ,65536 ,131072 ,262144 ,524288 ,1048576 ,2097152 ,4194304]
data2=[3.08E-06 ,6.20E-06 ,6.26E-06 ,3.75E-05 ,4.36E-05 ,4.37E-05 ,4.52E-05 ,4.70E-05 ,5.58E-05 ,5.83E-05 ,6.67E-05 ,8.77E-05 ,0.000134397 ,0.000229329 ,0.000424682 ,0.000868432 ,0.00035778 ,0.000452593 ,0.000561347 ,0.000750234 ,0.001281027 ,0.002102504]