Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6472227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:19:08+00:00 2026-05-25T06:19:08+00:00

Experts, I can’t figure out why the Manipulate expression is being evaluated 2 times

  • 0

Experts,

I can’t figure out why the Manipulate expression is being evaluated 2 times each time I click on the ‘StepRightButton’ which is part of a Trigger control.

When I click on the ‘+’ button, I see the counter going up once as expected, but the expression is being evaluated 2 times, not one time as expected. Here is a small example

Manipulate[

Show[
Graphics@Text@Row[{currentTime,"   ",Date[]}],
Plot[Sin[x],{x,-Pi,Pi}]
],

Control[{{currentTime,0,Style["run",10]},0,100,0.1,
      ControlType->Trigger,DisplayAllSteps->True,ImageSize->Tiny,
      AnimationRate->Automatic,AnimationRepetitions->0,
      AppearanceElements->{"PlayButton","PauseButton","StepRightButton","ResetButton"}}
],

ContinuousAction->False,
SynchronousUpdating->False

]

again, clicking on ‘+’ shows the ‘currentTime’ variable is being increased by the correct amount (0.1 in this example). But my question is, why is the expression being evaluated twice by the evidence that the Date[] printed can be seen to increment 2 times per each click on ‘+’ button.

This causes me problem, as I was assuming the expression will evaluate once per ‘tick’.

Is this a way to make sure the expression is evaluated once each time I click on ‘+’ once?

thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:19:09+00:00Added an answer on May 25, 2026 at 6:19 am

    This can be solved by adding the option PerformanceGoal -> "Quality" to the Plot function.

    During the display of manipulated items a lower fidelity sample of the object can be shown depending on the PerformanceGoal setting. A higher fidelity version is drawn at the end of the manipulation, if necessary. It is this later redrawing which seems to be causing the problem here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can any trig or GPS experts help me out here? I'm trying to create
Pulling my hair out with this query. Maybe some of the experts here can
java experts can you please help me write detached queries as a part of
I'm very keen to learn Iphone apps development. Can you experts give me some
Can any of the Rhino experts explain me by giving a suitable example of
It seems that StringListProperty can only contain strings up to 500 chars each, just
Hi experts i have created a set of UItableviewcustom cell classes. Now can i
I think this is a simple question for mathematica experts. How can I maximize
Are there any regex experts who can help me clean up the following source
I've been searching everywhere for this, hope some of you experts can help me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.