One of my graphics is an output of the command of “Manipulate”, the other is a Listplot. I want to see how close the two are together, but due to the complexity of the “Manipulate”, the result shows that: Show::gcomb: Could not combine the graphics objects in Show. I tried the nomal function, and succeeded; the problem could be attributed to the “Manipulate”. How could I do it? Shall we share the ideas you’ve tried?
Hi,
Perhaps you can try to put “Show” inside “Manipulate”, see the example below:
f[x_] := a x^2;
data = Table[{-3 + 3 i 0.02, f[-3 + 3 i 0.02] /. a -> 1 }, {i, 0, 100}];
Manipulate[
Show[
Show[ListPlot[data], Plot[f[x] /. a -> A, {x, -3, 3}]]
]
, {A, 1, 2}]
I.M.
Remember that the output of the Manipulate command is not a Graphics object. The Show command requires that its arguments each have the Head Graphics or Graphics3D. The Head of a Manipulate command’s output is Manipulate.