I want make 2 subplots with 2 function plots each in a 1-row 2-columns format. Below is a minimum working example for my use case.
x = -2π:0.1:+2π y11 = sin.(x) y12 = sin.(x .+ 0.25π) y21 = cos.(x) y22 = sin.(x) .* cos.(x) plot( plot(x, y11), plot!(x, y12), plot(x, y21), plot!(x, y22) )
The result I get is with plots vertically stacked (2-row 1-column layout) as below.
How can I fix this to get subplots side-by-side?
With thanks and regards,