I have the following code:
Clear["Global`*"]
K1 = 12;
K3 = 195/10;
eo = 885/100;
ea = 145/10;
L = 1;
ele[E2_] = -(1/(2 K3)) L (E2^2 ea eo Sin[2 g[z]] - (K1 - K3) Sin[
2 g[z]] g'[z]^2 + (K1 + K3 + (K1 - K3) Cos[2 g[z]]) g''[z]) //
Simplify
pnd = ParametricNDSolveValue[{ele[E2] == 0, g[0] == 0, g[L] == 0},
g, {z, 0, L}, {E2, gp0},
Method ->
"BoundaryValues" -> {"Shooting",
"StartingInitialConditions" -> {g[0] == 0, g'[0] == gp0}}]
Plot[Evaluate@Table[pnd[E2, gp0][z], {gp0, 0, 15, 0.05}, {E2, 0, 2}],
{z, 0, L},
PlotRange -> All]
the output is:
I want to have only the plots with circles (I edit the output and put the circles just to indicate what I want) such as for values=0 or values>0 for {z=0,1} and store it in another table.
I tried to run a if statement on the
aa=Evaluate[Table[pnd[E2, gp0][z], {gp0, 0, 15, 0.05}, {E2, 0, 2}],
{z, 0, L}]
such that for aa >=0 from {z=0,L} it can store in an another table.
I want the data series, in a table, for only those curves which lie entirely above the x-axis
z, pnd
? Which conditions define these circles? $\endgroup$PlotRange->{0,Automatic}
gives what you're looking for? $\endgroup$