#Creates a point plot of the roots of the (scaled) Strodt polynomial
#Note: If the polynomial were not squarefree, this would loop forever
from sage.rings.polynomial.complex_roots import complex_roots
def PlotScaledRootsP(f,a,b,n):
L=len(complex_roots(P(f,a,b,n,n*x),skip_squarefree=True))
l=[]
for j in range(L):
l.append((real(complex_roots(P(f,a,b,n,n*x),skip_squarefree=True)[j][0]).center(), imaginary(complex_roots(P(f,a,b,n,n*x),skip_squarefree=True)[j][0]).center()))
return point(l,rgbcolor=hue(1),size=30)