3

For this kind of presentation which data and graphic are static (doesn't change), I suggest TabView: Initials: covid = ResourceData["Epidemic Data for Novel Coronavirus COVID-19", "WorldCountries"]; cAsia = {"Kazakhstan", "Kyrgyzstan", "Tajikistan", "Turkmenistan", "Uzbekistan"}; ...


3

Use InputForm to examine the output of your code, not just how it formats: (*In*) InputForm @ Block[{G}, G[x_] := x; DynamicModule[{x}, Manipulate[G @ x, {{x, -1}, -1, 1}]] ] (*Out*) DynamicModule[{x}, Manipulate[G[x], {{x, -1}, -1, 1}], DynamicModuleValues :> {}] You see that the Block evaluated and returned a DynamicModule, as should be ...


3

You can use a different construction to create multiple Locators: Manipulate[ Graphics[Circle[], PlotRange -> 2], {{pt, {{0, 1}, {1, 0}}}, Locator, TrackingFunction -> (p |-> { pt[[1]] = Normalize[p[[1]]], pt[[2]] = p[[2]]/Max[Norm[p[[2]]], 1]} )}] In this case, pt is a list of the locations of each Locator. Our ...


2

Manipulate[list, {{ele, 1}, Range[5], TrackingFunction -> (ele = #; AppendTo[list, ele]; &)}, {{list, {ele}}, None}]


1

This might be what you're looking for: f[n_, c_]:=With[ { expr = Table[Symbol[c<>ToString[i]] x^i,{i,n}], controls = Sequence@@Table[{Symbol[c<>ToString[i]], 0, 1}, {i, n}] }, Manipulate[Plot[expr, {x, 1, 3}], controls] ] f[3, "a"] will then give you a manipulate with a1, a2, a3.


Only top voted, non community-wiki answers of a minimum length are eligible