Rotated Rectangular Strip

Source code notebook

This example uses the rot keyword and should be compared to the diagstrip and the rectstrip example that uses the orient keyword.

using Plots, PSSFSS
strip = rectstrip(Nx=10, Ny=2, Px=1, Py=1, Lx=0.5, Ly=0.1, rot=45, units=cm)
p1 = plot(strip, unitcell=true, linecolor=:red)
p2 = plot(strip, rep=(3,3), linecolor=:blue)
plot(p1, p2, layout=(1,2), size=(600,300))

This page was generated using DemoCards.jl and Literate.jl.