Message Boards Message Boards

Problem with Manipulante

Posted 10 years ago

Hello, I would show a mooving point alone (successive positions) and then show the evolving trajectory of this point. All this I could do many years ago with version 5.2 ( !!) ; I am used to Manipulate and never faced problems when animating objects (even heavy ones). But my code produces no animation. Could someone help me to find what is lacking. Please see the attached nb.

Thank you very much.

R.K.

Attachments:
POSTED BY: Richard KAUSCH
2 Replies
Posted 10 years ago

I was given the solution. It is enough to force all successive images to be in the same unique domain by adding a common PlotRange :

Manipulate[ Show[point[0, j], PlotRange -> {{-1, 1}, {-1, 1}}], {j, 0, 50, 1}] (See attached notebook)

POSTED BY: Richard KAUSCH
Posted 10 years ago

Maybe this example from "AutoCreate" in the documentation will put you on the right track? You could use Point i.0 Line and hide the locators with Appearance->None

Manipulate[
 Graphics[{Line[u]}, PlotRange -> 2], {{u, {{-1, -1}, {1, 1}}}, 
  Locator, LocatorAutoCreate -> True}]

enter image description here

POSTED BY: Erik Mahieu
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract