using Plots
Plots.mesh3d([1,2,2,1],[1,1,1,1],[1,1,2,2],
connections=[(1,2,3,4)],
linecolor=:black)
Plots.mesh3d!([1,2,2,1],[1.1,1.1,1.1,1.1],[1,1,2,2],
connections=[(1,2,3,4)],
linecolor=:black)
Despite my research, I cannot find a way to have the orange square behind the blue one as we would see them in perspective. Plotting every shape in a single Plots.meshd3d()
line of code does not solve the problem (that means, without the additional Plots.mesh3d!()
)
Changing the order in which I plot the shapes is not a solution, as I have to plot complicated details with a lot of shapes.