迈克的建议是一个很好的建议,但如果您不想费力地将其放入数据库中,请使用ContinuousAction->False
option.
testdata =
Join[{Table[ToString[series[i-1]], {i, 1475}]},
RandomReal[{1., 100.}, {2000, 1476}]];
Manipulate[
ListLogLogPlot[testdata[[All, {1, i}]],
PlotLabel -> testdata[[1, i]]], {{i, 2, "Compound"}, 2, 1475, 1},
ContinuousAction -> False]
要获取弹出菜单,请使用{i,listofvalues}
控制器规范的语法。
Manipulate[
ListLogLogPlot[testdata[[All, {1, i}]],
PlotLabel -> testdata[[1, i]]], {i, Range[2, 1475]},
ContinuousAction -> False]
这在我的系统上运行得非常快。 (两年前的 MacBook Pro)
更高级的版本:
spec = Thread[Range[2, 1476] -> Table[ToString[series[i]], {i, 1475}]];
Manipulate[
ListLogLogPlot[testdata[[All, {1, i}]],
PlotLabel -> testdata[[1, i]]], {{i, 2, "Compound"}, spec},
ContinuousAction -> False]
如果您只想逐步浏览图像,请单击滑块控制器旁边的小加号以获得更详细的控制。