As @rafael.guerra showed, the issue is with the range function. You’re probably better off using the nice : notation for ranges. Maybe try with
y = -2:0.1:2
θ = 0.1:0.1:2
As @rafael.guerra showed, the issue is with the range function. You’re probably better off using the nice : notation for ranges. Maybe try with
y = -2:0.1:2
θ = 0.1:0.1:2