I have asked this question before (here) and I thought that the issue is only when moving the Notebook window.
It appears that Manipulate is working in weird manner.
data = RandomReal[100, {10000, 10}];
Manipulate[
Grid[{{RandomReal[100]}, {ListPlot[data[[;; , i]],
PlotLabel -> RandomReal[100], ImageSize -> 400,
PlotStyle -> Hue[RandomReal[1]]]}}], {i, 1, 10, 1}]
Manipulate updates its argument twice even if the window is static without moving.
This is really creates a big problem for me and all codes done in V9 are very slow running in V10.
Any help will be highly appreciated.
Update:
the suggested solution by Sjoerd C. de Vries works in this case but not in general as shown in this example:
Manipulate[
a = Log[i];
Grid[{{RandomReal[100]}, {ListPlot[a data[[;; , i]],
PlotLabel -> RandomReal[100], ImageSize -> 400,
PlotStyle -> Hue[RandomReal[1]],
PerformanceGoal -> "Quality"]}}], {i, 2, 10, 1}]
Thank you
Comments
Post a Comment