How would one restrict the domain on a ParametricPlot
? For example, I have the following plot:
ClearAll["Global`*"]; xi = 2; k0 = 9; \[Sigma] = 2;
Show[Table[sol = NDSolve[{D[xtraj[t], t] ==
-(Sinh[2 xtraj[t]/(Cosh2 xtraj[t])), xtraj[0] == n}, xtraj[t], {t, 0, 4}];
ParametricPlot[{xtraj[t], t} /. sol, {t, 0, 4},
PlotRange -> All, PlotStyle -> {Blue, Full, Medium},
AxesStyle -> Thickness[.003],
LabelStyle -> {Black, Medium},
AxesLabel -> {xtraj, t}], {n, -4, 4 - 0.09, 0.09}]]
How can I exclude -0.1 > xtraj[t] > 0.1
?
I simply can restrict the range but not the domain?
ParametricPlot[ Evaluate[ConditionalExpression[{xtraj[t], t}, Not[-.1 <= xtraj[t] <= .1]] /. sol[[1]]], {t, 0, 4}, ...]
? $\endgroup$ParametricPlot[Evaluate[{xtraj[t], t} /. sol[[1]]], {t, 0, 4}, RegionFunction -> (Not[-.1 <= # <= .2] &), ...]
? $\endgroup$