I want to show the solutions of polynomial equations $P_n(x)=y$.
For example, let $P_5(x)=x^5+x^4+x^3+x^2+1=y\ ,\;y\in[-10,10]$,
sol[i_,j_]:=Join[#,{i}]&/@ReIm[x/.NSolve[x^5+x^4+x^3+x+1==i+j I]];
p=Graphics3D[{Opacity[0.25],InfinitePlane[{{0,0,1},{1,0,1},{1,0,0}}]}];
gifs=Table[Show[
ListPointPlot3D[Flatten[Table[sol[i,0],{i,-10,10,0.1}],1],
BoxRatios->{1,1,1},AxesOrigin->{0,0,0},Boxed->False,
ViewPoint->{2Sin[t],2Cos[t],1.5}],p],
{t,0,2Pi,0.1}];
Export["poly5.gif",gifs, "AnimationRepetitions"->Infinity]
Oh...terrible, the image is constantly shaking, at least the origin point should be fixed.
Secound, I want to get the curves instead of points, $n$ curves when $P_n(x)$. I can only get points if I use NSolve.
Then I can dye according to their distance from the plane, I mean real plane XoY, the distance equal to imaginary part.
And if the curve on that plane, use special colour like red. If the curve just cross the plane, also highlight that point red.







SphericalRegion -> True? – Michael E2 Dec 11 '17 at 12:06