A gap appears at the locations of Exclusions at t=1,t=1+t0 when the top slider for t0 is set to Play. How can these gaps be avoided or filled in?
Manipulate[
y[t_, t0_] := 1/(1 - (t - t0));
y0[x_] := y[x, 0];
yT[x_] := y[x, t0];
Plot[{y0[t], yT[t]}, {t, -3, 7},
Exclusions -> {t == 1, t == 1 + t0},
PlotStyle -> {{Thick, Black}},
PlotRange -> {0, 3},
Frame -> True,
Axes -> False,
ImageSize -> 1.2 {500, 330},
BaseStyle -> {FontSize -> 16},
FrameLabel -> {t, x},
RotateLabel -> False,
PlotRangePadding -> {{2, 0}, {.1, .1}},
Epilog -> {PointSize[0.015], Red, Dashed,
Line[{{-4, y0[s]}, {s, y0[s]}}],
Point[{{-4, y0[s]}, {s, y0[s]}, {s + t0, yT[s + t0]}}],
Black, Dashing[{}], Line[{{-4, 0}, {-4, 3}}],
Red, Point[{-4, y1[s]}],
Black, Arrowheads[.03], Arrow[{{-4, 3}, {-4, 3.1}}],
Red, Dashing[{}], Line[{{s, y0[s]}, {s + t0, yT[s + t0]}}]}],
{{t0, 2}, -2, 5, 0.01},
{{s, 0}, -2, 0.67, 0.01}
]
Exclusions
independent of the other. Why don't you use toPlot
command and combine the results withShow
? You might also try theTrackedSymbols -> {t0,s}
in yourManipulate
command. Finally, with 9 questions now asked, I think it would be reasonable for you to properly format your code - it's just a matter of indenting your code block four spaces. $\endgroup$Point[{-4, y1[s]}]
, buty1
is not defined. $\endgroup$