When I run this command I don't see anything until the value of a is nearly 0.5
Animate[ RegionPlot[ y^2 < a , {x, -5, 5}, {y, -5, 5}] , {a, 0.1, 0.5}]
Same situation with Manipulate.
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityWhen I run this command I don't see anything until the value of a is nearly 0.5
Animate[ RegionPlot[ y^2 < a , {x, -5, 5}, {y, -5, 5}] , {a, 0.1, 0.5}]
Same situation with Manipulate.
Building the RegionPlot
is too slow. Use Region
along with ImplicitRegion
Clear["Global`*"]
reg[a_] = ImplicitRegion[y^2 < a, {{x, -5, 5}, {y, -5, 5}}];
Animate[
Region[reg[a], Frame -> True, PlotRange -> {-5, 5}],
{a, 0.1, 0.5}]