I have to plot the Electrical Field of half infinity charged plates.
The mathematical Function to this is:
Efeld[x_, z_] := {\[Sigma] (Log[x^2 + (z - d)^2] - Log[x^2 + (z + d)^2]), \[Sigma] (\[Pi] Sign[z - d] + 2 ArcTan[x/(z - d) ] - \[Pi] Sign[z + d] - 2 ArcTan[x/(z + d) ])} This are my StreamPlots:
strp = Table[{y, 0}, {y, -5, 7, .5}]; additionalstrp = Join[strp, {{6.`, 4.8}, {6.`, 5.6}, {6.`, 6.4}, {6.`, 7.15}, {6.`, 7.9}, {6.8`, 8}, {6.`, -4.8}, {6.`, -5.6}, {6.`, -6.4}, {6.`, -7.15}, {6.`, -7.9}, {6.8`, -8}, {-4.5`, 7.6}, {-4.9`, 8.}, {-4.5`, -7.6}, {-4.9`, -8.}, {0.125, \[Pi]}}]; This are some Parameters:
plotsizeminx := 5 plotsizemaxx := 7 plotsizeminy := 8.5 plotsizemaxy := 8.5 This is the Plot:
strplot =StreamPlot[ Efeld[-x, -y] /. {\[Sigma] -> 1, d -> \[Pi]}, {x, -plotsizeminx, +plotsizemaxx}, {y, -plotsizeminy, plotsizemaxy}, Epilog -> {Black, Thickness[0.01], Line[{{-plotsizeminx, Pi}, {0, Pi}}], Line[{{-plotsizeminx, -Pi}, {0, -Pi}}]}, StreamScale -> None, StreamStyle -> {Thickness[0.002], Black}, StreamPoints -> additionalstrp, PlotRangePadding -> -0.3, AspectRatio -> 1/1.5] This is picture of the plot:
As you can see i have highligted some areas where the streaming arrows stop "too early".
Mainly i defined the Streampoints depending on the horizontal symmetry axis, so that it looks simular to another picture.
Even tho i have definde the StreamPoints by myself i do not have enough control to get rid of this "gaps" at the and of a "StreamLine".
Do you have any Idea how to get rid of this gaps.
Thank you.
